You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/04/01 21:57:15 UTC

[jira] [Commented] (CLOUDSTACK-1846) KVM - storage pools can silently fail to be unregistered, leading to failure to register later

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619096#comment-13619096 ] 

ASF subversion and git services commented on CLOUDSTACK-1846:
-------------------------------------------------------------

Commit eed4d2d92e44b5b308e6d395f7813f31215a3833 in branch refs/heads/4.1 from Chip Childers <ch...@gmail.com>
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=eed4d2d ]

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: Marcus Sorensen <ma...@betterservers.com> 1364603486 -0600

                
> 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