cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3555) [VMWARE]Newly registered Templates size is set to zero after download is complete
Date Wed, 24 Jul 2013 01:09:46 GMT

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

Min Chen commented on CLOUDSTACK-3555:
--------------------------------------

This is not caused by object_store refactor. In VmdkProcessor.process, we can see that our
code is still using .ova file to get file size after untar ova package. Since .ova file does
not exist anymore, the size will be 0. The issue is not reflected in 4.1 is because in 4.2
we recently added requirement for non-zero template size to launch a VM.
                
> [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

Mime
View raw message