cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5013) attaching uploaded volume after upgrade fails with NPE
Date Thu, 31 Oct 2013 20:52:18 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810686#comment-13810686
] 

ASF subversion and git services commented on CLOUDSTACK-5013:
-------------------------------------------------------------

Commit f9b658f6afdbbe2b251af9ae01faf7c8594656ad in branch refs/heads/4.2 from [~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f9b658f ]

CLOUDSTACK-5013:
Add the format for volumes table for uploaded volumes. Since volume_host_ref still exists,
using that for populating it
Signed off by : nitin mehta<nitin.mehta@citrix.com>


> 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
>            Assignee: Nitin Mehta
>            Priority: Blocker
>             Fix For: 4.2.1
>
>         Attachments: cloud.dmp, cloud_after.dmp, management-server.log.tar.gz
>
>
> 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