[jira] [Commented] (CLOUDSTACK-2054) [Automation]Failed to upload volume with NPE
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13652870#comment-13652870 ] Nitin Mehta commented on CLOUDSTACK-2054: - Sailaja - Can you please close the ticket then ? In case Rayees is able to reproduce this he can reopen this. > [Automation]Failed to upload volume with NPE > > > Key: CLOUDSTACK-2054 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2054 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes >Affects Versions: 4.2.0 > Environment: KVM and VMware >Reporter: Rayees Namathponnan >Priority: Blocker > Fix For: 4.2.0 > > Attachments: CLOUDSTACK-2054.rar > > > Found this issue while executing regression test case "test_upload_volumes.py" > Step 1 : Create master build, install and configure advanced zone > Step 2 : upload volume ".vhd" file , size 1 GB > Actual result > Upload failed with NPE > eryAsyncJobResult&jobId=960459e9-a299-4552-a56c-d11522271c4d&response=json&sessionkey=vp9T6C4z5OzLwUgMljRFFe2bUo0%3D&_=1366147860238 > 2013-04-16 17:34:00,975 ERROR [cloud.async.AsyncJobManagerImpl] > (Job-Executor-9:job-2285) Unexpected exception while executing > org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd > java.lang.NumberFormatException: null > at java.lang.Long.parseLong(Long.java:401) > at java.lang.Long.parseLong(Long.java:478) > at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:95) > at > com.cloud.storage.VolumeManagerImpl.validateVolume(VolumeManagerImpl.java:478) > at > com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:377) > at > com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at > com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:175) > at > org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:121) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164) > at > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) > 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-04-16 17:34:00,976 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-9:job-2285) Complete async job-2285, jobStatus: 2, resultCode: > 530, result: Error Code: 530 Error text: null > 2013-04-16 17:34:01,620 DEBUG [storage.secondary.SecondaryStorageManagerImpl] > (secstorage-1:null) Zone 2 is ready to launch secondary storage VM > 2013-04-16 17:34:02,028 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] > (consoleproxy-1:null) Zone 2 is ready to launch console proxy -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLOUDSTACK-2054) [Automation]Failed to upload volume with NPE
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645173#comment-13645173 ] Sailaja Mada commented on CLOUDSTACK-2054: -- Rayees, I tried with latest build upload volume worked fine. There are issues with this volume while attaching to the instance . This is tracked as a different defect . Can you please retry this operation and update the ticket. > [Automation]Failed to upload volume with NPE > > > Key: CLOUDSTACK-2054 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2054 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes >Affects Versions: 4.2.0 > Environment: KVM and VMware >Reporter: Rayees Namathponnan >Priority: Blocker > Fix For: 4.2.0 > > Attachments: CLOUDSTACK-2054.rar > > > Found this issue while executing regression test case "test_upload_volumes.py" > Step 1 : Create master build, install and configure advanced zone > Step 2 : upload volume ".vhd" file , size 1 GB > Actual result > Upload failed with NPE > eryAsyncJobResult&jobId=960459e9-a299-4552-a56c-d11522271c4d&response=json&sessionkey=vp9T6C4z5OzLwUgMljRFFe2bUo0%3D&_=1366147860238 > 2013-04-16 17:34:00,975 ERROR [cloud.async.AsyncJobManagerImpl] > (Job-Executor-9:job-2285) Unexpected exception while executing > org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd > java.lang.NumberFormatException: null > at java.lang.Long.parseLong(Long.java:401) > at java.lang.Long.parseLong(Long.java:478) > at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:95) > at > com.cloud.storage.VolumeManagerImpl.validateVolume(VolumeManagerImpl.java:478) > at > com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:377) > at > com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at > com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:175) > at > org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:121) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164) > at > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) > 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-04-16 17:34:00,976 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-9:job-2285) Complete async job-2285, jobStatus: 2, resultCode: > 530, result: Error Code: 530 Error text: null > 2013-04-16 17:34:01,620 DEBUG [storage.secondary.SecondaryStorageManagerImpl] > (secstorage-1:null) Zone 2 is ready to launch secondary storage VM > 2013-04-16 17:34:02,028 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] > (consoleproxy-1:null) Zone 2 is ready to launch console proxy -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLOUDSTACK-2054) [Automation]Failed to upload volume with NPE
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633859#comment-13633859 ] Mice Xia commented on CLOUDSTACK-2054: -- cannot reproduce with master: f0d6776225530232b91ed03f33f60886cebdd84c before uploadVolume, mgmt server needs to check remote file size, which is obtained from HTTP header 'content-length', please check if your http server enabled this header for binary file > [Automation]Failed to upload volume with NPE > > > Key: CLOUDSTACK-2054 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2054 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes >Affects Versions: 4.2.0 > Environment: KVM and VMware >Reporter: Rayees Namathponnan >Priority: Blocker > Fix For: 4.2.0 > > Attachments: CLOUDSTACK-2054.rar > > > Found this issue while executing regression test case "test_upload_volumes.py" > Step 1 : Create master build, install and configure advanced zone > Step 2 : upload volume ".vhd" file , size 1 GB > Actual result > Upload failed with NPE > eryAsyncJobResult&jobId=960459e9-a299-4552-a56c-d11522271c4d&response=json&sessionkey=vp9T6C4z5OzLwUgMljRFFe2bUo0%3D&_=1366147860238 > 2013-04-16 17:34:00,975 ERROR [cloud.async.AsyncJobManagerImpl] > (Job-Executor-9:job-2285) Unexpected exception while executing > org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd > java.lang.NumberFormatException: null > at java.lang.Long.parseLong(Long.java:401) > at java.lang.Long.parseLong(Long.java:478) > at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:95) > at > com.cloud.storage.VolumeManagerImpl.validateVolume(VolumeManagerImpl.java:478) > at > com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:377) > at > com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at > com.cloud.storage.VolumeManagerImpl.uploadVolume(VolumeManagerImpl.java:175) > at > org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:121) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:164) > at > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) > 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-04-16 17:34:00,976 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-9:job-2285) Complete async job-2285, jobStatus: 2, resultCode: > 530, result: Error Code: 530 Error text: null > 2013-04-16 17:34:01,620 DEBUG [storage.secondary.SecondaryStorageManagerImpl] > (secstorage-1:null) Zone 2 is ready to launch secondary storage VM > 2013-04-16 17:34:02,028 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] > (consoleproxy-1:null) Zone 2 is ready to launch console proxy -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira