You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rajani Karuturi (JIRA)" <ji...@apache.org> on 2015/08/31 12:39:46 UTC

[jira] [Resolved] (CLOUDSTACK-8615) [Automation] skip all tests in test_ps_limits.py for lxc

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

Rajani Karuturi resolved CLOUDSTACK-8615.
-----------------------------------------
    Resolution: Fixed

> [Automation] skip all tests in test_ps_limits.py for lxc
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-8615
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8615
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>            Reporter: prashant kumar mishra
>            Assignee: prashant kumar mishra
>
> issue
> -------
> All test cases are failing due to unsupported storage type
> solution
> -----------
> skip test if supported storage type(for lxc hyp) is not present
> logs
> ------
> 76a4e) Looking for pools in dc: 1 pod:1 cluster:1. Disabled pools will be ignored.
> 2015-07-02 02:54:09,748 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Found pools matching tags: [Pool[1|NetworkFilesystem]]
> 2015-07-02 02:54:09,749 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Checking if storage pool is suitable, name: null ,poolId: 1
> 2015-07-02 02:54:09,749 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) StoragePool does not support LXC DATA disk, skipping this pool
> 2015-07-02 02:54:09,749 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) ClusterScopeStoragePoolAllocator returning 0 suitable storage pools
> 2015-07-02 02:54:09,749 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) ZoneWideStoragePoolAllocator to find storage pool
> 2015-07-02 02:54:09,751 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) No suitable pools found for volume: Vol[715|vm=701|DATADISK] under cluster: 1
> 2015-07-02 02:54:09,751 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) No suitable pools found
> 2015-07-02 02:54:09,751 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) No suitable storagePools found under this Cluster: 1
> 2015-07-02 02:54:09,753 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Could not find suitable Deployment Destination for this VM under any clusters, returning.
> 2015-07-02 02:54:09,753 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Searching all possible resources under this Zone: 1
> 2015-07-02 02:54:09,754 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
> 2015-07-02 02:54:09,756 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Removing from the clusterId list these clusters from avoid set: [1]
> 2015-07-02 02:54:09,757 DEBUG [c.c.d.FirstFitPlanner] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) No clusters found after removing disabled clusters and clusters in avoid list, returning.
> 2015-07-02 02:54:09,759 DEBUG [c.c.v.UserVmManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Destroying vm VM[User|i-475-701-VM] as it failed to create on Host with Id:null
> 2015-07-02 02:54:09,763 DEBUG [c.c.c.CapacityManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) 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
> 2015-07-02 02:54:09,796 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Access granted to Acct[2f78eef0-1fa3-11e5-b622-5eb4269b6aae-admin] to Domain:110/domain-SWHPY9/ by AffinityGroupAccessChecker
> 2015-07-02 02:54:09,826 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Access granted to Acct[2f78eef0-1fa3-11e5-b622-5eb4269b6aae-admin] to Domain:110/domain-SWHPY9/ by AffinityGroupAccessChecker
> 2015-07-02 02:54:09,834 WARN [o.a.c.alerts] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null // message:: Failed to deploy Vm with Id: 701, on Host with Id: null
> 2015-07-02 02:54:09,863 INFO [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-475-701-VM]Scope=interface com.cloud.dc.DataCenter; id=1
> 2015-07-02 02:54:09,863 INFO [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-55:ctx-999d6d4d job-4835 ctx-c1b7c9a3) (logid:95176a4e) Unable to create a deployment for VM[User|i-475-701-VM]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-475-701-VM]Scope=interface com.cloud.dc.DataCenter; id=1
> at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:214)
> at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:200)
> at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3932)
> at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3522)
> at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3510)
> at sun.reflect.GeneratedMethodAccessor585.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at com.sun.proxy.$Proxy197.startVirtualMachine(Unknown Source)
> at org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin.execute(DeployVMCmdByAdmin.java:50)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
> at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:549)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:500)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
> 2015-07-02 02:54:09,864 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-55:ctx-999d6d4d job-4835) (logid:95176a4e) Complete async job-4835, jobStatus: FAILED, resultCode: 530, res



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)