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] [Commented] (CLOUDSTACK-2849) [Automation] ScaleupVM is failing with a wrong message
Date Wed, 05 Jun 2013 11:29:20 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675813#comment-13675813
] 

prashant kumar mishra commented on CLOUDSTACK-2849:
---------------------------------------------------

this  issue was because GP "enable.dynamic.scale.vm" = false ;had no information when it was
introduced .
                
> [Automation] ScaleupVM is failing with a wrong message
> ------------------------------------------------------
>
>                 Key: CLOUDSTACK-2849
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2849
>             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
>            Reporter: Srikanteswararao Talluri
>            Priority: Blocker
>              Labels: automation
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> 1. Create a VM with a service offering with 1 CPU, 100MHZ, 256MB
> 2. create a service offering with 1 CPU, 200mhz , 1024 mb
> 3. scale up VM created in step 1 to use the service offering created in step 2.
> ===START===  10.252.241.61 -- GET  command=scaleVirtualMachine&id=c1616df8-4f18-49ff-b5e8-1582abee0b86&serviceofferingid=70bf3736-7601-45f0-b615-66d0f3a162cb&response=json&sessionkey=4gkKHRD0wWVJiMwOhJtdu0O%2BQBU%3D&_=1370425178142
> 2013-06-05 20:33:48,106 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-21:null) ControlledEntity
name is:com.cloud.vm.VirtualMachine
> 2013-06-05 20:33:48,110 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-21:null) ControlledEntity
name is:com.cloud.uservm.UserVm
> 2013-06-05 20:33:48,113 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-21:null) ControlledEntity
name is:com.cloud.network.router.VirtualRouter
> 2013-06-05 20:33:48,116 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-21:null) InfrastructureEntity
name is:com.cloud.offering.ServiceOffering
> 2013-06-05 20:33:48,182 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-21:null)
submit async job-720, details: AsyncJobVO {id:720, userId: 2, accountId: 2, sessionKey: null,
instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.vm.ScaleVMCmd,
cmdOriginator: null, cmdInfo: {"id":"c1616df8-4f18-49ff-b5e8-1582abee0b86","response":"json","sessionkey":"4gkKHRD0wWVJiMwOhJtdu0O+QBU\u003d","serviceofferingid":"70bf3736-7601-45f0-b615-66d0f3a162cb","ctxUserId":"2","httpmethod":"GET","_":"1370425178142","ctxAccountId":"2","ctxStartEventId":"3354"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 7363452993625, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-06-05 20:33:48,185 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END===
 10.252.241.61 -- GET  command=scaleVirtualMachine&id=c1616df8-4f18-49ff-b5e8-1582abee0b86&serviceofferingid=70bf3736-7601-45f0-b615-66d0f3a162cb&response=json&sessionkey=4gkKHRD0wWVJiMwOhJtdu0O%2BQBU%3D&_=1370425178142
> 2013-06-05 20:33:48,197 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-39:job-720)
Executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd for job-720
> 2013-06-05 20:33:48,214 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-344:null)
Seq 2-1497696422: Response Received: 
> 2013-06-05 20:33:48,215 DEBUG [agent.transport.Request] (DirectAgent-344:null) Seq 2-1497696422:
Processing:  { Ans: , MgmtId: 7363452993625, via: 2, Ver: v1, Flags: 0, [{"routing.IpAssocAnswer":{"results":["10.147.53.14
- success"],"result":true,"wait":0}}] }
> 2013-06-05 20:33:48,215 DEBUG [agent.transport.Request] (Job-Executor-7:job-718) Seq
2-1497696422: Received:  { Ans: , MgmtId: 7363452993625, via: 2, Ver: v1, Flags: 0, { IpAssocAnswer
} }
> 2013-06-05 20:33:48,228 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-39:job-720) ControlledEntity
name is:com.cloud.vm.VirtualMachine
> 2013-06-05 20:33:48,235 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-39:job-720) ControlledEntity
name is:com.cloud.uservm.UserVm
> 2013-06-05 20:33:48,238 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-39:job-720) ControlledEntity
name is:com.cloud.network.router.VirtualRouter
> 2013-06-05 20:33:48,243 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-39:job-720) InfrastructureEntity
name is:com.cloud.offering.ServiceOffering
> 2013-06-05 20:33:48,248 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-718)
Successfully associated ip address 10.147.53.11 to network Ntwk[336|Guest|8]
> 2013-06-05 20:33:48,285 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-7:job-718)
Complete async job-718, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.IPAddressResponse@75f5cd8a
> 2013-06-05 20:33:48,307 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-39:job-720)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
> com.cloud.exception.PermissionDeniedException: Dynamically scaling virtual machines is
disabled for this zone, please contact your admin
> 	at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1202)
> 	at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1106)
> 	at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> 	at org.apache.cloudstack.api.command.user.vm.ScaleVMCmd.execute(ScaleVMCmd.java:92)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
> 	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
> 	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:679)
> 2013-06-05 20:33:48,308 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-39:job-720)
Complete async job-720, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Dynamically scaling virtual machines is disabled for this zone, please contact your admin

--
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

Mime
View raw message