You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "edison su (JIRA)" <ji...@apache.org> on 2013/07/25 20:11:51 UTC
[jira] [Resolved] (CLOUDSTACK-3555) [VMWARE]Newly registered
Templates size is set to zero after download is complete
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
edison su resolved CLOUDSTACK-3555.
-----------------------------------
Resolution: Cannot Reproduce
I tried the same template(http://10.147.28.7/templates/vmware/CentOS5.3-x86_64.ova), the template size works well.
2013-07-25 11:39:20,074 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:) Seq 3-1408761908: { Ans: , MgmtId: 1, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"55546f09-eeb5-4b32-8d1c-a44e5cbdac73","downloadPct":100,"errorString":"Install completed successfully at 7/25/13 11:39 AM","downloadStatus":"DOWNLOADED","downloadPath":"/mnt/SecStorage/42375081-089a-347e-9752-d02fa81b86ed/template/tmpl/2/213/dnld87291683107402430tmp_","installPath":"template/tmpl/2/213/896b939f-785b-36c2-8a36-654d9fe3c0d5.ova","templateSize":2147483648,"templatePhySicalSize":459320832,"checkSum":"f6f881b7f2292948d8494db837fe0f47","result":true,"details":"Install completed successfully at 7/25/13 11:39 AM","wait":0}}] }
> [VMWARE]Newly registered Templates size is set to zero after download is complete
> -----------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3555
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3555
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Storage Controller
> Affects Versions: 4.2.0
> Reporter: Sailaja Mada
> Assignee: Min Chen
> Priority: Critical
> Attachments: apilog.log, cloud-backup.dmp, management-server.log, ROOTvolUI.png, templateUI.png
>
>
> Steps:
> 1. Configure Adv Zone with VMWARE
> 2. Register new Cent OS template
> 3. Deployed VM using this instance
> 4. Check the size of the template from template_store_ref table
> 5. Check the size of the ROOT disk of the instance which is created using this template
> Observations :
> 1. Template size is set to 0 for template
> 2. ROOT disk size is set to 0 which is created using this template.
> Note:
> This is not observed with Xenserver
> mysql> select * from template_store_ref\G;
> *************************** 1. row ***************************
> id: 3
> store_id: 1
> template_id: 8
> created: 2013-07-15 10:24:22
> last_updated: 2013-07-16 09:31:11
> job_id: NULL
> download_pct: 100
> size: 2097152000
> store_role: Image
> physical_size: 283761664
> download_state: DOWNLOADED
> error_str: NULL
> local_path: NULL
> install_path: template/tmpl/1/8/8f42153d-a165-43c2-ad24-7e7328a37e6b.ova
> url: http://download.cloud.com/templates/burbank/burbank-systemvm-08012012.ova
> state: Ready
> destroyed: 0
> is_copy: 0
> update_count: 0
> ref_cnt: 0
> updated: NULL
> *************************** 2. row ***************************
> id: 17
> store_id: 1
> template_id: 204
> created: 2013-07-16 09:31:11
> last_updated: 2013-07-16 09:33:35
> job_id: b8b85c0c-12fa-46fb-bd43-2e772b7c86fb
> download_pct: 100
> size: 0
> store_role: Image
> physical_size: 0
> download_state: DOWNLOADED
> error_str: Install completed successfully at 7/16/13 9:03 AM
> local_path: /mnt/SecStorage/756c37ec-129a-3615-a376-c8f1f77fa7aa/template/tmpl/2/204/dnld6479285553744159047tmp_
> install_path: template/tmpl/2/204/2b8a6845-d031-3d17-927c-ce1dbcb96426.ova
> url: NULL
> state: Ready
> destroyed: 0
> is_copy: 0
> update_count: 3
> ref_cnt: 0
> updated: 2013-07-16 09:33:35
> *************************** 4. row ***************************
> id: 19
> store_id: 1
> template_id: 203
> created: 2013-07-16 09:31:12
> last_updated: 2013-07-16 09:34:16
> job_id: 7e1178cf-e9a8-4c8f-b4ad-381b2561250d
> download_pct: 100
> size: 0
> store_role: Image
> physical_size: 0
> download_state: DOWNLOADED
> error_str: Install completed successfully at 7/16/13 9:04 AM
> local_path: /mnt/SecStorage/756c37ec-129a-3615-a376-c8f1f77fa7aa/template/tmpl/2/203/dnld3848286103866238688tmp_
> install_path: template/tmpl/2/203/9894babd-8cbc-332a-8fc7-609c66834716.ova
> url: NULL
> state: Ready
> destroyed: 0
> is_copy: 0
> update_count: 3
> ref_cnt: 0
> updated: 2013-07-16 09:34:16
> *************************** 5. row ***************************
> id: 20
> store_id: 1
> template_id: 205
> created: 2013-07-16 11:48:23
> last_updated: 2013-07-16 11:55:29
> job_id: d49bdb7a-3ea1-4db2-b07b-e35842a23229
> download_pct: 100
> size: 0
> store_role: Image
> physical_size: 0
> download_state: DOWNLOADED
> error_str: Install completed successfully at 7/16/13 11:25 AM
> local_path: /mnt/SecStorage/756c37ec-129a-3615-a376-c8f1f77fa7aa/template/tmpl/2/205/dnld599624653636661815tmp_
> install_path: template/tmpl/2/205/5573cdd7-94f5-3693-9ec7-7f0f5c341753.ova
> url: NULL
> state: Ready
> destroyed: 0
> is_copy: 0
> update_count: 3
> ref_cnt: 0
> updated: 2013-07-16 11:55:29
> 5 rows in set (0.00 sec)
> ROOT volume:
> *************************** 21. row ***************************
> id: 21
> account_id: 8
> domain_id: 6
> pool_id: 7
> last_pool_id: NULL
> instance_id: 13
> device_id: 0
> name: ROOT-13
> uuid: 953256f2-ace0-41d3-a7a5-2c7db77cbeb7
> size: 0
> folder: NULL
> path: ROOT-13-21
> pod_id: NULL
> data_center_id: 1
> iscsi_name: NULL
> host_ip: NULL
> volume_type: ROOT
> pool_type: NULL
> disk_offering_id: 1
> template_id: 204
> first_snapshot_backup_uuid: NULL
> recreatable: 0
> created: 2013-07-16 11:08:42
> attached: NULL
> updated: 2013-07-16 11:10:45
> removed: NULL
> state: Ready
> chain_info: NULL
> update_count: 2
> disk_type: NULL
> display_volume: 0
> format: OVA
> min_iops: NULL
> max_iops: NULL
> ************************** 22. row ***************************
> id: 22
> account_id: 8
> domain_id: 6
> pool_id: 7
> last_pool_id: NULL
> instance_id: 14
> device_id: 0
> name: ROOT-14
> uuid: 3a0afe99-84f1-4338-ad89-c31f5aa15c3e
> size: 0
> folder: NULL
> path: ROOT-14-22
> pod_id: NULL
> data_center_id: 1
> iscsi_name: NULL
> host_ip: NULL
> volume_type: ROOT
> pool_type: NULL
> disk_offering_id: 7
> template_id: 8
> first_snapshot_backup_uuid: NULL
> recreatable: 1
> created: 2013-07-16 11:08:44
> attached: NULL
> updated: 2013-07-16 11:09:17
> removed: NULL
> state: Ready
> chain_info: NULL
> update_count: 2
> disk_type: NULL
> display_volume: 0
> format: OVA
> min_iops: NULL
> max_iops: NULL
--
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