[ https://issues.apache.org/jira/browse/CLOUDSTACK-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620193#comment-13620193 ]
ASF subversion and git services commented on CLOUDSTACK-1846: ------------------------------------------------------------- Commit 3541aa86e34605e5ac4a99df84c47e6f6e7c71ee in branch refs/heads/4.0 from Chip Childers <chip.child...@gmail.com> [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3541aa8 ] CLOUDSTACK-1846, CLOUDSTACK-1845 - KVM Storage, sometimes KVMHA will remount deleted NFS pools, causing failures when defining new storage pools. Sometimes a storage pool has never been used on a host, and getStoragePool fails when copying templates or in storage migration. deleteStoragePool(pool) often fails silently, leaving no pool defined in libvirt, but a mountpoint left behind. This patch handles some of these exceptions and brings forward any issues via logging. Signed-off-by: Chip Childers <chip.child...@gmail.com> > KVM - storage pools can silently fail to be unregistered, leading to failure > to register later > ---------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1846 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1846 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM > Affects Versions: 4.0.2, 4.1.0, 4.2.0 > Reporter: Marcus Sorensen > Assignee: Marcus Sorensen > Priority: Critical > Fix For: 4.0.2, 4.1.0, 4.2.0 > > > This is a placeholder, I have a fix. > A specific deleteStoragePool method attempts to delete a libvirt storage > pool, but failures are silently ignored (for example failure to unmount NFS > pool because it's in use). Later, when pools are registered, they can fail to > register because the mountpoint is in use. Part of my fix is to expose/log > failures, and the other part is an attempt to handle the failures. -- 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