cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilya <ilya.mailing.li...@gmail.com>
Subject Re: Urgent: Can't deploy VM.
Date Tue, 09 Aug 2016 01:43:21 GMT
Is this still an issue?

Your logs arent giving us anything useful.

retry the start vm and if it fails, run below command:

> grep -E 'ERROR' /var/log/cloudstack/management/management-server.log  | grep 'Failed
to start instance VM' | tail -1

Response would look like:

> 2016-08-02 23:54:23,724 ERROR [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-60:ctx-b3db4d1a
job-143982/job-143985 ctx-53d5067c) Failed to start instance VM[User|i-109-13930-ff]

where as "i-109-13930-ff" is cloudstack instancename for the vm that
failed to start.

note the jobid and ctx ids and only grep for those lines.

Example:

> grep -E 'ctx-b3db4d1a|job-143982|job-143985' /var/log/cloudstack/management/management-server.log


Look through the error - it will tell you what went wrong, if it makes
no sense - paste it to pastebin and share the link.

Regards
ilya



On 8/5/16 9:16 AM, ์กฐ๋Œ€ํ˜• wrote:
> HI, I am using Cloudstack 4.7.
> All of sudden, I can't deploy and terminate VM.
> What should I do to fix this issue?
> Anyone who got this error before?
> Please, help me.
> 
> I found this error;
> 
> tail -f /var/log/cloudstack/management/management-server.log | grep -i -E
> 'exception|unable|fail|invalid|leak|warn|error'
> 2016-08-06 00:54:52,086 WARN  [c.c.v.VirtualMachinePowerStateSyncImpl]
> (DirectAgentCronJob-33:ctx-b0f97ee6) (logid:54175709) VM state was updated
> but update time is null?! vm id: 979
> 2016-08-06 00:54:53,122 WARN  [c.c.v.VirtualMachinePowerStateSyncImpl]
> (DirectAgentCronJob-66:ctx-a1074eb7) (logid:0dfd1efd) VM state was updated
> but update time is null?! vm id: 1288
> 2016-08-06 00:54:54,478 WARN  [c.c.v.VirtualMachinePowerStateSyncImpl]
> (DirectAgentCronJob-132:ctx-3cf7c07a) (logid:697a13ab) VM state was updated
> but update time is null?! vm id: 1287
> [root@cloud ~]# tail -f
> /var/log/cloudstack/management/management-server.log | grep -i -E
> 'exception|unable|fail|invalid|leak|warn|error'
> 2016-08-06 01:06:25,217 WARN  [o.a.c.f.j.i.AsyncJobMonitor]
> (Timer-1:ctx-3562d0cc) (logid:50b13c81) Task (job-11252) has been pending
> for 3305 seconds
> 2016-08-06 01:06:25,217 WARN  [o.a.c.f.j.i.AsyncJobMonitor]
> (Timer-1:ctx-3562d0cc) (logid:50b13c81) Task (job-11255) has been pending
> for 3264 seconds
> 

Mime
View raw message