cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-6660) updateVm: IndexOutOfBounds exception on at when root volume is detached
Date Tue, 13 May 2014 23:53:16 GMT
Alena Prokharchyk created CLOUDSTACK-6660:

             Summary: updateVm: IndexOutOfBounds exception on at
when root volume is detached
                 Key: CLOUDSTACK-6660
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.4.0
            Reporter: Alena Prokharchyk
            Assignee: Nitin Mehta
            Priority: Critical
             Fix For: 4.4.0

Steps to reproduce: 

1) Deploy vm
2) stop it, detach the root volume
3) Call updateVm 

following happens:

WARN  [c.c.a.d.ParamGenericValidationWorker] (API-Job-Executor-3:job-8460 ctx-d7ca344b) Received
unknown parameters for command addResourceDetail. Unknown parameters : ctxdetails
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-3:job-8460) Remove job-8460 from job
ERROR [c.c.a.ApiServer] (1779549015@qtp-216823969-0:ctx-af15255c ctx-d5afe83f ctx-815989c5)
unhandled exception executing api command: [Ljava.lang.String;@1abf5125
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(
	at java.util.ArrayList.get(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
	at com.sun.proxy.$Proxy201.updateVirtualMachine(Unknown Source)
	at org.apache.cloudstack.api.command.admin.vm.UpdateVMCmdByAdmin.execute(

Nitin, its your code. Please make sure everywhere you access the Root volume, check if its
present, and do updates only when it is.

This message was sent by Atlassian JIRA

View raw message