cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shweta agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5013) attaching uploaded volume after upgrade fails with NPE
Date Thu, 31 Oct 2013 07:21:26 GMT
shweta agarwal created CLOUDSTACK-5013:
------------------------------------------

             Summary: attaching uploaded volume after upgrade fails with NPE 
                 Key: CLOUDSTACK-5013
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5013
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Volumes
    Affects Versions: 4.2.1
         Environment: Upgraded from 3.0.7 patch c to 4.2.1 with advance zone using xen 6.0.2
            Reporter: shweta agarwal
            Priority: Blocker
             Fix For: 4.2.1


Repro steps:
1. Install 3.30.7 build.
2. Upload a  volume( Volume state uploaded)
3. Upgrade to 4.2.1
4. Attache the uploaded volume to a VM 


Bug: 
Getting  Exception
Ms log shows :
i.command.user.volume.AttachVolumeCmd for job-203 = [ 43db1518-428e-41bd-ba20-583e8cb17624
]
2013-10-31 02:35:00,651 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-102:job-203
= [ 43db1518-428e-41bd-ba20-583e8cb17624 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
java.lang.NullPointerException
        at com.cloud.storage.VolumeManagerImpl.copyVolume(VolumeManagerImpl.java:1511)
        at com.cloud.storage.VolumeManagerImpl.createVolumeOnPrimaryStorage(VolumeManagerImpl.java:1553)
        at com.cloud.storage.VolumeManagerImpl.attachVolumeToVM(VolumeManagerImpl.java:1882)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        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:679)
2013-10-31 02:35:00,654 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-102:job-203
= [ 43db1518-428e-41bd-ba20-583e8cb17624 ]) Complete async job-203 = [ 43db1518-428e-41bd-ba20-583e8cb17624
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: null
2013-10-31 02:35:01,639 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===  10.146.0.132
-- GET  command=queryAsyncJobResult&jobId=13fcf87b-1697-4001-997d-472252860278&response=json&sessionkey=Pm1yY3Fn3oK%2Bo6QhGZQJymXez%2FE%3D&_=1383201302872
2013-10-31 02:35:01,655 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-3:null) Async
job-172 = [ 13fcf87b-1697-4001-997d-472252860278 ] completed
2013-10-31 02:35:01,663 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END===  10.146.0.132
-- GET  command=queryAsyncJobResult&jobId=13fcf87b-1697-4001-997d-472252860278&response=json&sessionkey=Pm1yY3Fn3oK%2Bo6QhGZQJymXez%2FE%3D&_=1383201302872



Attaching Ms log and DB dumps before upgrade and after upgrade.                          
                                                           




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message