[jira] [Updated] (CLOUDSTACK-6551) [Automation] Failed to revert vm snapshot in xen

2014-05-05 Thread Koushik Das (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koushik Das updated CLOUDSTACK-6551:


Assignee: Harikrishna Patnala  (was: Koushik Das)

 [Automation] Failed to revert vm snapshot in xen 
 -

 Key: CLOUDSTACK-6551
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6551
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Snapshot, XenServer
Affects Versions: 4.4.0
 Environment: Xen 6.2
 build 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Harikrishna Patnala
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.rar


 Steps to reproduce 
 Step 1) Create advanced zone on xen 
 Step 2)  Deploy a vm 
 Step 3) create vm snapshot without memory 
 step 4) revert the snapshot 
 Result 
 Revert snapshot failed with below exception 
 2014-05-01 06:22:19,439 DEBUG [c.c.n.NetworkModelImpl] 
 (Work-Job-Executor-32:job-541/job-542 ctx-52a5f490) Service SecurityGroup is 
 not supported in the network id=241
 2014-05-01 06:22:19,464 DEBUG [c.c.a.t.Request] 
 (Work-Job-Executor-32:job-541/job-542 ctx-52a5f490) Seq 
 2-5867345889533626796: Sending  { Cmd , MgmtId: 6631563722783, via: 
 2(Rack1Pod1Host15), Ver: v1, Flags: 100011, 
 [{com.cloud.agent.api.RevertToVMSnapshotCommand:{reloadVm:false,volumeTOs:[{uuid:ee4093bf-e6f0-49e3-be37-3b5c05fd6845,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:cb8c6c62-71ea-3269-94b9-b1c0a4055d45,id:3,poolType:NetworkFilesystem,host:10.147.28.8,path:/vol/dgVol/automation/adv/pri_3,port:2049,url:NetworkFilesystem://10.147.28.8/vol/dgVol/automation/adv/pri_3/?ROLE=PrimarySTOREUUID=cb8c6c62-71ea-3269-94b9-b1c0a4055d45}},name:ROOT-77,size:21474836480,path:75f283c8-db97-4b95-96c2-72d981bc7f0c,volumeId:83,vmName:i-2-77-VM,accountId:2,format:VHD,id:83,deviceId:0,hypervisorType:XenServer}],target:{id:3,snapshotName:i-2-77-VM_VS_20140501005100,type:Disk,createTime:139890546,current:true,description:Test
  ,quiescevm:true},vmName:i-2-77-VM,guestOSType:CentOS 5.6 
 (64-bit),wait:0}}] }
 2014-05-01 06:22:19,464 DEBUG [c.c.a.t.Request] 
 (Work-Job-Executor-32:job-541/job-542 ctx-52a5f490) Seq 
 2-5867345889533626796: Executing:  { Cmd , MgmtId: 6631563722783, via: 
 2(Rack1Pod1Host15), Ver: v1, Flags: 100011, 
 [{com.cloud.agent.api.RevertToVMSnapshotCommand:{reloadVm:false,volumeTOs:[{uuid:ee4093bf-e6f0-49e3-be37-3b5c05fd6845,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:cb8c6c62-71ea-3269-94b9-b1c0a4055d45,id:3,poolType:NetworkFilesystem,host:10.147.28.8,path:/vol/dgVol/automation/adv/pri_3,port:2049,url:NetworkFilesystem://10.147.28.8/vol/dgVol/automation/adv/pri_3/?ROLE=PrimarySTOREUUID=cb8c6c62-71ea-3269-94b9-b1c0a4055d45}},name:ROOT-77,size:21474836480,path:75f283c8-db97-4b95-96c2-72d981bc7f0c,volumeId:83,vmName:i-2-77-VM,accountId:2,format:VHD,id:83,deviceId:0,hypervisorType:XenServer}],target:{id:3,snapshotName:i-2-77-VM_VS_20140501005100,type:Disk,createTime:139890546,current:true,description:Test
  ,quiescevm:true},vmName:i-2-77-VM,guestOSType:CentOS 5.6 
 (64-bit),wait:0}}] }
 2014-05-01 06:22:19,465 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-233:ctx-acc9e792) Seq 2-5867345889533626796: Executing request
 2014-05-01 06:22:20,084 DEBUG [c.c.a.m.AgentManagerImpl] 
 (AgentManager-Handler-2:null) SeqA 8-4288: Processing Seq 8-4288:  { Cmd , 
 MgmtId: -1, via: 8, Ver: v1, Flags: 11, 
 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:3,_loadInfo:{\n
   \connections\: []\n},wait:0}}] }
 2014-05-01 06:22:20,089 DEBUG [c.c.a.m.AgentManagerImpl] 
 (AgentManager-Handler-2:null) SeqA 8-4288: Sending Seq 8-4288:  { Ans: , 
 MgmtId: 6631563722783, via: 8, Ver: v1, Flags: 100010, 
 [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
 2014-05-01 06:22:20,524 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-233:ctx-acc9e792) Task failed! Task record: 
 uuid: 1affb5ba-5bcf-4e86-f866-c3cbba89dff8
nameLabel: Async.host.call_plugin
  nameDescription:
allowedOperations: []
currentOperations: {}
  created: Wed Apr 30 20:08:59 IST 2014
 finished: Wed Apr 30 20:08:59 IST 2014
   status: failure
   residentOn: com.xensource.xenapi.Host@e88e6ba5
 progress: 1.0
 type: none/
   result:
errorInfo: [UNKNOWN_XENAPI_PLUGIN_FUNCTION, revert_memory_snapshot]
  otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
 subtasks: []
 2014-05-01 06:22:20,528 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-233:ctx-acc9e792) 

[jira] [Updated] (CLOUDSTACK-6551) [Automation] Failed to revert vm snapshot in xen

2014-04-30 Thread Rayees Namathponnan (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rayees Namathponnan updated CLOUDSTACK-6551:


Attachment: management-server.rar

 [Automation] Failed to revert vm snapshot in xen 
 -

 Key: CLOUDSTACK-6551
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6551
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Snapshot, XenServer
Affects Versions: 4.4.0
 Environment: Xen 6.2
 build 4.4-forward
Reporter: Rayees Namathponnan
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.rar


 Steps to reproduce 
 Step 1) Create advanced zone on xen 
 Step 2)  Deploy a vm 
 Step 3) create vm snapshot without memory 
 step 4) revert the snapshot 
 Result 
 Revert snapshot failed with below exception 
 2014-05-01 06:22:19,439 DEBUG [c.c.n.NetworkModelImpl] 
 (Work-Job-Executor-32:job-541/job-542 ctx-52a5f490) Service SecurityGroup is 
 not supported in the network id=241
 2014-05-01 06:22:19,464 DEBUG [c.c.a.t.Request] 
 (Work-Job-Executor-32:job-541/job-542 ctx-52a5f490) Seq 
 2-5867345889533626796: Sending  { Cmd , MgmtId: 6631563722783, via: 
 2(Rack1Pod1Host15), Ver: v1, Flags: 100011, 
 [{com.cloud.agent.api.RevertToVMSnapshotCommand:{reloadVm:false,volumeTOs:[{uuid:ee4093bf-e6f0-49e3-be37-3b5c05fd6845,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:cb8c6c62-71ea-3269-94b9-b1c0a4055d45,id:3,poolType:NetworkFilesystem,host:10.147.28.8,path:/vol/dgVol/automation/adv/pri_3,port:2049,url:NetworkFilesystem://10.147.28.8/vol/dgVol/automation/adv/pri_3/?ROLE=PrimarySTOREUUID=cb8c6c62-71ea-3269-94b9-b1c0a4055d45}},name:ROOT-77,size:21474836480,path:75f283c8-db97-4b95-96c2-72d981bc7f0c,volumeId:83,vmName:i-2-77-VM,accountId:2,format:VHD,id:83,deviceId:0,hypervisorType:XenServer}],target:{id:3,snapshotName:i-2-77-VM_VS_20140501005100,type:Disk,createTime:139890546,current:true,description:Test
  ,quiescevm:true},vmName:i-2-77-VM,guestOSType:CentOS 5.6 
 (64-bit),wait:0}}] }
 2014-05-01 06:22:19,464 DEBUG [c.c.a.t.Request] 
 (Work-Job-Executor-32:job-541/job-542 ctx-52a5f490) Seq 
 2-5867345889533626796: Executing:  { Cmd , MgmtId: 6631563722783, via: 
 2(Rack1Pod1Host15), Ver: v1, Flags: 100011, 
 [{com.cloud.agent.api.RevertToVMSnapshotCommand:{reloadVm:false,volumeTOs:[{uuid:ee4093bf-e6f0-49e3-be37-3b5c05fd6845,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:cb8c6c62-71ea-3269-94b9-b1c0a4055d45,id:3,poolType:NetworkFilesystem,host:10.147.28.8,path:/vol/dgVol/automation/adv/pri_3,port:2049,url:NetworkFilesystem://10.147.28.8/vol/dgVol/automation/adv/pri_3/?ROLE=PrimarySTOREUUID=cb8c6c62-71ea-3269-94b9-b1c0a4055d45}},name:ROOT-77,size:21474836480,path:75f283c8-db97-4b95-96c2-72d981bc7f0c,volumeId:83,vmName:i-2-77-VM,accountId:2,format:VHD,id:83,deviceId:0,hypervisorType:XenServer}],target:{id:3,snapshotName:i-2-77-VM_VS_20140501005100,type:Disk,createTime:139890546,current:true,description:Test
  ,quiescevm:true},vmName:i-2-77-VM,guestOSType:CentOS 5.6 
 (64-bit),wait:0}}] }
 2014-05-01 06:22:19,465 DEBUG [c.c.a.m.DirectAgentAttache] 
 (DirectAgent-233:ctx-acc9e792) Seq 2-5867345889533626796: Executing request
 2014-05-01 06:22:20,084 DEBUG [c.c.a.m.AgentManagerImpl] 
 (AgentManager-Handler-2:null) SeqA 8-4288: Processing Seq 8-4288:  { Cmd , 
 MgmtId: -1, via: 8, Ver: v1, Flags: 11, 
 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:3,_loadInfo:{\n
   \connections\: []\n},wait:0}}] }
 2014-05-01 06:22:20,089 DEBUG [c.c.a.m.AgentManagerImpl] 
 (AgentManager-Handler-2:null) SeqA 8-4288: Sending Seq 8-4288:  { Ans: , 
 MgmtId: 6631563722783, via: 8, Ver: v1, Flags: 100010, 
 [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
 2014-05-01 06:22:20,524 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-233:ctx-acc9e792) Task failed! Task record: 
 uuid: 1affb5ba-5bcf-4e86-f866-c3cbba89dff8
nameLabel: Async.host.call_plugin
  nameDescription:
allowedOperations: []
currentOperations: {}
  created: Wed Apr 30 20:08:59 IST 2014
 finished: Wed Apr 30 20:08:59 IST 2014
   status: failure
   residentOn: com.xensource.xenapi.Host@e88e6ba5
 progress: 1.0
 type: none/
   result:
errorInfo: [UNKNOWN_XENAPI_PLUGIN_FUNCTION, revert_memory_snapshot]
  otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
 subtasks: []
 2014-05-01 06:22:20,528 WARN  [c.c.h.x.r.CitrixResourceBase] 
 (DirectAgent-233:ctx-acc9e792) callHostPlugin failed for cmd: