[
https://issues.apache.org/jira/browse/CLOUDSTACK-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
edison su resolved CLOUDSTACK-5065.
-----------------------------------
Resolution: Fixed
How to verify the issue:
Without the fix, on the kvm host, it will call managesnapshot.sh to take
snapshot if the primary storage is NFS.
With the fix: it will call libvirt's api to create snapshot, you will see log
message s, like: <domainsnapshot>, in agent.log
> KVM snapshot doesn't take VM snapshot if the VM is running
> ----------------------------------------------------------
>
> Key: CLOUDSTACK-5065
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5065
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.0.0
> Reporter: edison su
> Assignee: edison su
> Priority: Blocker
> Fix For: 4.2.1
>
>
> Due to this line in kvmstorageprocessor:
> if (state == DomainInfo.DomainState.VIR_DOMAIN_RUNNING &&
> !primaryStorage.isExternalSnapshot()) {
> Right now, only primary storage type is filesystem(a.k.a local storage), then
> take vm snapshot, otherwise, always take volume snapshot, which is not
> working for the default kvm binary.
--
This message was sent by Atlassian JIRA
(v6.1#6144)