cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-4742) Generate a useful error when using an invalid Compute Offering
Date Wed, 08 Feb 2017 09:23:58 GMT

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

Daan Hoogland closed CLOUDSTACK-4742.
-------------------------------------
    Resolution: Won't Fix

> 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: Future
>
>
> 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.3.15#6346)

Mime
View raw message