prashant kumar mishra created CLOUDSTACK-3637: -------------------------------------------------
Summary: system vm scaleup is failing on xen server ;Unable to Scale the vm: s-1-VMas vm does not have xs tools to support dynamic scaling Key: CLOUDSTACK-3637 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3637 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Affects Versions: 4.2.0 Environment: hypsrvisor:xen-6.1 Reporter: prashant kumar mishra Priority: Critical Fix For: 4.2.0 Steps to reproduce --------------------------- 1-create system offering for Secondary storage VM say ssvm :(cpu=500,Memory=512) 2-Try to scale up secondary storage vm to 'ssvm' Expected -------------- scale up should be successful Actual ---------- Scaling up failed Log -------- w used: 10334765056, reserved: 0; requested mem: 536870912,alloc_from_last:false 2013-07-18 13:05:58,723 DEBUG [agent.transport.Request] (Job-Executor-25:job-25 = [ e831a436-25d8-4078-a37e-47af4aafa9cf ]) Seq 1-1677852845: Sending { Cmd , MgmtId: 7635042566263, via: 1, Ver: v1, Flags: 100111, [{"com.cloud.agent.api.ScaleVmCommand":{"vm":{"id":1,"name":"s-1-VM","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false},"vmName":"s-1-VM","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"wait":0}}] } 2013-07-18 13:05:58,724 DEBUG [agent.transport.Request] (Job-Executor-25:job-25 = [ e831a436-25d8-4078-a37e-47af4aafa9cf ]) Seq 1-1677852845: Executing: { Cmd , MgmtId: 7635042566263, via: 1, Ver: v1, Flags: 100111, [{"com.cloud.agent.api.ScaleVmCommand":{"vm":{"id":1,"name":"s-1-VM","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false},"vmName":"s-1-VM","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":536870912,"maxRam":536870912,"wait":0}}] } 2013-07-18 13:05:58,725 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-111:null) Seq 1-1677852845: Executing request 2013-07-18 13:05:58,844 WARN [xen.resource.CitrixResourceBase] (DirectAgent-111:null) Unable to upgrade s-1-VM due to Unable to Scale the vm: s-1-VMas vm does not have xs tools to support dynamic scaling com.cloud.utils.exception.CloudRuntimeException: Unable to Scale the vm: s-1-VMas vm does not have xs tools to support dynamic scaling at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:697) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:638) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104) at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2013-07-18 13:05:58,852 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-111:null) Seq 1-1677852845: Response Received: 2013-07-18 13:05:58,853 DEBUG [agent.transport.Request] (DirectAgent-111:null) Seq 1-1677852845: Processing: { Ans: , MgmtId: 7635042566263, via: 1, Ver: v1, Flags: 110, [{"com.cloud.agent.api.ScaleVmAnswer":{"result":false,"details":"Unable to upgrade s-1-VM due to Unable to Scale the vm: s-1-VMas vm does not have xs tools to support dynamic scaling","wait":0}}] } 2013-07-18 13:05:58,853 DEBUG [agent.transport.Request] (Job-Executor-25:job-25 = [ e831a436-25d8-4078-a37e-47af4aafa9cf ]) Seq 1-1677852845: Received: { Ans: , MgmtId: 7635042566263, via: 1, Ver: v1, Flags: 110, { ScaleVmAnswer } } 2013-07-18 13:05:58,854 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-25:job-25 = [ e831 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira