Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D512410D1C for ; Wed, 14 Aug 2013 11:42:02 +0000 (UTC) Received: (qmail 59014 invoked by uid 500); 14 Aug 2013 11:41:57 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 58984 invoked by uid 500); 14 Aug 2013 11:41:57 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 58868 invoked by uid 500); 14 Aug 2013 11:41:53 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 58801 invoked by uid 99); 14 Aug 2013 11:41:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 11:41:52 +0000 Date: Wed, 14 Aug 2013 11:41:52 +0000 (UTC) From: "Nitin Mehta (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4287) Builtin template Ready Status is No even after the Status is downlaod complete MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13739551#comment-13739551 ] Nitin Mehta commented on CLOUDSTACK-4287: ----------------------------------------- I see two entries for the same template id=5. But here the entries are in Creating unlike the last time being in Allocated state. mysql> select * from template_store_ref where template_id=5\G;; *************************** 1. row *************************** id: 6 store_id: 1 template_id: 5 created: 2013-08-14 09:40:18 last_updated: 2013-08-14 10:05:46 job_id: 0f6600bb-8a5d-412c-8f4f-56b16e789e37 download_pct: 100 size: 21474836480 store_role: Image physical_size: 1758786048 download_state: DOWNLOADED error_str: local_path: /mnt/SecStorage/8f904684-a176-361b-b546-70a5a7f3b414/template/tmpl/1/5/dnld5574810026862330651tmp_ install_path: template/tmpl/1/5/c831a80f-d5d8-3054-9ff3-da85376e49c5.vhd url: NULL download_url: NULL download_url_created: NULL state: Creating destroyed: 0 is_copy: 0 update_count: 1 ref_cnt: 0 updated: 2013-08-14 09:40:18 *************************** 2. row *************************** id: 10 store_id: 1 template_id: 5 created: 2013-08-14 10:58:44 last_updated: 2013-08-14 10:59:04 job_id: NULL download_pct: 100 size: 21474836480 store_role: Image physical_size: 1758786048 download_state: DOWNLOADED error_str: local_path: NULL install_path: template/tmpl/1/5/c831a80f-d5d8-3054-9ff3-da85376e49c5.vhd url: NULL download_url: NULL download_url_created: NULL state: Creating destroyed: 0 is_copy: 0 update_count: 1 ref_cnt: 0 updated: 2013-08-14 10:58:45 2 rows in set (0.00 sec) > 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