You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Bharat Kumar (JIRA)" <ji...@apache.org> on 2014/10/22 07:40:33 UTC

[jira] [Updated] (CLOUDSTACK-7760) Data disk size is not considering for primary storage resource limit check

     [ 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)