cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-1945) Deploy VM failed when global setting "vm.allocation.algorithm" is set to "userdispersing"
Date Thu, 04 Apr 2013 22:20:16 GMT
Rayees Namathponnan created CLOUDSTACK-1945:

             Summary: Deploy VM failed when global setting "vm.allocation.algorithm" is set
to "userdispersing"
                 Key: CLOUDSTACK-1945
             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
         Environment: VMware - 
Build Master : Revision: 4f9bdba2815510d55cbf0727f80fe57b14023022
            Reporter: Rayees Namathponnan
            Assignee: Prachi Damle
             Fix For: 4.2.0

Step 1 : Create and install a master build (Revision: 4f9bdba2815510d55cbf0727f80fe57b14023022)

Step 2 : Create advanced zone 
Step 3 : "vm.allocation.algorithm" is set to "userdispersing" 
Step 4 : Deploy a VM 

VM deployment failed with null pointer exception

2013-04-04 14:58:48,483 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-28) DeploymentPlanner
allocation algorithm: userdispersing
2013-04-04 14:58:48,483 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-28) Trying
to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 1000,
requested ram: 1073741824
2013-04-04 14:58:48,483 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-28) Is ROOT
volume READY (pool already allocated)?: No
2013-04-04 14:58:48,483 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-28) Searching
all possible resources under this Zone: 1
2013-04-04 14:58:48,485 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-28) Listing
clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and
RAM capacity under this Zone: 1
2013-04-04 14:58:48,506 DEBUG [cloud.deploy.UserDispersingPlanner] (Job-Executor-1:job-28)
Applying Userdispersion heuristic to clusters for account: 2
2013-04-04 14:58:48,544 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-1:job-28) Checking
resources in Cluster: 1 under Pod: 1
2013-04-04 14:58:48,546 DEBUG [cloud.vm.UserVmManagerImpl] (Job-Executor-1:job-28) Destroying
vm VM[User|a] as it failed to create on Host with Id:null
2013-04-04 14:58:48,556 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-1:job-28)
VM state transitted from :Stopped to Error with event: OperationFailedToErrorvm's original
host id: null new host id: null host id before state transition: null
2013-04-04 14:58:48,591 WARN  [apache.cloudstack.alerts] (Job-Executor-1:job-28)  alertType::
8 // dataCenterId:: 1 // podId:: null // clusterId:: null // message:: Failed to deploy Vm
with Id: 9, on Host with Id: null
2013-04-04 14:58:48,646 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-28) Unexpected
exception while executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd
	at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(
	at java.util.concurrent.Executors$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$
2013-04-04 14:58:48,647 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-28) Complete
async job-28, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null
2013-04-04 14:58:51,387 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===
-- GET  command=queryAsyncJobResult&jobId=835d0cd4-8faf-4564-93bc-fb4728a3ebec&response=json&sessionkey=wRfo5w6qeKWoA9axMX1ndfBYPQ8%3D&_=1365112505711

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:

View raw message