[ https://issues.apache.org/jira/browse/CLOUDSTACK-7760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharat Kumar updated CLOUDSTACK-7760: ------------------------------------- Status: Reviewable (was: In Progress) > 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)