cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harikrishna Patnala (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6768) [Automation]: Test case failure in test_scale_vm.py
Date Tue, 27 May 2014 06:44:01 GMT
Harikrishna Patnala created CLOUDSTACK-6768:
-----------------------------------------------

             Summary: [Automation]: Test case failure in test_scale_vm.py
                 Key: CLOUDSTACK-6768
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6768
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.4.0
            Reporter: Harikrishna Patnala
             Fix For: 4.4.0


There is test case failure in test_scale_vm.py
integration.smoke.test_scale_vm.TestScaleVm.test_01_scale_vm

Error Message:

Job failed: {jobprocstatus : 0, created : u'2014-05-25T23:32:18-0700', cmd : u'org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin',
userid : u'4564901e-e49c-11e3-a141-00163e189e44', jobstatus : 2, jobid : u'f1a26b8c-2f9d-44ea-a416-3161f48ebc29',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Dynamically scaling virtual machines is disabled for this zone, please contact your admin'},
accountid : u'45646896-e49c-11e3-a141-00163e189e44'}
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_01_scale_vm | Status : EXCEPTION ===




Management Server log Error Message: 

2014-05-25 23:32:18,719 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-67:ctx-93e7a535
job-140) Executing AsyncJobVO {id:140, userId: 2, accountId: 2, instanceType: None, instanceId:
null, cmd: org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin, cmdInfo: {"response":"json","id":"58b294b4-5f45-4a29-a175-628a0ebb5b8f","serviceofferingid":"f0779c9b-ed1d-47bd-b006-05fc0d78bc0c","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":6,\"VirtualMachine\":\"58b294b4-5f45-4a29-a175-628a0ebb5b8f\",\"com.cloud.offering.ServiceOffering\":19}","cmdEventType":"VM.UPGRADE","ctxUserId":"2","httpmethod":"GET","uuid":"58b294b4-5f45-4a29-a175-628a0ebb5b8f","ctxAccountId":"2","ctxStartEventId":"421","apiKey":"kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w","signature":"UrhuP7QKItf4GumSa8BHToytHm0\u003d"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
95531081284, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-05-25 23:32:18,726 DEBUG [c.c.a.ApiServlet] (1336641565@qtp-217245839-11:ctx-ea2448f1)
===START===  172.16.88.7 -- GET  jobid=f1a26b8c-2f9d-44ea-a416-3161f48ebc29&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=queryAsyncJobResult&response=json&signature=50XUcypSsgXBwxlx%2F6RoQ4tK97o%3D
2014-05-25 23:32:18,732 WARN  [c.c.a.d.ParamGenericValidationWorker] (API-Job-Executor-67:ctx-93e7a535
job-140 ctx-928b66be) Received unknown parameters for command scaleVirtualMachine. Unknown
parameters : ctxdetails
2014-05-25 23:32:18,745 DEBUG [c.c.a.ApiServlet] (1336641565@qtp-217245839-11:ctx-ea2448f1
ctx-4e31fedb ctx-3b5a1616) ===END===  172.16.88.7 -- GET  jobid=f1a26b8c-2f9d-44ea-a416-3161f48ebc29&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=queryAsyncJobResult&response=json&signature=50XUcypSsgXBwxlx%2F6RoQ4tK97o%3D
2014-05-25 23:32:18,762 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-67:ctx-93e7a535
job-140) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin
com.cloud.exception.PermissionDeniedException: Dynamically scaling virtual machines is disabled
for this zone, please contact your admin
        at com.cloud.vm.UserVmManagerImpl.upgradeRunningVirtualMachine(UserVmManagerImpl.java:1348)
        at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1287)
        at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmManagerImpl.java:1223)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        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.$Proxy218.upgradeVirtualMachine(Unknown Source)
        at org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin.execute(ScaleVMCmdByAdmin.java:46)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
        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:460)
        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)
2014-05-25 23:32:18,763 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-67:ctx-93e7a535
job-140) Complete async job-140, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Dynamically
scaling virtual machines is disabled for this zone, please contact your admin"}
2014-05-25 23:32:18,781 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-67:ctx-93e7a535
job-140) Done executing org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin for job-140
2014-05-25 23:32:18,786 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-67:ctx-93e7a535
job-140) Remove job-140 from job monitoring



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message