[ https://issues.apache.org/jira/browse/CLOUDSTACK-9637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15725137#comment-15725137 ]
ASF GitHub Bot commented on CLOUDSTACK-9637: -------------------------------------------- Github user cloudmonger commented on the issue: https://github.com/apache/cloudstack/pull/1805 ### ACS CI BVT Run **Sumarry:** Build Number 157 Hypervisor xenserver NetworkType Advanced Passed=97 Failed=6 Skipped=7 _Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0 **Failed tests:** * test_snapshots.py * test_01_snapshot_root_disk Failing since 4 runs * test_network.py * test_delete_account Failed * test_non_contigiousvlan.py * test_extendPhysicalNetworkVlan Failed * test_deploy_vm_iso.py * test_deploy_vm_from_iso Failing since 28 runs * test_list_ids_parameter.py * ContextSuite context=TestListIdsParams>:setup Failing since 7 runs * test_vm_life_cycle.py * test_10_attachAndDetach_iso Failing since 29 runs **Skipped tests:** test_01_test_vm_volume_snapshot test_vm_nic_adapter_vmxnet3 test_static_role_account_acls test_11_ss_nfs_version_on_ssvm test_nested_virtualization_vmware test_3d_gpu_support test_deploy_vgpu_enabled_vm **Passed test suits:** test_deploy_vm_with_userdata.py test_affinity_groups_projects.py test_portable_publicip.py test_over_provisioning.py test_global_settings.py test_scale_vm.py test_service_offerings.py test_routers_iptables_default_policy.py test_loadbalance.py test_routers.py test_reset_vm_on_reboot.py test_deploy_vms_with_varied_deploymentplanners.py test_router_dns.py test_login.py test_public_ip_range.py test_multipleips_per_nic.py test_regions.py test_affinity_groups.py test_network_acl.py test_pvlan.py test_volumes.py test_nic.py test_deploy_vm_root_resize.py test_resource_detail.py test_secondary_storage.py test_routers_network_ops.py test_disk_offerings.py > Template create from snapshot does not populate vm_template_details > ------------------------------------------------------------------- > > Key: CLOUDSTACK-9637 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9637 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.8.0 > Environment: VMware ESX , CS 4.8.0 > Reporter: Sudhansu Sahu > Assignee: Sudhansu Sahu > > ISSUE > ============ > Template create from snapshot does not populate vm_template_details > TROUBLESHOOTING > ================== > {noformat} > mysql> select id,name,uuid,instance_name,vm_template_id from vm_instance > where uuid='453313f5-ef97-461a-94f5-0838617fe826' > -> ; > +----+-------+--------------------------------------+---------------+----------------+ > | id | name | uuid | instance_name | > vm_template_id | > +----+-------+--------------------------------------+---------------+----------------+ > | 9 | vm001 | 453313f5-ef97-461a-94f5-0838617fe826 | i-2-9-VM | > 202 | > +----+-------+--------------------------------------+---------------+----------------+ > 1 row in set (0.00 sec) > mysql> select id,name,source_template_id from vm_template where id=202; > +-----+--------+--------------------+ > | id | name | source_template_id | > +-----+--------+--------------------+ > | 202 | Debian | NULL | > +-----+--------+--------------------+ > 1 row in set (0.00 sec) > mysql> select * from vm_template_details where template_id=202; > +----+-------------+--------------------+-------+---------+ > | id | template_id | name | value | display | > +----+-------------+--------------------+-------+---------+ > | 1 | 202 | keyboard | us | 1 | > | 2 | 202 | nicAdapter | E1000 | 1 | > | 3 | 202 | rootDiskController | scsi | 1 | > +----+-------------+--------------------+-------+---------+ > 3 rows in set (0.00 sec) > mysql> select id,name,source_template_id from vm_template where > source_template_id=202; > +-----+----------------+--------------------+ > | id | name | source_template_id | > +-----+----------------+--------------------+ > | 203 | derived-debian | 202 | > +-----+----------------+--------------------+ > 1 row in set (0.00 sec) > mysql> select * from vm_template_details where template_id=203; > Empty set (0.00 sec) > {noformat} > REPRO STEPS > ================== > 1. Register a template A and specify property: > Root disk controller: scsi > NIC adapter type: E1000 > Keyboard type: us > 2. Create a vm instance from template A > 3. Take volume snapshot for vm instance > 4. Delete VM instance > 5. Switch to "Storage->Snapshots", convert snapshot to a template B > 6. Observe template B does not inherit property from template A, the table > vm_template_details is empty > EXPECTED BEHAVIOR > ================== > Template should inherit property from source template > > ACTUAL BEHAVIOR > ================== > Detail template property lost -- This message was sent by Atlassian JIRA (v6.3.4#6332)