cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajani Karuturi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-8775) [HyperV]NPE while attaching Local storage volume to instance whose root volume is on ZWPS.
Date Fri, 27 Nov 2015 12:28:13 GMT

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

Rajani Karuturi updated CLOUDSTACK-8775:
----------------------------------------
    Fix Version/s:     (was: 4.6.0)
                   4.6.1

> [HyperV]NPE while attaching Local storage volume to instance whose root volume is on
ZWPS.
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8775
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8775
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.6.0
>            Reporter: Deepthi Machiraju
>             Fix For: 4.6.1
>
>         Attachments: management-server.rar, mysqldump.dmp
>
>
> - Create a custom disk offering which has the tag of Localstorage.
> - Navigate to Storage and Click on Upload and select the above disk offering with the
file URL.
> - After the upload is complete , try attaching the to the instance whose root volume
resides on zone wide primary storage.
> Expected Result : 
> - Attach should be sucessful
> Observation :
> Attach is failing with NPE and below is the trace.
> Note : When the root volume is on CLuster storage , volume attch of local storage is
sucessful.
> ========================================================
> 2015-08-26 08:07:59,045 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183 ctx-20cae27f) ZoneWideStoragePoolAllocator to find storage pool
> 2015-08-26 08:07:59,045 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183 ctx-20cae27f) Invocation exception, caused by: java.lang.NullPointerException
> 2015-08-26 08:07:59,045 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183 ctx-20cae27f) Rethrow exception java.lang.NullPointerException
> 2015-08-26 08:07:59,045 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Done with run of VM work job: com.cloud.vm.VmWorkAttachVolume for VM 3, job
origin: 182
> 2015-08-26 08:07:59,045 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Unable to complete AsyncJobVO {id:183, userId: 2, accountId: 2, instanceType:
null, instanceId: null, cmd: com.cloud.vm.VmWorkAttachVolume, cmdInfo: rO0ABXNyAB9jb20uY2xvdWQudm0uVm1Xb3JrQXR0YWNoVm9sdW1lB62v-WGH4hwCAAJMAAhkZXZpY2VJZHQAEExqYXZhL2xhbmcvTG9uZztMAAh2b2x1bWVJZHEAfgABeHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAADdAAUVm9sdW1lQXBpU2VydmljZUltcGxwc3IADmphdmEubGFuZy5Mb25nO4vkkMyPI98CAAFKAAV2YWx1ZXhyABBqYXZhLmxhbmcuTnVtYmVyhqyVHQuU4IsCAAB4cAAAAAAAAAAp,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
227345751881375, completeMsid: null, lastUpdated: null, lastPolled: null, created: Wed Aug
26 08:07:57 UTC 2015}, job origin:182
> java.lang.NullPointerException
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.copyVolumeFromSecToPrimary(VolumeOrchestrator.java:463)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.copyVolume(VolumeOrchestrator.java:776)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeOnPrimaryStorage(VolumeOrchestrator.java:796)
>         at com.cloud.storage.VolumeApiServiceImpl.orchestrateAttachVolumeToVM(VolumeApiServiceImpl.java:1321)
>         at com.cloud.storage.VolumeApiServiceImpl.orchestrateAttachVolumeToVM(VolumeApiServiceImpl.java:2837)
>         at sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at com.cloud.storage.VolumeApiServiceImpl.handleVmWorkJob(VolumeApiServiceImpl.java:2876)
>         at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         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 $Proxy195.handleVmWorkJob(Unknown Source)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
>         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:494)
>         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:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2015-08-26 08:07:59,047 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Complete async job-183, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyAB5qYXZhLmxhbmcuTnVsbFBvaW50ZXJFeGNlcHRpb25HpaGO_zHhuAIAAHhyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAARMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcvU3RhY2tUcmFjZUVsZW1lbnQ7TAAUc3VwcHJlc3NlZEV4Y2VwdGlvbnN0ABBMamF2YS91dGlsL0xpc3Q7eHBxAH4ACHB1cgAeW0xqYXZhLmxhbmcuU3RhY2tUcmFjZUVsZW1lbnQ7AkYqPDz9IjkCAAB4cAAAACJzcgAbamF2YS5sYW5nLlN0YWNrVHJhY2VFbGVtZW50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eGVjdXRvciRXb3JrZXJxAH4AYXEAfgBJc3EAfgALAAAC0nQAEGphdmEubGFuZy5UaHJlYWR0AAtUaHJlYWQuamF2YXEAfgBJc3IAJmphdmEudXRpbC5Db2xsZWN0aW9ucyRVbm1vZGlmaWFibGVMaXN0_A8lMbXsjhACAAFMAARsaXN0cQB-AAd4cgAsamF2YS51dGlsLkNvbGxlY3Rpb25zJFVubW9kaWZpYWJsZUNvbGxlY3Rpb24ZQgCAy173HgIAAUwAAWN0ABZMamF2YS91dGlsL0NvbGxlY3Rpb247eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAAAHcEAAAAAHhxAH4AbXg
> 2015-08-26 08:07:59,048 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Publish async job-183 complete on message bus
> 2015-08-26 08:07:59,048 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Wake up jobs related to job-183
> 2015-08-26 08:07:59,048 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Update db status for job-183
> 2015-08-26 08:07:59,049 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Wake up jobs joined with job-183 and disjoin all subjobs created from job-
183
> 2015-08-26 08:07:59,060 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Done executing com.cloud.vm.VmWorkAttachVolume for job-183
> 2015-08-26 08:07:59,062 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-69:ctx-754f463c
job-182/job-183) Remove job-183 from job monitoring
> 2015-08-26 08:07:59,085 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-87:ctx-3027d20c
job-182) Unexpected exception while executing org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin
> java.lang.NullPointerException
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.copyVolumeFromSecToPrimary(VolumeOrchestrator.java:463)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.copyVolume(VolumeOrchestrator.java:776)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.createVolumeOnPrimaryStorage(VolumeOrchestrator.java:796)
>         at com.cloud.storage.VolumeApiServiceImpl.orchestrateAttachVolumeToVM(VolumeApiServiceImpl.java:1321)
>         at com.cloud.storage.VolumeApiServiceImpl.orchestrateAttachVolumeToVM(VolumeApiServiceImpl.java:2837)
>         at sun.reflect.GeneratedMethodAccessor379.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at com.cloud.storage.VolumeApiServiceImpl.handleVmWorkJob(VolumeApiServiceImpl.java:2876)
>         at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         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 $Proxy195.handleVmWorkJob(Unknown Source)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
>         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:494)
>         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:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2015-08-26 08:07:59,086 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-87:ctx-3027d20c
job-182) Complete async job-182, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
> 2015-08-26 08:07:59,087 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-87:ctx-3027d20c
job-182) Publish async job-182 complete on message bus
> =======================================
> Attaching Ms logs and db dump



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

Mime
View raw message