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

Animesh Chaturvedi updated CLOUDSTACK-4742:
-------------------------------------------


There is no update on these items and are in open state, if they are not ready 
for 4.3.0 please move them out to "Future". Remember the feature freeze date 
for 4.3.0 is 11/08 and the last day for merge request with 72 hour feedback 
peiod is 11/05.

> Generate a useful error when using an invalid Compute Offering 
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4742
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4742
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.2.0
>         Environment: Cloudstack 4.2,  Advanced Zone with Security Groups, 
> XenServer 6.2. 
>            Reporter: Gerard Lynch
>             Fix For: 4.3.0
>
>
> Set up an Advanced Zone with Security Groups on XenServer 6.2.
> Identify your hosts's phsyical CPU max speed - e.g. 2GHz.
> Create a service offering that specifies higher e.g. :
>   - name: cpu_to_high
>     display_text: the cpu speed is too high
>     cpu_number: 1
>     cpu_speed: 3750
>     limit_cpu_use: 'false'
>     memory: 4096
>     offer_ha: 'false'
>     storage_type: shared
> Try and create an instance using it. 
> *Expected Result:*
> A useful error message - e.g. not able to match the service offering.
> *Actual Result:*
> In the Gui:
> Unable to create a deployment for VM[User|test]
> In the Logs:
> WARN  [apache.cloudstack.alerts] (Job-Executor-1:job-26 = [ 
> 30199e84-95d1-4c9f-a779-c1eec9603879 ])  alertType:: 8 // dataCenterId:: 1 // 
> podId:: null // clusterId:: null // message:: Failed to deploy Vm with Id: 
> 18, on Host with Id: null
> INFO  [user.vm.DeployVMCmd] (Job-Executor-1:job-26 = [ 
> 30199e84-95d1-4c9f-a779-c1eec9603879 ]) 
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
> deployment for VM[User|web1]Scope=interface com.cloud.dc.DataCenter; id=1
> INFO  [user.vm.DeployVMCmd] (Job-Executor-1:job-26 = [ 
> 30199e84-95d1-4c9f-a779-c1eec9603879 ]) Unable to create a deployment for 
> VM[User|web1]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
> deployment for VM[User|web1]Scope=interface com.cloud.dc.DataCenter; id=1
>         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:1146)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to