cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Aradhye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4397) Failed to create instance with "Implicit Dedication planner" even when empty host is found
Date Mon, 19 Aug 2013 13:01:48 GMT

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

Gaurav Aradhye commented on CLOUDSTACK-4397:
--------------------------------------------

Hi Sudha,

I have resolved the issue (Original 4356) and updated the patch.
4356 can be closed once the patch is pushed.

Thanks,
Gaurav
                
> Failed to create instance with "Implicit Dedication planner" even when empty host is
found
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4397
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4397
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: Gaurav Aradhye
>            Assignee: Devdeep Singh
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Try to deploy a VM with service offering having "Deployment Planner --> ImplicitDedicationPlanner".
> Deploy VM in multihost environment where there is at least one host with no VM running
on it (empty host).
> The deployment fails with error even when the host is empty: (It says host is running
VM of other account)
> Mgt server log:
> 2013-08-19 02:46:13,251 INFO  [cloud.deploy.ImplicitDedicationPlanner] (Job-Executor-87:job-2543
= [ 615f6675-f244-4815-8ad9-de332abd89d3 ]) Host 5 found to be
> unsuitable for implicit dedication as it is running instances of another account
> 2013-08-19 02:46:13,252 INFO  [cloud.deploy.ImplicitDedicationPlanner] (Job-Executor-87:job-2543
= [ 615f6675-f244-4815-8ad9-de332abd89d3 ]) Host 5 found to be
> running a vm created by a planner other than implicit.
> 2013-08-19 02:46:13,254 DEBUG [cloud.vm.UserVmManagerImpl] (Job-Executor-87:job-2543
= [ 615f6675-f244-4815-8ad9-de332abd89d3 ]) Destroying vm VM[User|InstanceG
> rv] as it failed to create on Host with Id:null
> 2013-08-19 02:46:13,294 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 5 routers to update status.
> 2013-08-19 02:46:13,297 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
> 2013-08-19 02:46:13,350 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-87:job-2543
= [ 615f6675-f244-4815-8ad9-de332abd89d3 ]) VM state transitted fro
> m :Stopped to Error with event: OperationFailedToErrorvm's original host id: null new
host id: null host id before state transition: null
> 2013-08-19 02:46:13,354 WARN  [apache.cloudstack.alerts] (Job-Executor-87:job-2543 =
[ 615f6675-f244-4815-8ad9-de332abd89d3 ])  alertType:: 8 // dataCenterId::
> 2 // podId:: null // clusterId:: null // message:: Failed to deploy Vm with Id: 654,
on Host with Id: null
> 2013-08-19 02:46:13,382 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 5 routers to update status.
> 2013-08-19 02:46:13,383 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
> 2013-08-19 02:46:13,399 INFO  [user.vm.DeployVMCmd] (Job-Executor-87:job-2543 = [ 615f6675-f244-4815-8ad9-de332abd89d3
]) com.cloud.exception.InsufficientServer
> CapacityException: Unable to create a deployment for VM[User|InstanceGrv]Scope=interface
com.cloud.dc.DataCenter; id=2
> 2013-08-19 02:46:13,399 INFO  [user.vm.DeployVMCmd] (Job-Executor-87:job-2543 = [ 615f6675-f244-4815-8ad9-de332abd89d3
]) Unable to create a deployment for VM[U
> ser|InstanceGrv]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment
for VM[User|InstanceGrv]Scope=interface com.cloud.dc.DataCenter; id=2
>         at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:209)
>         at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3405)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2966)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2952)
>         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: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-08-19 02:46:13,401 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-87:job-2543
= [ 615f6675-f244-4815-8ad9-de332abd89d3 ]) Complete async job-2543 =
> [ 615f6675-f244-4815-8ad9-de332abd89d3 ], jobStatus: 2, resultCode: 530, result: Error
Code: 533 Error text: Unable to create a deployment for VM[User|InstanceG

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