[
https://issues.apache.org/jira/browse/CLOUDSTACK-7760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338650#comment-14338650
]
ASF subversion and git services commented on CLOUDSTACK-7760:
-------------------------------------------------------------
Commit 10bb8af343c99e2b1fd00d1560714ce7f7ee4318 in cloudstack's branch
refs/heads/4.4 from [~bharat.kumar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=10bb8af ]
CLOUDSTACK-7760 Data disk size is not considering for primary storage resource
limit check
> Data disk size is not considering for primary storage resource limit check
> --------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7760
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7760
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.5.0
> Reporter: Bharat Kumar
> Assignee: Bharat Kumar
> Fix For: 4.5.0
>
>
> During VM deployment and while choosing CUSTOM disk offering for data disk,
> the size of the data disk is not considered for checking resource limit of
> primary storage.
> size += _diskOfferingDao.findById(diskOfferingId).getDiskSize();
> _resourceLimitMgr.checkResourceLimit(owner, ResourceType.primary_storage, new
> Long (size));
> getDiskSize() method returns 0 in case of custom disk offering.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)