cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harikrishna Patnala (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-3703) change service offering of stopped vm on kvm is failing
Date Sun, 28 Jul 2013 04:05:48 GMT

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

Harikrishna Patnala reassigned CLOUDSTACK-3703:
-----------------------------------------------

    Assignee: Harikrishna Patnala  (was: Kishan Kavala)
    
> change service offering of stopped vm on kvm is failing 
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-3703
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3703
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>         Environment: hypervisor :kvm
>            Reporter: prashant kumar mishra
>            Assignee: Harikrishna Patnala
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: Logs_DB.rar, screenshot-1.jpg
>
>
> Steps to reproduce
> ----------------------------
> 1-prepare CS setup with kvm host
> 2-Deploy a vm 
> 3-stop vm
> 4-Try to update vm SO 
> Expected
> --------------
> SO should get updated
> Actual
> ----------
> Update service offering is failing
> My observation
> ------------------------
> using API updateServiceOffering  i was able to update vms service offerings
> Logs
> -------- 
> 2013-07-22 05:01:25,170 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===
 10.252.192.53 -- GET  command=listServiceOfferings&VirtualMachineId=6ba5b4cc-7f40-4638-a09f-5046016cf46a&response=json&sessionkey=3fAyCi4L%2FNGYESYM6ABmKVA7qTk%3D&_=1374483685035
> 2013-07-22 05:01:28,396 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===
 10.252.192.53 -- GET  command=scaleVirtualMachine&id=6ba5b4cc-7f40-4638-a09f-5046016cf46a&serviceofferingid=dfb785bd-5db6-4311-8324-c62891a24a31&response=json&sessionkey=3fAyCi4L%2FNGYESYM6ABmKVA7qTk%3D&_=1374483688221
> 2013-07-22 05:01:28,408 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-3:null) ControlledEntity
name is:com.cloud.vm.VirtualMachine
> 2013-07-22 05:01:28,411 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-3:null) ControlledEntity
name is:com.cloud.uservm.UserVm
> 2013-07-22 05:01:28,413 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-3:null) ControlledEntity
name is:com.cloud.network.router.VirtualRouter
> 2013-07-22 05:01:28,416 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-3:null) InfrastructureEntity
name is:com.cloud.offering.ServiceOffering
> 2013-07-22 05:01:28,443 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-3:null)
submit async job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429 ], details: AsyncJobVO {id:22,
userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.vm.ScaleVMCmd,
cmdOriginator: null, cmdInfo: {"id":"6ba5b4cc-7f40-4638-a09f-5046016cf46a","response":"json","serviceofferingid":"dfb785bd-5db6-4311-8324-c62891a24a31","sessionkey":"3fAyCi4L/NGYESYM6ABmKVA7qTk\u003d","cmdEventType":"VM.SCALE","ctxUserId":"2","httpmethod":"GET","_":"1374483688221","ctxAccountId":"2","ctxStartEventId":"96"},
cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode:
0, result: null, initMsid: 6615759585382, completeMsid: null, lastUpdated: null, lastPolled:
null, created: null}
> 2013-07-22 05:01:28,446 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END===
 10.252.192.53 -- GET  command=scaleVirtualMachine&id=6ba5b4cc-7f40-4638-a09f-5046016cf46a&serviceofferingid=dfb785bd-5db6-4311-8324-c62891a24a31&response=json&sessionkey=3fAyCi4L%2FNGYESYM6ABmKVA7qTk%3D&_=1374483688221
> 2013-07-22 05:01:28,449 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-15:job-22
= [ c7908990-7fd5-4580-8356-2a26e9138429 ]) Executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
for job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429 ]
> 2013-07-22 05:01:28,458 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-15:job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429
]) ControlledEntity name is:com.cloud.vm.VirtualMachine
> 2013-07-22 05:01:28,461 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-15:job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429
]) ControlledEntity name is:com.cloud.uservm.UserVm
> 2013-07-22 05:01:28,463 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-15:job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429
]) ControlledEntity name is:com.cloud.network.router.VirtualRouter
> 2013-07-22 05:01:28,466 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-15:job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429
]) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
> 2013-07-22 05:01:28,488 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-15:job-22
= [ c7908990-7fd5-4580-8356-2a26e9138429 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
> com.cloud.exception.InvalidParameterValueException: This operation not permitted for
this hypervisor of the vm
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1139)
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1088)
>         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: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:679)
> 2013-07-22 05:01:28,491 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-15:job-22
= [ c7908990-7fd5-4580-8356-2a26e9138429 ]) Complete async job-22 = [ c7908990-7fd5-4580-8356-2a26e9138429
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: This operation not permitted
for this hypervisor of the vm
> 2013-07-22 05:01:30,684 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null)
SeqA 2-896: Processing Seq 2-896:  { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
> 2013-07-22 05:01:30,691 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null)
SeqA 2-896: Sending Seq 2-896:  { Ans: , MgmtId: 6615759585382, via: 2, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }

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