Priyank Parihar created CLOUDSTACK-9608:
-------------------------------------------
Summary: Deploy VM from VMSnapshot doesn't carry over advanced vm
details from source instance.
Key: CLOUDSTACK-9608
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9608
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Priyank Parihar
Assignee: Priyank Parihar
ISSUE
=====
Deploy from instanceSnapshot doesn't carry over advanced vm details from source
instance.
DESCRIPTION
==========
When we create a VM from vmsnapshot, the settings of the VM from
user_vm_details are copied from source VM correctly. This is causing the
failure to boot the VM (atleast with win 10 in customers environment).
Below are the details
1. Deployed new Windows 10 VM w10-src, uuid
25a94a97-facc-410c-8ee2-d40634b8a18f , vm name i-2-162080-VM All good as seen
on screenshot
!image001.png|thumbnail!
2. Created Vmsnapshot d8eeb986-f49a-4263-871a-620fbf6e5a2f and deployed VM
w10-clone, UUID 9da64da6-7bbf-43ed-997c-3e02b4fe40b0, vm name i-2-162081-VM
3. Process completed but VM is not booted as below
!image002.png|thumbnail!
Looking on vm details you see the difference
mysql> select * from user_vm_details where vm_id=162081 or vm_id=162080;
+---------+--------+------------------------------------+------------+---------+
| id | vm_id | name | value | display |
+---------+--------+------------------------------------+------------+---------+
| 1563135 | 162080 | cloud.uuid | cloudstack | 1 |
| 1563137 | 162080 | dataDiskController | lsisas1068 | 1 |
| 1563139 | 162080 | Message.ReservedCapacityFreed.Flag | true | 1 |
| 1563141 | 162080 | firmware | efi | 1 |
| 1563142 | 162080 | nicAdapter | Vmxnet3 | 1 |
| 1563143 | 162080 | rootDiskController | lsisas1068 | 1 |
| 1563144 | 162080 | cpuOvercommitRatio | 4 | 1 |
| 1563145 | 162080 | memoryOvercommitRatio | 2.0 | 1 |
| 1563147 | 162081 | dataDiskController | osdefault | 1 |
| 1563148 | 162081 | rootDiskController | ide | 1 |
| 1563149 | 162081 | cpuOvercommitRatio | 4 | 1 |
| 1563150 | 162081 | memoryOvercommitRatio | 2.0 | 1 |
+---------+--------+------------------------------------+------------+---------+
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)