[ https://issues.apache.org/jira/browse/CLOUDSTACK-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sheng Yang updated CLOUDSTACK-3120: ----------------------------------- Description: Which result in cannot add baremetal vm in the UI, but still able to see it in the templates list panel. Here is api call from UI: command=listTemplates&templatefilter=selfexecutable&zoneid=16ad27a1-e984-4bc1-99ac-f734ccb4e2f1 Here is the entry for baremetal in template_view: id: 202 uuid: e0daeab0-89ee-4ec7-b97c-90f41bebcd10 unique_name: 202-1-c8cf4827-ac2c-3e36-9878-d327c294bbec name: Baremetal-centos63 public: 1 featured: 1 type: USER hvm: 1 bits: 64 url: ks=http://nfs1.lab.vmops.com/baremetal/rhel63.ks;kernel=10.223.110.231:/var/www/html/baremetal/centos63pxe/vmlinuz;initrd=10.223.110.231:/var/www/html/baremetal/centos63pxe/initrd.img format: BAREMETAL created: 2013-06-21 17:16:27 checksum: NULL display_text: bm3 enable_password: 0 guest_os_id: 99 guest_os_uuid: e9a1f1e3-da95-11e2-b7d9-002219d77204 guest_os_name: Other Linux (64-bit) bootable: 1 prepopulate: 0 cross_zones: 1 hypervisor_type: BareMetal extractable: 0 template_tag: NULL sort_key: 0 removed: NULL enable_sshkey: 0 source_template_id: NULL source_template_uuid: NULL account_id: 1 account_uuid: ea21b9f2-da95-11e2-b7d9-002219d77204 account_name: system account_type: 1 domain_id: 1 domain_uuid: ea21afed-da95-11e2-b7d9-002219d77204 domain_name: ROOT domain_path: / project_id: NULL project_uuid: NULL project_name: NULL data_center_id: 1 data_center_uuid: 16ad27a1-e984-4bc1-99ac-f734ccb4e2f1 data_center_name: BareMetal Zone lp_account_id: NULL store_id: NULL state: NULL download_state: NULL download_pct: NULL error_str: NULL size: NULL destroyed: NULL created_on_store: NULL detail_name: NULL detail_value: NULL tag_id: NULL tag_uuid: NULL tag_key: NULL tag_value: NULL tag_domain_id: NULL tag_account_id: NULL tag_resource_id: NULL tag_resource_uuid: NULL tag_resource_type: NULL tag_customer: NULL was: Which result in cannot add baremetal vm in the UI, but still able to list in the templates view. Here is api call from UI: command=listTemplates&templatefilter=selfexecutable&zoneid=16ad27a1-e984-4bc1-99ac-f734ccb4e2f1 Here is the entry for baremetal in template_view: id: 202 uuid: e0daeab0-89ee-4ec7-b97c-90f41bebcd10 unique_name: 202-1-c8cf4827-ac2c-3e36-9878-d327c294bbec name: Baremetal-centos63 public: 1 featured: 1 type: USER hvm: 1 bits: 64 url: ks=http://nfs1.lab.vmops.com/baremetal/rhel63.ks;kernel=10.223.110.231:/var/www/html/baremetal/centos63pxe/vmlinuz;initrd=10.223.110.231:/var/www/html/baremetal/centos63pxe/initrd.img format: BAREMETAL created: 2013-06-21 17:16:27 checksum: NULL display_text: bm3 enable_password: 0 guest_os_id: 99 guest_os_uuid: e9a1f1e3-da95-11e2-b7d9-002219d77204 guest_os_name: Other Linux (64-bit) bootable: 1 prepopulate: 0 cross_zones: 1 hypervisor_type: BareMetal extractable: 0 template_tag: NULL sort_key: 0 removed: NULL enable_sshkey: 0 source_template_id: NULL source_template_uuid: NULL account_id: 1 account_uuid: ea21b9f2-da95-11e2-b7d9-002219d77204 account_name: system account_type: 1 domain_id: 1 domain_uuid: ea21afed-da95-11e2-b7d9-002219d77204 domain_name: ROOT domain_path: / project_id: NULL project_uuid: NULL project_name: NULL data_center_id: 1 data_center_uuid: 16ad27a1-e984-4bc1-99ac-f734ccb4e2f1 data_center_name: BareMetal Zone lp_account_id: NULL store_id: NULL state: NULL download_state: NULL download_pct: NULL error_str: NULL size: NULL destroyed: NULL created_on_store: NULL detail_name: NULL detail_value: NULL tag_id: NULL tag_uuid: NULL tag_key: NULL tag_value: NULL tag_domain_id: NULL tag_account_id: NULL tag_resource_id: NULL tag_resource_uuid: NULL tag_resource_type: NULL tag_customer: NULL > ListTemplates didn't return Baremetal templates after storage refactor > ---------------------------------------------------------------------- > > Key: CLOUDSTACK-3120 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3120 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller > Reporter: Sheng Yang > Priority: Blocker > Fix For: 4.2.0 > > > Which result in cannot add baremetal vm in the UI, but still able to see it > in the templates list panel. > Here is api call from UI: > command=listTemplates&templatefilter=selfexecutable&zoneid=16ad27a1-e984-4bc1-99ac-f734ccb4e2f1 > Here is the entry for baremetal in template_view: > id: 202 > uuid: e0daeab0-89ee-4ec7-b97c-90f41bebcd10 > unique_name: 202-1-c8cf4827-ac2c-3e36-9878-d327c294bbec > name: Baremetal-centos63 > public: 1 > featured: 1 > type: USER > hvm: 1 > bits: 64 > url: > ks=http://nfs1.lab.vmops.com/baremetal/rhel63.ks;kernel=10.223.110.231:/var/www/html/baremetal/centos63pxe/vmlinuz;initrd=10.223.110.231:/var/www/html/baremetal/centos63pxe/initrd.img > format: BAREMETAL > created: 2013-06-21 17:16:27 > checksum: NULL > display_text: bm3 > enable_password: 0 > guest_os_id: 99 > guest_os_uuid: e9a1f1e3-da95-11e2-b7d9-002219d77204 > guest_os_name: Other Linux (64-bit) > bootable: 1 > prepopulate: 0 > cross_zones: 1 > hypervisor_type: BareMetal > extractable: 0 > template_tag: NULL > sort_key: 0 > removed: NULL > enable_sshkey: 0 > source_template_id: NULL > source_template_uuid: NULL > account_id: 1 > account_uuid: ea21b9f2-da95-11e2-b7d9-002219d77204 > account_name: system > account_type: 1 > domain_id: 1 > domain_uuid: ea21afed-da95-11e2-b7d9-002219d77204 > domain_name: ROOT > domain_path: / > project_id: NULL > project_uuid: NULL > project_name: NULL > data_center_id: 1 > data_center_uuid: 16ad27a1-e984-4bc1-99ac-f734ccb4e2f1 > data_center_name: BareMetal Zone > lp_account_id: NULL > store_id: NULL > state: NULL > download_state: NULL > download_pct: NULL > error_str: NULL > size: NULL > destroyed: NULL > created_on_store: NULL > detail_name: NULL > detail_value: NULL > tag_id: NULL > tag_uuid: NULL > tag_key: NULL > tag_value: NULL > tag_domain_id: NULL > tag_account_id: NULL > tag_resource_id: NULL > tag_resource_uuid: NULL > tag_resource_type: NULL > tag_customer: 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