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

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

Commit 8836c85f2d1c44959bafc5ba8c435451d838ac17 in branch refs/heads/4.1 from 
[~mlsorensen]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8836c85 ]

CLOUDSTACK-2173: Don't do KVM heartbeat on secondary storage sources, primary 
only

The KVM HA runner uses any NFS secondary storage resource available to a
host to store it's HA data. This causes template deletes to fail because
it cannot delete KVMHA, which is a directory that is not empty. So if
KVMHA directory is found, delete it's contents before trying to delete
it.

Tested with a new 4.1 zone deployment. Verified bug was reproducable
with 4.1 HEAD, applied patch, ran through adding two NFS primary
storages, verified KVM heartbeat was working on them, then ran various
secondary storage operations (register template, download volume, take
snapshot) and verified that they worked, and that KVM heartbeat
operations were NOT acting on them.

Signed-off-by: Chip Childers <[email protected]>

                
> template/volume cleanup fails when KVM HA monitor is used
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-2173
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2173
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Marcus Sorensen
>            Assignee: Marcus Sorensen
>             Fix For: 4.1.0, 4.2.0
>
>
> the KVM HA runner uses any NFS secondary storage resource available to a host 
> to store it's HA data. This causes template deletes to fail because it cannot 
> delete KVMHA, which is a directory that is not empty.
> 2013-04-24 15:04:13,724 DEBUG [agent.manager.AgentManagerImpl] 
> (StorageManager-Scavenger-1:null) Details from executing class 
> com.cloud.agent.api.storage.DeleteTemplateCommand: Unable to delete file 
> KVMHA under Template path 
> template/tmpl/2/205//56675860-3040-36f4-95c2-4115336f7c1a.qcow2

--
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

Reply via email to