cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prashant kumar mishra (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-5306) scaling up vm fails on xenserver 6.2
Date Mon, 24 Nov 2014 12:40:13 GMT

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

prashant kumar mishra closed CLOUDSTACK-5306.
---------------------------------------------
    Resolution: Invalid

> scaling up vm fails on xenserver 6.2
> ------------------------------------
>
>                 Key: CLOUDSTACK-5306
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5306
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Xenserver 6.2 with all rollups / hostfixes and Cloudstack 4.2 
>            Reporter: Adam
>            Assignee: prashant kumar mishra
>
> When trying to scale a virtual Machine, Dynamic scaling fails for both Windows / Linux
machines.
> Steps to reproduce:
> -------------------------
> 1. Create vm in advance networking mode
> 2. Create few different Service offering 
> 3. Deploy a VM with a small service offering 
> (1 CPU, 512 MB RAM, 50 GB Disk)
> 3. Try scaling up to medium instance 
> (2 CPU, 4096 RAM, 50 GB Disk). 
> Expected: 
> -------------
> Scaling should succeeded and resources will be dynamically increased
> Actual results:
> -------------------
> Scaling up resources fails (Both Linux and Windows). 
> com.cloud.utils.exception.CloudRuntimeException: Unable to scale vm due to Catch exception
com.cloud.utils.exception.CloudRuntimeException when scaling VM:i-2-33-VM due to com.cloud.utils.exception.CloudRuntimeException:
Cannot scale up the vm because of memory constraint violation: 0 <= memory-static-min(536870912)
<= memory-dynamic-min(4294967296) <= memory-dynamic-max(4294967296) <= memory-static-max(2147483648)
>         at com.cloud.vm.VirtualMachineManagerImpl.reConfigureVm(VirtualMachineManagerImpl.java:3390)
>         at com.cloud.vm.UserVmManagerImpl.upgradeRunningVirtualMachine(UserVmManagerImpl.java:1310)
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1225)
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1159)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.ScaleVMCmd.execute(ScaleVMCmd.java:102)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2013-11-28 19:08:50,434 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-191:null)
Seq 2-1094713440: Response Received:
> 2013-11-28 19:08:50,434 DEBUG [agent.transport.Request] (DirectAgent-191:null) Seq 2-1094713440:
Processing:  { Ans: , MgmtId: 236301644265749, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.GetVncPortAnswer":{"address":"consoleurl=https://10.0.10.65/console?uuid=31bfb8a9-bdb3-f2ae-16f2-ce73bb2a95b2&sessionref=OpaqueRef:94664fed-e91f-5eac-e8cd-341ae95d802c","port":-1,"result":true,"wait":0}}]
}
> 2013-11-28 19:08:50,434 DEBUG [agent.transport.Request] (AgentManager-Handler-2:null)
Seq 2-1094713440: Received:  { Ans: , MgmtId: 236301644265749, via: 2, Ver: v1, Flags: 10,
{ GetVncPortAnswer } }
> 2013-11-28 19:08:50,434 INFO  [cloud.servlet.ConsoleProxyServlet] (AgentManager-Handler-2:null)
Parse host info returned from executing GetVNCPortCommand. host info: consoleurl=https://10.0.10.65/console?uuid=31bfb8a9-bdb3-f2ae-16f2-ce73bb2a95b2&sessionref=OpaqueRef:94664fed-e91f-5eac-e8cd-341ae95d802c
> 2013-11-28 19:08:50,434 INFO  [cloud.consoleproxy.AgentHookBase] (AgentManager-Handler-2:null)
Re-authentication result. vm: 33, tunnel url: https://10.0.10.65/console?uuid=31bfb8a9-bdb3-f2ae-16f2-ce73bb2a95b2,
tunnel session: OpaqueRef:94664fed-e91f-5eac-e8cd-341ae95d802c
> 2013-11-28 19:08:50,434 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null)
SeqA 8-2857: Sending Seq 8-2857:  { Ans: , MgmtId: 236301644265749, via: 8, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.ConsoleAccessAuthenticationAnswer":{"_success":true,"_isReauthenticating":true,"_port":0,"_tunnelUrl":"https://10.0.10.65/console?uuid=31bfb8a9-bdb3-f2ae-16f2-ce73bb2a95b2","_tunnelSession":"OpaqueRef:94664fed-e91f-5eac-e8cd-341ae95d802c","result":true,"wait":0}}]
}
> 2013-11-28 19:08:50,441 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-109
= [ dfe51371-dad8-4150-8837-be7efbb831f4 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to scale the VM
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1174)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.ScaleVMCmd.execute(ScaleVMCmd.java:102)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2013-11-28 19:08:50,444 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-8:job-109
= [ dfe51371-dad8-4150-8837-be7efbb831f4 ]) Complete async job-109 = [ dfe51371-dad8-4150-8837-be7efbb831f4
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to scale the
VM
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message