Bug 1003523

Summary: [engine] vnic_profile_id is not copied to new vm when cloning vm from snapshot
Product: Red Hat Enterprise Virtualization Manager Reporter: Gadi Ickowicz <gickowic>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3.0CC: acathrow, iheim, lpeer, myakove, nlevinki, Rhev-m-bugs, srevivo, yeylon
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: is14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm + engine logs
none
VM2 now has vNicProfile none

Description Gadi Ickowicz 2013-09-02 09:10:48 UTC
Created attachment 792770 [details]
vdsm + engine logs

Description of problem:
When cloning a vm from snapshot the new vm's vnic_profile_id is blank, and the vm does not get an IP when booting up.

engine=# select * from vm_interface;
                  id                  |               vm_guid                | vmt_guid |     mac_addr      | name | speed | type |         _create_date          | _update_date | linked |           vnic_profile_id
            
--------------------------------------+--------------------------------------+----------+-------------------+------+-------+------+-------------------------------+--------------+--------+--------------------------
------------
 4a96568d-999a-496b-8736-c25f5ddf622d | cb360a32-b71c-41c3-8b8c-b429c88b9418 |          | 00:1a:4a:16:81:bc | nic1 |  1000 |    3 | 2013-09-02 10:53:31.368373+03 |              | t      | a7c50b98-e8ca-4d92-a7a2-2
474efc7f718
 9a28a9a7-a04f-4ac8-9514-ced71cc0ab5f | f6f1981d-c53a-45bc-8a89-f08ba4768eef |          | 00:1a:4a:16:81:bd | nic1 |  1000 |    3 | 2013-09-02 10:57:20.136157+03 |              | t      | 
(2 rows)



Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create vm and install OS on it, then set persistent network
2. Power off vm and create a snapshot
3. Clone vm from snapshot
4. Start new vm

Actual results:
New vm does not have vnic_profile_id, also on webadmin on the VM itself,the new vm's network interfaces tab has only the NIC - the network name and network profile for the NIC are empty.

Comment 2 awinter 2013-09-15 11:01:15 UTC
Created attachment 797877 [details]
VM2 now has vNicProfile

Bug fixed.

Comment 3 awinter 2013-09-15 11:01:50 UTC
Bug fixed.
See attachment

Comment 5 Itamar Heim 2014-01-21 22:29:54 UTC
Closing - RHEV 3.3 Released

Comment 6 Itamar Heim 2014-01-21 22:29:55 UTC
Closing - RHEV 3.3 Released

Comment 7 Itamar Heim 2014-01-21 22:32:55 UTC
Closing - RHEV 3.3 Released