cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <terbol...@gmail.com>
Subject Re: CS 4.4.0 and XenServer 6.2. Stopping VM destroys it.
Date Mon, 06 Oct 2014 12:27:42 GMT
On Mon, Oct 6, 2014 at 2:10 PM, Vadim Kimlaychuk <Vadim.Kimlaychuk@elion.ee>
wrote:

> Hello,
>
>             Have found very unplesent behaviour : when I execute „stop
> instance“ command Cloudstack actually destroys VM from hypervisor. No
> errors or other warnings has been issued.



AFAIK that is normal, you don't need the VM definition on the hypervisor,
CloudStack will recreate it when needed.


> Management log shows:
>
> 2014-10-06 14:55:37,365 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-70:ctx-ea29a5b5 job-158/job-159 ctx-65d35099) Seq
> 1-1867586470475218798: Sending  { Cmd , MgmtId: 90520745720479, via:
> 1(xcp1), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-2-13-VM","wait":0}}]
> }
> 2014-10-06 14:55:37,365 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-70:ctx-ea29a5b5 job-158/job-159 ctx-65d35099) Seq
> 1-1867586470475218798: Executing:  { Cmd , MgmtId: 90520745720479, via:
> 1(xcp1), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-2-13-VM","wait":0}}]
> }
>
> ……
>
> Then shortly after that:
> 2014-10-06 14:56:24,867 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-282:ctx-29a6d080) 10. The VM i-2-13-VM is in Stopped state
>
> But when I go to XEN dom0 and run „xe vm-list“ there is no VM anymore.
> And I can’t obviously start it again. Shows error “Job failed due to
> exception Unable to create a deployment for VM[User|i-2-13-VM]“
>

Could you get more log output as to why it fails to create a deployment?
Best is to tail the log 1 second before you hit launch, and paste the log
content on pastebin after the exception occurs.


-- 
Erik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message