Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8889

Primary Storage count for an account does not decrease when a Data Disk is deleted belonging to the account unless the VM to which volume belonged is destroyed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.2, 4.6.0
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Create an account, deploy a VM in it
      2. Create a data disk and attach to VM
      3. Check the primary storage count for the account with listAccounts API
      4. Delete the Data disk
      5. Check the primary storage count for the account with listAccounts API - It is the same as before deleting the data disk

      It should decrease when data disk is deleted.

      Now delete the VM. You can see the primary storage count is decreased by (root volume size + data disk size)

      Primary Storage Limits test cases are failing due to this.
      testReport/junit/integration.component.test_ps_limits/TestVolumeLimits/test_create_multiple_volumes_1_root_domain_admin/

        Attachments

          Activity

            People

            • Assignee:
              rajanik Rajani Karuturi
              Reporter:
              rajanik Rajani Karuturi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: