[
https://issues.apache.org/jira/browse/CLOUDSTACK-9668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787058#comment-15787058
]
ASF GitHub Bot commented on CLOUDSTACK-9668:
--------------------------------------------
Github user koushik-das commented on the issue:
https://github.com/apache/cloudstack/pull/1844
LGTM. Unit tests?
> disksizeallocated of PrimaryStorage is different from the total size of a
> volume
> --------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9668
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9668
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.9.0
> Reporter: Sudhansu Sahu
> Assignee: Sudhansu Sahu
>
> Disksizeallocated of PrimaryStorage is different from the total size of a
> volume.
> steps to reproduce:
> 1. create another primary storage( apart from default) with storage tag (say
> tag1)
> 2. create a disk offering with storage tag as that step1.
> 3. create a data disk with above disk offering.
> 4. attach the disk to vm.
> 5. when capacity checker thread runs it will update the used_capacity. Note
> down the op_host_capacity details for pool created in step1.
> 6. detach the disk and destroy the volume.
> 7. when capacity checker thread runs it will not update the used_capacity to
> 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)