You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2013/12/31 19:45:51 UTC

[jira] [Created] (CLOUDSTACK-5695) [Vmsync] - xenserver - VMs deployed outside of CS gets destroyed when vmsync is initiated from CS.

Sangeetha Hariharan created CLOUDSTACK-5695:
-----------------------------------------------

             Summary: [Vmsync] - xenserver - VMs deployed outside of CS gets destroyed when vmsync is initiated from CS.
                 Key: CLOUDSTACK-5695
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5695
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.3.0
         Environment: Build from 4.3
            Reporter: Sangeetha Hariharan
            Priority: Critical
             Fix For: 4.3.0


[Vmsync] - xenserver - VMs deployed outside of CS gets destroyed when vmsync is initiated from CS.

PreReq:
Have few Vms deployed using Cloudstack.
Steps:
Outside of Cloudstack , Deploy a new VM.
Vm fails to get deployed since CS issues a stop command for the VM.

Stopped the management server.
Outside of Cloudstack , Deploy a new VM.
Start the management server.

When Vmsync is initiated from CS , CS issues stop command for the VM , resulting in the Vm shutting down.

Management server logs when Vm is being shut down:

2013-12-26 19:18:41,388 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgent-33:ctx-4c7f780d) Process host VM state report from ping process. host: 2
2013-12-26 19:18:41,390 INFO [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgent-33:ctx-4c7f780d) Unable to find matched VM in CloudStack DB. name: yoyo
2013-12-26 19:18:41,393 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgent-33:ctx-4c7f780d) VM state report. host: 2, vm id: 6, power state: PowerOn
2013-12-26 19:18:41,406 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (DirectAgent-33:ctx-4c7f780d) VM state report is updated. host: 2, vm id: 6, power stat
e: PowerOn
2013-12-26 19:18:42,298 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-5:ctx-c5aa0746) Seq 2-468320260: Executing request
2013-12-26 19:18:42,299 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-17:ctx-50469c06) Seq 1-1141178372: Executing request
2013-12-26 19:18:42,508 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-5:ctx-c5aa0746) Seq 2-468320260: Response Received:
2013-12-26 19:18:42,508 DEBUG [c.c.a.t.Request] (DirectAgent-5:ctx-c5aa0746) Seq 2-468320260: Processing: { Ans: , MgmtId: 112516401760401, via: 2, Ver: v1,
Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
2013-12-26 19:18:42,573 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-17:ctx-50469c06) Detecting a new state but couldn't find a old state so adding it to
the changes: yoyo
2013-12-26 19:18:42,574 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-17:ctx-50469c06) Seq 1-1141178372: Response Received:
2013-12-26 19:18:42,574 DEBUG [c.c.a.t.Request] (DirectAgent-17:ctx-50469c06) Seq 1-1141178372: Processing: { Ans: , MgmtId: 112516401760401, via: 1, Ver: v1
, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{"yoyo":{"t":"157f5d61-037f-44eb-ae3d-0cd082d3cff0","u":"Running","v":"vir
idian:true;acpi:1;apic:true;pae:true;nx:true"}},"_isExecuted":false,"result":true,"wait":0}}] }
2013-12-26 19:18:42,576 WARN [c.c.v.VirtualMachineManagerImpl] (DirectAgent-17:ctx-50469c06) Found an alien VM yoyo
2013-12-26 19:18:42,576 DEBUG [c.c.v.VirtualMachineManagerImpl] (DirectAgent-17:ctx-50469c06) Cleaning up a VM that is no longer found <deltaSync>: yoyo
2013-12-26 19:18:42,582 DEBUG [c.c.a.t.Request] (DirectAgent-17:ctx-50469c06) Seq 2-468320276: Sending { Cmd , MgmtId: 112516401760401, via: 2(Rack3Host23.la
b.vmops.com), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"yoyo","wait":0}}] }
2013-12-26 19:18:42,582 DEBUG [c.c.a.t.Request] (DirectAgent-17:ctx-50469c06) Seq 2-468320276: Executing: { Cmd , MgmtId: 112516401760401, via: 2(Rack3Host23
.lab.vmops.com), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"yoyo","wait":0}}] }
2013-12-26 19:18:42,582 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-11:ctx-013a4466) Seq 2-468320276: Executing request
2013-12-26 19:18:42,678 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-013a4466) 9. The VM yoyo is in Stopping state




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