cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5850) VMsnapshot - attach datadisk for VMs that have VM snapshot result in screenful JAVA errors
Date Fri, 10 Jan 2014 09:27:53 GMT

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

Likitha Shetty updated CLOUDSTACK-5850:
---------------------------------------

    Summary: VMsnapshot - attach datadisk for VMs that have VM snapshot result in  screenful
JAVA errors  (was: [vmware] Vcenter 5.5  host ESXi 5.5 VMsnapshot - attach datadisk for VMs
that have VM snapshot result in  screenful JAVA errors)

> VMsnapshot - attach datadisk for VMs that have VM snapshot result in  screenful JAVA
errors
> -------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5850
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5850
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: MS       build     1/8/2014
> vcenter 5.5         host1     host2       ESXi  5.5
>            Reporter: angeline shen
>            Assignee: Likitha Shetty
>            Priority: Critical
>             Fix For: 4.3.0
>
>         Attachments: management-server(4).log.gz, vm11.png
>
>
> 1.   advance zone.    create VMs.
> 2.   VM1  create VM snapshot.
> 3. create volume     vol1.    attach vol1 to VM1
> result:
> sreenful of JAVA errors dispalyed
> MS log:
> 2014-01-09 11:52:54,808 ERROR [c.c.v.VmWorkJobHandlerProxy] (Job-Executor-51:ctx-38b7725a
ctx-56558271) Invocation exception, caused by: com.cloud.exception.InvalidParameterValueException:
Unable to atta
> ch volume, please specify a VM that does not have VM snapshots
> 2014-01-09 11:52:54,809 ERROR [c.c.v.VmWorkJobDispatcher] (Job-Executor-51:ctx-38b7725a
ctx-56558271) Unable to complete AsyncJobVO {id:170, userId: 2, accountId: 2, instanceType:
null, instanceId: null,
> cmd: com.cloud.storage.VmWorkAttachVolume, cmdInfo: rO0ABXNyACRjb20uY2xvdWQuc3RvcmFnZS5WbVdvcmtBdHRhY2hWb2x1bWUHra_5YYfiHAIAAkwACGRldmljZUlkdAAQTGphdmEvbGFuZy9Mb25nO0wACHZvbHVtZUlkcQB-AAF4cgATY29tLmNsb3
> VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHAAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAN0ABRWb2x1bWVBcGlTZXJ2aWNlSW1wbHBzcgAOamF2YS5sYW5nLkxvb
> mc7i-SQzI8j3wIAAUoABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAAAAAAAAA4, cmdVersion:
0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7425730021290,
completeMsi
> d: null, lastUpdated: null, lastPolled: null, created: Thu Jan 09 11:52:53 PST 2014},
job origin:56558271-286a-4205-b7af-a6974d16c0e7
> com.cloud.exception.InvalidParameterValueException: Unable to attach volume, please specify
a VM that does not have VM snapshots
>         at com.cloud.storage.VolumeApiServiceImpl.attachVolumeToVM(VolumeApiServiceImpl.java:1193)
>         at com.cloud.storage.VolumeApiServiceImpl.orchestrateAttachVolumeToVM(VolumeApiServiceImpl.java:1125)
>         at com.cloud.storage.VolumeApiServiceImpl.orchestrateAttachVolumeToVM(VolumeApiServiceImpl.java:2400)
>         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:616)
>         at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at com.cloud.storage.VolumeApiServiceImpl.handleVmWorkJob(VolumeApiServiceImpl.java:2431)
>         at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         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.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 sun.proxy.$Proxy195.handleVmWorkJob(Unknown Source)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:101)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:524)
>         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 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)
> 2014-01-09 11:52:54,813 INFO  [c.c.v.VmWorkJobDispatcher] (Job-Executor-51:ctx-38b7725a
ctx-56558271) Serialize exception object into json: com.cloud.exception.InvalidParameterValueException/{"idList":[],"uuidList":[],"csErrorCode":4350,"detailMessage":"Unable
to attach volume, please specify a VM that does not have VM snapshots","cause":{"class":"com.cloud.exception.InvalidParameterValueException","msg":"Unable
to attach volume, please specify a VM that does not have VM snapshots"},"stackTrace":[{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"attachVolumeToVM","fileName":"VolumeApiServiceImpl.java","lineNumber":1193},{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"orchestrateAttachVolumeToVM","fileName":"VolumeApiServiceImpl.java","lineNumber":1125},{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"orchestrateAttachVolumeToVM","fileName":"VolumeApiServiceImpl.java","lineNumber":2400},{"declaringClass":"sun.reflect.NativeMethodAccessorImpl","methodName":"invoke0","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2},{"declaringClass":"sun.reflect.NativeMethodAccessorImpl","methodName":"invoke","fileName":"NativeMethodAccessorImpl.java","lineNumber":57},{"declaringClass":"sun.reflect.DelegatingMethodAccessorImpl","methodName":"invoke","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43},{"declaringClass":"java.lang.reflect.Method","methodName":"invoke","fileName":"Method.java","lineNumber":616},{"declaringClass":"com.cloud.vm.VmWorkJobHandlerProxy","methodName":"handleVmWorkJob","fileName":"VmWorkJobHandlerProxy.java","lineNumber":107},{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"handleVmWorkJob","fileName":"VolumeApiServiceImpl.java","lineNumber":2431},{"declaringClass":"sun.reflect.GeneratedMethodAccessor374","methodName":"invoke","lineNumber":-1},{"declaringClass":"sun.reflect.DelegatingMethodAccessorImpl","methodName":"invoke","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43},{"declaringClass":"java.lang.reflect.Method","methodName":"invoke","fileName":"Method.java","lineNumber":616},{"declaringClass":"org.springframework.aop.support.AopUtils","methodName":"invokeJoinpointUsingReflection","fileName":"AopUtils.java","lineNumber":317},{"declaringClass":"org.springframework.aop.framework.ReflectiveMethodInvocation","methodName":"invokeJoinpoint","fileName":"ReflectiveMethodInvocation.java","lineNumber":183},{"declaringClass":"org.springframework.aop.framework.ReflectiveMethodInvocation","methodName":"proceed","fileName":"ReflectiveMethodInvocation.java","lineNumb
> 2014-01-09 11:52:54,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-58:ctx-00a76fb8)
Done executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd for job-169
> 2014-01-09 11:52:54,858 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-48:ctx-a74413d3)
Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to serialize: com.cloud.exception.InvalidParameterValueException/{"idList":[],"uuidList":[],"csErrorCode":4350,"detailMessage":"Unable
to attach volume, please specify a VM that does not have VM snapshots","cause":{"class":"com.cloud.exception.InvalidParameterValueException","msg":"Unable
to attach volume, please specify a VM that does not have VM snapshots"},"stackTrace":[{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"attachVolumeToVM","fileName":"VolumeApiServiceImpl.java","lineNumber":1193},{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"orchestrateAttachVolumeToVM","fileName":"VolumeApiServiceImpl.java","lineNumber":1125},{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"orchestrateAttachVolumeToVM","fileName":"VolumeApiServiceImpl.java","lineNumber":2400},{"declaringClass":"sun.reflect.NativeMethodAccessorImpl","methodName":"invoke0","fileName":"NativeMethodAccessorImpl.java","lineNumber":-2},{"declaringClass":"sun.reflect.NativeMethodAccessorImpl","methodName":"invoke","fileName":"NativeMethodAccessorImpl.java","lineNumber":57},{"declaringClass":"sun.reflect.DelegatingMethodAccessorImpl","methodName":"invoke","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43},{"declaringClass":"java.lang.reflect.Method","methodName":"invoke","fileName":"Method.java","lineNumber":616},{"declaringClass":"com.cloud.vm.VmWorkJobHandlerProxy","methodName":"handleVmWorkJob","fileName":"VmWorkJobHandlerProxy.java","lineNumber":107},{"declaringClass":"com.cloud.storage.VolumeApiServiceImpl","methodName":"handleVmWorkJob","fileName":"VolumeApiServiceImpl.java","lineNumber":2431},{"declaringClass":"sun.reflect.GeneratedMethodAccessor374","methodName":"invoke","lineNumber":-1},{"declaringClass":"sun.reflect.DelegatingMethodAccessorImpl","methodName":"invoke","fileName":"DelegatingMethodAccessorImpl.java","lineNumber":43},{"declaringClass":"java.lang.reflect.Method","methodName":"invoke","fileName":"Method.java","lineNumber":616},{"declaringClass":"org.springframework.aop.support.AopUtils","methodName":"invokeJoinpointUsingReflection","fileName":"AopUtils.java","lineNumber":317},{"declaringClass":"org.springframework.aop.framework.ReflectiveMethodInvocation","methodName":"invokeJoinpoint","fileName":"ReflectiveMethodInvocation.java","lineNumber":183},{"declaringClass":"org.springframework.aop.framework.ReflectiveMethodInvocation","methodName":"proceed","fileName":"ReflectiveMethodInvocation.java","lineNumber":150},{"declaringClass":"org.springframework.aop.interceptor.ExposeInvocationInterceptor","methodName":"invoke","fileName":"ExposeInvocationInterceptor.java","lineNumber":91},{"declaringClass":"org.springframework.aop.framework.ReflectiveMethodInvocation","methodName":"proceed","fileName":"ReflectiveMethodInvocation.java","lineNumber":172},{"declaringClass":"org.springframework.aop.framework.JdkDynamicAopProxy","methodName":"invoke","fileName":"JdkDynamicAopProxy.java","lineNumber":204},{"declaringClass":"sun.proxy.$Proxy195","methodName":"handleVmWorkJob","lineNumber":-1},{"declaringClass":"com.cloud.vm.VmWorkJobDispatcher","methodName":"runJob","fileName":"VmWorkJobDispatcher.java","lineNumber":101},{"declaringClass":"org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5","methodName":"runInContext","fileName":"AsyncJobManagerImpl.java","lineNumber":524},{"declaringClass":"org.apache.cloudstack.managed.context.ManagedContextRunnable$1","methodName":"run","fileName":"ManagedContextRunnable.java","lineNumber":49},{"declaringClass":"org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1","methodName":"call","fileName":"DefaultManagedContext.java","lineNumber":56},{"declaringClass":"org.apache.cloudstack.managed.context.impl.DefaultManagedContext","methodName":"callWithContext","fileName":"DefaultManagedContext.java","lineNumber":103},{"declaringClass":"org.apache.cloudstack.managed.context.impl.DefaultManagedContext","methodName":"runWithContext","fileName":"DefaultManagedContext.java","lineNumber":53},{"declaringClass":"org.apache.cloudstack.managed.context.ManagedContextRunnable","methodName":"run","fileName":"ManagedContextRunnable.java","lineNumber":46},{"declaringClass":"java.util.concurrent.Executors$RunnableAdapter","methodName":"call","fileName":"Executors.java","lineNumber":471},{"declaringClass":"java.util.concurrent.FutureTask$Sync","methodName":"innerRun","fileName":"FutureTask.java","lineNumber":334},{"declaringClass":"java.util.concurrent.FutureTask","methodName":"run","fileName":"FutureTask.java","lineNumber":166},{"declaringClass":"java.util.concurrent.ThreadPoolExecutor","methodName":"runWorker","fileName":"ThreadPoolExecutor.java","lineNumber":1146},{"declaringClass":"java.util.concurrent.ThreadPoolExecutor$Worker","methodName":"run","fileName":"ThreadPoolExecutor.java","lineNumber":615},{"declaringClass":"java.lang.Thread","methodName":"run","fileName":"Thread.java","lineNumber":679}]}
>         at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.fromObjectSerializedString(JobSerializerHelper.java:135)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl.unmarshallResultObject(AsyncJobManagerImpl.java:669)
>         at com.cloud.storage.VolumeApiServiceImpl.attachVolumeToVM(VolumeApiServiceImpl.java:1113)
>         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:616)
>         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.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 sun.proxy.$Proxy195.attachVolumeToVM(Unknown Source)
>         at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:123)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
>         at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
>         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 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:524)
>         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 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)
> Caused by: java.io.StreamCorruptedException: invalid stream header: 72899C96
>         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:801)
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:298)
>         at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.fromObjectSerializedString(JobSerializerHelper.java:129)
>         ... 33 more
> 2014-01-09 11:52:54,868 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-58:ctx-00a76fb8)
Remove job-169 from job monitoring
> 2014-01-09 11:52:54,876 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-48:ctx-a74413d3)
Complete async job-169, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable
to serialize: com.cloud.exception.InvalidParameterValueException/{\"idList\":[],\"uuidList\":[],\"csErrorCode\":4350,\"detailMessage\":\"Unable
to attach volume, please specify a VM that does not have VM snapshots\",\"cause\":{\"class\":\"com.cloud.exception.InvalidParameterValueException\",\"msg\":\"Unable
to attach volume, please specify a VM that does not have VM snapshots\"},\"stackTrace\":[{\"declaringClass\":\"com.cloud.storage.VolumeApiServiceImpl\",\"methodName\":\"attachVolumeToVM\",\"fileName\":\"VolumeApiServiceImpl.java\",\"lineNumber\":1193},{\"declaringClass\":\"com.cloud.storage.VolumeApiServiceImpl\",\"methodName\":\"orchestrateAttachVolumeToVM\",\"fileName\":\"VolumeApiServiceImpl.java\",\"lineNumber\":1125},{\"declaringClass\":\"com.cloud.storage.VolumeApiServiceImpl\",\"methodName\":\"orchestrateAttachVolumeToVM\",\"fileName\":\"VolumeApiServiceImpl.java\",\"lineNumber\":2400},{\"declaringClass\":\"sun.reflect.NativeMethodAccessorImpl\",\"methodName\":\"invoke0\",\"fileName\":\"NativeMethodAccessorImpl.java\",\"lineNumber\":-2},{\"declaringClass\":\"sun.reflect.N



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message