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-4287) Builtin template Ready Status is No even after the Status is downlaod complete
Date Wed, 14 Aug 2013 13:15:49 GMT

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

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

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

CLOUDSTACK-4287
Builtin template Ready Status is No even after the Status is downlaod complete. The reason
was that template sync updates only the template download state but not the state. Fixing
that. Ideally we should change the state through state machine only.
Signed off by : nitin mehta<nitin.mehta@citrix.com>

                
> Builtin template Ready Status is No even after the Status is downlaod complete
> ------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4287
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4287
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Template
>    Affects Versions: 4.2.0
>            Reporter: Kiran Koneti
>            Assignee: Nitin Mehta
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: Builin_readyno.jpg, management-server.zip, managemntLog_Latest.zip
>
>
> 1)Created a VMware setup and once the System Vm's are up waited for the Built-in template
to download.
> 2)The logs show the template is downloaded and even the UI shows the same ,i.e the download
status is download complete but the Ready status is NO.
> 3)tried to add another template manually then the the template status is shown as ready
Yes after the status is download complete.
> The DB details:
> mysql> select * from vm_template where id=7\G;
> *************************** 1. row ***************************
>                   id: 7
>          unique_name: centos53-x64
>                 name: CentOS 5.3(64-bit) no GUI (vSphere)
>                 uuid: 76ec5290-0421-11e3-bff1-06ecde000018
>               public: 1
>             featured: 1
>                 type: BUILTIN
>                  hvm: 0
>                 bits: 64
>                  url: http://10.147.28.7/releases/2.2.0/CentOS5.3-x86_64.ova
>               format: OVA
>              created: 2013-08-13 19:35:52
>              removed: NULL
>           account_id: 1
>             checksum: f6f881b7f2292948d8494db837fe0f47
>         display_text: CentOS 5.3(64-bit) no GUI (vSphere)
>      enable_password: 0
>        enable_sshkey: 0
>          guest_os_id: 12
>             bootable: 1
>          prepopulate: 0
>          cross_zones: 1
>          extractable: 1
>      hypervisor_type: VMware
>   source_template_id: NULL
>         template_tag: NULL
>             sort_key: 0
>                 size: 2147483648
>                state: Allocated
>         update_count: 0
>              updated: NULL
> --------------------------------------------------------------------------------------------------------------------------------------------
> mysql> select * from template_spool_ref\G;
> *************************** 1. row ***************************
>             id: 1
>        pool_id: 1
>    template_id: 8
>        created: 2013-08-13 14:13:09
>   last_updated: NULL
>         job_id: NULL
>   download_pct: 100
> download_state: DOWNLOADED
>      error_str: NULL
>     local_path: 403b81265a9635c791f583145591c126
>   install_path: 403b81265a9635c791f583145591c126
>  template_size: 0
>  marked_for_gc: 0
>          state: Ready
>   update_count: 2
>        updated: 2013-08-13 14:14:30
> 1 row in set (0.00 sec)
> -------------------------------------------------------------------------------------------------------------------------------------------
> mysql> select * from template_store_ref\G;
> *************************** 1. row ***************************
>                   id: 3
>             store_id: 1
>          template_id: 8
>              created: 2013-08-13 14:12:40
>         last_updated: 2013-08-13 14:21:37
>               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/8b563cb6-dab7-402a-8c13-3bc16d95328d.ova
>                  url: http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova
>         download_url: NULL
> download_url_created: NULL
>                state: Ready
>            destroyed: 0
>              is_copy: 0
>         update_count: 0
>              ref_cnt: 0
>              updated: NULL
> *************************** 2. row ***************************
>                   id: 7
>             store_id: 1
>          template_id: 7
>              created: 2013-08-13 14:21:37
>         last_updated: 2013-08-13 14:23:33
>               job_id: 8ea28f5a-8009-4f87-82d1-d914f3a14a63
>         download_pct: 100
>                 size: 2147483648
>           store_role: Image
>        physical_size: 459320832
>       download_state: DOWNLOADED
>            error_str: Install completed successfully at 8/13/13 8:58 AM
>           local_path: /mnt/SecStorage/ec67adf1-b86c-3674-ad7f-46ddd34d104f/template/tmpl/1/7/dnld5471335544861721884tmp_
>         install_path: template/tmpl/1/7/ab2e2080-408e-3453-acb9-4265a6126be7.ova
>                  url: NULL
>         download_url: NULL
> download_url_created: NULL
>                state: Allocated
>            destroyed: 0
>              is_copy: 0
>         update_count: 2
>              ref_cnt: 0
>              updated: 2013-08-13 14:22:26
> 2 rows in set (0.00 sec)

--
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