You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2013/07/15 08:46:50 UTC
[jira] [Created] (CLOUDSTACK-3526) Upload Volumes state is
displayed as UploadError with listVolumes when download is inprogress
Sailaja Mada created CLOUDSTACK-3526:
----------------------------------------
Summary: Upload Volumes state is displayed as UploadError with listVolumes when download is inprogress
Key: CLOUDSTACK-3526
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3526
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API, Storage Controller
Affects Versions: 4.2.0
Reporter: Sailaja Mada
Steps:
1. Configure Adv networking zone with Xen
2. Tried add new volume using upload volume.
3. Tried to get the state of the volume using listvolumes/UI
Observation:
1. Upload Volumes state is displayed as UploadError with listVolumes when download is inprogress
2. DB state is uploadop for this volume and even the log says Download is in progress
3. It is incorrect state.
mysql> select * from volumes where state='UploadOp'\G;
*************************** 1. row ***************************
id: 29
account_id: 6
domain_id: 1
pool_id: NULL
last_pool_id: NULL
instance_id: NULL
device_id: NULL
name: uploadvol1
uuid: 037c3c4e-5bc1-4574-b0d4-2d91b7d29ea8
size: 0
folder: NULL
path: NULL
pod_id: NULL
data_center_id: 1
iscsi_name: NULL
host_ip: NULL
volume_type: DATADISK
pool_type: NULL
disk_offering_id: 6
template_id: NULL
first_snapshot_backup_uuid: NULL
recreatable: 0
created: 2013-07-15 06:21:54
attached: NULL
updated: 2013-07-15 06:21:54
removed: NULL
state: UploadOp
chain_info: NULL
update_count: 1
disk_type: NULL
display_volume: 0
format: VHD
min_iops: NULL
max_iops: NULL
2013-07-15 12:12:27,314 DEBUG [agent.transport.Request] (DirectAgent-221:null) Seq 1-230817798: Processing: { Ans: , MgmtId: 280320865129348, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
2013-07-15 12:12:33,315 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-3:null) SeqA 3-43821: Processing Seq 3-43821: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] }
2013-07-15 12:12:33,318 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-3:null) SeqA 3-43821: Sending Seq 3-43821: { Ans: , MgmtId: 280320865129348, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2013-07-15 12:12:41,014 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM
2013-07-15 12:12:41,019 DEBUG [agent.transport.Request] (Timer-8:null) Seq 2-1376587826: Sending { Cmd , MgmtId: 280320865129348, via: 2, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"a78618fb-4dc1-4015-8c8a-0d1180a94c5c","request":"GET_STATUS","hvm":false,"maxDownloadSizeInBytes":536870912000,"id":29,"resourceType":"VOLUME","installPath":"volumes/6/29","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/abhinav/xen42-sec","_role":"Image"}},"url":"http://10.147.28.7/templates/393d3550-05ef-330f-9b8c-745b0e699759.vhd","format":"VHD","accountId":6,"name":"uploadvol1","wait":0}}] }
2013-07-15 12:12:41,084 DEBUG [agent.transport.Request] (AgentManager-Handler-7:null) Seq 2-1376587826: Processing: { Ans: , MgmtId: 280320865129348, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"a78618fb-4dc1-4015-8c8a-0d1180a94c5c","downloadPct":52,"errorString":" ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/ff05d1cd-034d-3032-9adc-3d7451d838fb/volumes/6/29/dnld7207341898530326980tmp_","installPath":"volumes/6/29","templateSize":0,"templatePhySicalSize":0,"result":true,"details":" ","wait":0}}] }
2013-07-15 12:12:41,436 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-07-15 12:12:42,385 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 2 routers to update status.
2013-07-15 12:12:42,386 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2013-07-15 12:12:42,514 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 2 routers to update status.
2013-07-15 12:12:42,515 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2013-07-15 12:12:42,787 DEBUG [agent.transport.Request] (Timer-9:null) Seq 2-1376587827: Sending { Cmd , MgmtId: 280320865129348, via: 2, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"d96e75d4-4a14-4cab-8a53-6ec7ff28e932","request":"GET_STATUS","hvm":false,"maxDownloadSizeInBytes":536870912000,"id":30,"resourceType":"VOLUME","installPath":"volumes/6/30","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/abhinav/xen42-sec","_role":"Image"}},"url":"http://10.147.28.7/templates/393d3550-05ef-330f-9b8c-745b0e699759.vhd","format":"VHD","accountId":6,"name":"uploadvol2","wait":0}}] }
2013-07-15 12:12:42,832 DEBUG [agent.transport.Request] (AgentManager-Handler-14:null) Seq 2-1376587827: Processing: { Ans: , MgmtId: 280320865129348, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"d96e75d4-4a14-4cab-8a53-6ec7ff28e932","downloadPct":41,"errorString":" ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/ff05d1cd-034d-3032-9adc-3d7451d838fb/volumes/6/30/dnld6854690808479638762tmp_","installPath":"volumes/6/30","templateSize":0,"templatePhySicalSize":0,"result":true,"details":" ","wait":0}}] }
2013-07-15 12:12:43,316 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 3-43822: Processing Seq 3-43822: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] }
2013-07-15 12:12:43,319 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 3-43822: Sending Seq 3-43822: { Ans: , MgmtId: 280320865129348, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
--
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