Bug 1460622 - [RHV] Provision VM from template having 2 NICs fails to attach second NIC
[RHV] Provision VM from template having 2 NICs fails to attach second NIC
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning (Show other bugs)
Unspecified Unspecified
medium Severity medium
: GA
: cfme-future
Assigned To: Greg McCullough
Ilanit Stein
Depends On:
  Show dependency treegraph
Reported: 2017-06-12 04:54 EDT by Sachin
Modified: 2018-01-04 23:36 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-11-20 14:56:45 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sachin 2017-06-12 04:54:15 EDT
Description of problem:

When provisioning VM from template with 2 network interfaces, only 1 Nic is attached to VM.

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

How reproducible:

Steps to Reproduce:
1. Create RHV template with 2 nics
2. Provision a VM with template

Actual results:
Both NIC should be attached

Expected results:
Only one NIC is attached

Additional info:
Both NICs are attached when VM is create from VMware.
Comment 7 Sachin 2017-06-12 09:47:33 EDT
Now this is strange, I ran object_walker on template, it shows number_of_nics as nil

[----] I, [2017-06-12T18:46:03.399253 #16289:73be08c]  INFO -- : <AutomationEngine> <AEMethod object_walker> object_walker#C21946FE:[3] hardware.number_of_nics = nil

But I see same MAC address visible as in VMware
[----] I, [2017-06-12T18:46:03.482140 #16289:73be08c]  INFO -- : <AutomationEngine> <AEMethod object_walker> object_walker#C21946FE:[3] hardware.mac_addresses = ["00:50:56:xx:yy:zz", "00:50:56:xx:aa:bb"]   (type: Array)

Object walker on VM(provisioned from template)
[----] I, [2017-06-12T19:13:07.249507 #16289:9f92b54]  INFO -- : <AutomationEngine> <AEMethod object_walker> object_walker#5491EFB0:[3] hardware.number_of_nics = nil

[----] I, [2017-06-12T19:13:07.427963 #16289:9f92b54]  INFO -- : <AutomationEngine> <AEMethod object_walker> object_walker#5491EFB0:[3] hardware.mac_addresses = ["00:50:56:xx:cc:dd"]   (type: Array)

Note You need to log in before you can comment on or make changes to this bug.