cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sadhu suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5393) [Automation] Failed to create snapshot from ROOT volume in KVM
Date Mon, 30 Dec 2013 11:00:52 GMT

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

sadhu suresh commented on CLOUDSTACK-5393:
------------------------------------------

not seen this issue in 4.3 recent builds(last Friday pulled the code and tested  on dev setup)
 ,able to create snapshot on root volume successfully on 4.3 branch.will check on 4.2 branch
cenos6.2(KVM),4.3
primary :nfs


1) Created advanced zone in KVM
2) Deployed  VM, enabled the kvm snaphot  option in global configuration &restart the
MS 
3 ) Once MS is up,Stop the running  VM
4 ) Create snapshot from root volume
snapshot was successful.




> [Automation] Failed to create snapshot from ROOT volume in KVM
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5393
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5393
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Snapshot
>    Affects Versions: 4.3.0
>         Environment: KVM (RHEL 6.3)
> Branch : 4.3
>            Reporter: Rayees Namathponnan
>            Assignee: Min Chen
>            Priority: Critical
>             Fix For: 4.3.0
>
>         Attachments: agent1.rar, agent2.rar, management-server.rar, ssvm.rar
>
>
> Steps to reproduce 
> 1) Create advanced zone in KVM
> 2) Deploy VM 
> 3 ) Stop VM 
> 4 ) Create snapshot from root volume
> Snapshot creation failed with below exception
> 2013-12-05 15:39:44,194 DEBUG [c.c.a.t.Request] (Job-Executor-64:ctx-1b710e00 ctx-3cf3df4e)
Seq 1-1244399478: Received:  { Ans: , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: 10,
{ CreateObjectAnswer } }
> 2013-12-05 15:39:44,284 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (Job-Executor-64:ctx-1b710e00
ctx-3cf3df4e) copyAsync inspecting src type SNAPSHOT copyAsync inspecting dest type SNAPSHOT
> 2013-12-05 15:39:44,332 DEBUG [c.c.a.t.Request] (Job-Executor-64:ctx-1b710e00 ctx-3cf3df4e)
Seq 2-332864214: Sending  { Cmd , MgmtId: 29066118877352, via: 2(Rack2Host12.lab.vmops.com),
Ver: v1, Flags: 100011, [{"org.apache.cl
> oudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"/mnt/fff90cb5-06dd-33b3-8815-d78c08ca01d9/a44ddf93-9fa2-497f-aff6-cf4951128215/8f7d268f-1a96-4d70-9c48-cb7f6cc935a8"
> ,"volume":{"uuid":"a44ddf93-9fa2-497f-aff6-cf4951128215","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","id":1,"poolType":"NetworkFilesyst
> em","host":"10.223.110.232","path":"/export/home/rayees/SC_QA_AUTO4/primary","port":2049,"url":"NetworkFilesystem://10.223.110.232//export/home/rayees/SC_QA_AUTO4/primary/?ROLE=Primary&STOREUUID=fff90cb5-06dd-33b3-8815-d78c08
> ca01d9"}},"name":"ROOT-919","size":8589934592,"path":"a44ddf93-9fa2-497f-aff6-cf4951128215","volumeId":988,"vmName":"i-2-919-QA","accountId":2,"format":"QCOW2","id":988,"deviceId":0,"hypervisorType":"KVM"},"parentSnapshotPath
> ":"/mnt/fff90cb5-06dd-33b3-8815-d78c08ca01d9/a44ddf93-9fa2-497f-aff6-cf4951128215/d43b61bc-4ade-4753-b1d9-c0398388147d","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/rayees/SC_QA_AUTO4/primary","port":2049,"url":"NetworkFilesystem://10.223.110.232//export/home/rayees/SC_QA_AUTO4/primary/?ROLE=Primary&STOREUUID=fff90cb5-06dd-33b3-8815-d78c08ca01d9"}},"vmName":"i-2-919-QA","name":"QA-eb54bbfa-12d5-49b5-808f-864dddedc1fd_ROOT-919_20131205233943","hypervisorType":"KVM","id":54,"quiescevm":false}},"destTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/988","volume":{"uuid":"a44ddf93-9fa2-497f-aff6-cf4951128215","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"fff90cb5-06dd-33b3-8815-d78c08ca01d9","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/rayees/SC_QA_AUTO4/primary","port":2049,"url":"NetworkFilesystem://10.223.110.232//export/home/rayees/SC_QA_AUTO4/primary/?ROLE=Primary&STOREUUID=fff90cb5-06dd-33b3-8815-d78c08ca01d9"}},"name":"ROOT-919","size":8589934592,"path":"a44ddf93-9fa2-497f-aff6-cf4951128215","volumeId":988,"vmName":"i-2-919-QA","accountId":2,"format":"QCOW2","id":988,"deviceId":0,"hypervisorType":"KVM"},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary","_role":"Image"}},"vmName":"i-2-919-QA","name":"QA-eb54bbfa-12d5-49b5-808f-864dddedc1fd_ROOT-919_20131205233943","hypervisorType":"KVM","id":54,"quiescevm":false}},"executeInSequence":false,"wait":21600}}]
}
> 2013-12-05 15:39:44,501 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-3ac54662) Seq 1-1244399477:
Received:  { Ans: , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer
} }
> 2013-12-05 15:39:44,900 DEBUG [c.c.a.t.Request] (AgentManager-Handler-1:null) Seq 2-332864214:
Processing:  { Ans: , MgmtId: 29066118877352, via: 2, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"/usr/share/cloudstack-common/scripts/storage/qcow2/managesnapshot.sh:
line 178: 26840 Floating point exception(core dumped) $qemu_img convert -f qcow2 -O qcow2
-s $snapshotname $disk $destPath/$destName &>/dev/nullFailed to backup 8f7d268f-1a96-4d70-9c48-cb7f6cc935a8
for disk /mnt/fff90cb5-06dd-33b3-8815-d78c08ca01d9/a44ddf93-9fa2-497f-aff6-cf4951128215 to
/mnt/ffdee37d-66e9-371d-8e6e-dee20b7f7433/snapshots/2/988","wait":0}}] }
> 2013-12-05 15:39:44,900 DEBUG [c.c.a.t.Request] (Job-Executor-64:ctx-1b710e00 ctx-3cf3df4e)
Seq 2-332864214: Received:  { Ans: , MgmtId: 29066118877352, via: 2, Ver: v1, Flags: 10, {
CopyCmdAnswer } }
> 2013-12-05 15:39:44,914 DEBUG [c.c.s.s.SnapshotManagerImpl] (Job-Executor-64:ctx-1b710e00
ctx-3cf3df4e) Failed to create snapshot
> com.cloud.utils.exception.CloudRuntimeException: /usr/share/cloudstack-common/scripts/storage/qcow2/managesnapshot.sh:
line 178: 26840 Floating point exception(core dumped) $qemu_img convert -f qcow2 -O qcow2
-s $snapshotname $disk $destPath/$destName &>/dev/nullFailed to backup 8f7d268f-1a96-4d70-9c48-cb7f6cc935a8
for disk /mnt/fff90cb5-06dd-33b3-8815-d78c08ca01d9/a44ddf93-9fa2-497f-aff6-cf4951128215 to
/mnt/ffdee37d-66e9-371d-8e6e-dee20b7f7433/snapshots/2/988
>         at org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSnapshot(SnapshotServiceImpl.java:275)
>         at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.backupSnapshot(XenserverSnapshotStrategy.java:135)
>         at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.takeSnapshot(XenserverSnapshotStrategy.java:294)
>         at com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(SnapshotManagerImpl.java:951)
>         at sun.reflect.GeneratedMethodAccessor808.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy161.takeSnapshot(Unknown Source)
>         at org.apache.cloudstack.storage.volume.VolumeServiceImpl.takeSnapshot(VolumeServiceImpl.java:1341)
>         at com.cloud.storage.VolumeApiServiceImpl.takeSnapshot(VolumeApiServiceImpl.java:1408)
>         at sun.reflect.GeneratedMethodAccessor807.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy233.takeSnapshot(Unknown Source)
>         at org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd.execute(CreateSnapshotCmd.java:181)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
>         at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:520)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> :
>  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message