cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3712) unable to update service offerings of stopped system vms;com.cloud.exception.InvalidParameterValueException: unable to find a virtual machine with id 3
Date Mon, 22 Jul 2013 22:10:48 GMT

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

Alena Prokharchyk commented on CLOUDSTACK-3712:
-----------------------------------------------

Update system vm should never make calls to UserVmManagerImpl. This manager should deal only
with UserVms, as in most of the cases it searches for the vms in user_vm table.

Calls generic to all types of vms - user vm, system vms - should be placed to VirtualMachieManagerImpl.
Nitin, can you please fix ScaleVmCode?
                
> unable to update service offerings of stopped  system vms;com.cloud.exception.InvalidParameterValueException:
unable to find a virtual machine with id 3
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3712
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3712
>             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: prashant kumar mishra
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: logs_db.rar
>
>
> steps to reproduce
> ----------------------------
> 1-prepare a CS set up vmware host
> 2-create  system offerings  for ssvm /cpvm
> 3-disable zone 
> 4-stop ssvm and cpvm
> 5-Try to update ssvm/cpvm service offering
> Expected
> --------------
> 1-update SO should be successful
> Actual
> ----------
> update SO is failing
> Logs
> --------
> 2013-07-22 13:04:02,242 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-21:job-21
= [ 900a176c-51b6-4618-9d9c-a4e8fb1d1e27 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.ScaleVMCmd
> com.cloud.exception.InvalidParameterValueException: unable to find a virtual machine
with id 3
>         at com.cloud.vm.UserVmManagerImpl.upgradeStoppedVirtualMachine(UserVmManagerImpl.java:771)
>         at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1143)
>         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 13:04:02,247 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-21:job-21
= [ 900a176c-51b6-4618-9d9c-a4e8fb1d1e27 ]) Complete async job-21 = [ 900a176c-51b6-4618-9d9c-a4e8fb1d1e27
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: unable to find a virtual
machine with id 3
>  

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