You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Devdeep Singh (JIRA)" <ji...@apache.org> on 2013/06/05 08:55:20 UTC

[jira] [Resolved] (CLOUDSTACK-2839) VM is not created with Preferred implicit dedication when single Host is available in the cluster which has System Vm's

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

Devdeep Singh resolved CLOUDSTACK-2839.
---------------------------------------

    Resolution: Cannot Reproduce

Verified on the latest master. The issue couldn't be reproduced. Checked against the setup on which the problem was reported by Kiran. Simple deployment of an instance wasn't working (the template was probably not correct). The problem was corrected (by removing the tag from the host and making sure latest scripts and systemvm.iso is copied to the host) to make sure instance deployment is successful with the default planner. After that instance could even be deployed using the implicit planner in preferred mode.
                
> VM is not created with Preferred implicit dedication when single Host is available in the cluster which has System Vm's
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2839
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2839
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.2.0
>            Reporter: Kiran Koneti
>            Assignee: Devdeep Singh
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: management-server.zip
>
>
> 1)Created a Advanced Zone setup with xenserver.
> 2)Once the system Vm's are created tried to create a VM using the preferred implicit dedication.
> 3)The Vm creation failed with the below error message 
> 2013-06-04 20:21:42,072 INFO  [user.vm.DeployVMCmd] (Job-Executor-13:job-13) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|pref1]Scope=interface com.cloud.dc.DataCenter; id=1
> 2013-06-04 20:21:42,073 INFO  [user.vm.DeployVMCmd] (Job-Executor-13:job-13) Unable to create a deployment for VM[User|pref1]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|pref1]Scope=interface com.cloud.dc.DataCenter; id=1
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:813)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:550)
>         at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:243)
>         at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3340)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2867)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2853)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
>         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-04 20:21:42,074 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-13:job-13) Complete async job-13, jobStatus: 2, resultCode: 530, result: Error Code: 533 Error text: Unable to create a deployment for VM[User|pref1]
> Attaching the management server Log.
> This was not observed in the previous build 

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