cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Tutkowski (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-8985) Deleted volume's removed column not updated
Date Thu, 22 Oct 2015 18:16:27 GMT
Mike Tutkowski created CLOUDSTACK-8985:

             Summary: Deleted volume's removed column not updated
                 Key: CLOUDSTACK-8985
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.6.0
         Environment: All
            Reporter: Mike Tutkowski
             Fix For: 4.6.0

Note: Relates to managed storage only.

Due to the fact that a volume does not enter the "Expunged" state until after a callback method
is invoked (which happens after the plug-in is notified to delete the volume in question),
the current getUsedBytes implementation (in SolidFirePrimaryDataStoreDriver) was assuming
the volume just deleted would not be included in the used-byte count calculation.

The fact that the code does try to count this volume in the used-byte count calculation leads
to an exception being thrown and the removed column not being updated.

This message was sent by Atlassian JIRA

View raw message