Sailaja Mada created CLOUDSTACK-3189:
----------------------------------------

             Summary: Primary storage usage is not getting decremented after 
deleting the DATA volumes 
                 Key: CLOUDSTACK-3189
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3189
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Storage Controller
    Affects Versions: 4.2.0
            Reporter: Sailaja Mada
            Assignee: Sanjay Tripathi
            Priority: Blocker


Steps:

1. Deploy instance using user account
2. Add new DATA volume  
3. List Primary storage usage using listAccounts - It has all the usage details 
4. Delete the DATA volume 
5. Tried to get the Primary storage usage using listAccounts

Observation :
Primary storage usage is not getting decremented after deleting the DATA 
volumes . 

1. Two instances with 2 GB each + 1 DATA volume of 5 GB ( Total 9GB) 

<primarystoragelimit>200</primarystoragelimit>
<primarystoragetotal>9</primarystoragetotal>
<primarystorageavailable>191</primarystorageavailable>

2. Delete DATA Volume of 5 GB and Instance ROOT of 2 GB ( Total 7 GB should 
have got decremented (198 GB) . But its decremented only for the ROOT volume of 
2 GB and not for DATA volume. (193 GB)

<primarystoragelimit>200</primarystoragelimit>
<primarystoragetotal>7</primarystoragetotal>
<primarystorageavailable>193</primarystorageavailable>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to