[
https://issues.apache.org/jira/browse/CLOUDSTACK-7653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153025#comment-14153025
]
ASF subversion and git services commented on CLOUDSTACK-7653:
-------------------------------------------------------------
Commit f1e3e83bbf763860dd33a18c36618b4714bf0dbe in cloudstack's branch
refs/heads/master from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f1e3e83 ]
BUG-ID: CLOUDSTACK-7653. VM's are not getting deleted from hypervisor after
deleting from UI when using zone wide primary storage.
While expunging a volume, CS chooses the endpoint to perform delete operation
by selecting any host that has the storage containing the volume mounted on it.
Instead, if the volume to be deleted is attached to a VM, the endpoint chosen
by CCP should be the host that contains the VM.
> VM's are not getting deleted from hypervisor after deleting from UI when
> using zone wide primary storage
> --------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7653
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7653
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Storage Controller, VMware
> Affects Versions: 4.5.0
> Reporter: Likitha Shetty
> Assignee: Likitha Shetty
> Priority: Critical
> Fix For: 4.5.0
>
>
> +Root Cause Analysis+
> While expunging a volume, CS chooses the endpoint to perform delete operation
> on the hypervisor host by selecting any host that has the storage containing
> the volume mounted on it. In case of zone-wide primary storage since every
> host present in the zone will have the storage mounted a random will be
> chosen. But if it is not the host that is in the cluster that contains the
> VM, then the VM will not be deleted from the hypervisor.
> +Steps to reproduce+
> 1. Setup a VMware DC with 2 clusters and a zone-wide primary storage.
> 2. Deploy many VMs (since this issue will only be seen intermittently i.e.
> the random endpoint chosen doesn't contain the VM).
> 3. Call expunge for all VMs.
> 4. 1 or more VMs should still be present on the host in stopped state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)