Bug 1166163 - [RFE] Add ancestry NICs and allow interfaces with same MAC
Summary: [RFE] Add ancestry NICs and allow interfaces with same MAC
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-20 13:45 UTC by Bryan Kearney
Modified: 2017-02-23 20:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:19:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
subnet page has two new options IPAM and BootMode. User can define dhcp/static subnets. (43.50 KB, image/png)
2015-05-26 12:35 UTC, Sachin Ghai
no flags Details
while discovering a host, BMC interface artifacts auto discovered and can be seen under edit/new host --> network --> interface (36.83 KB, image/png)
2015-05-26 12:37 UTC, Sachin Ghai
no flags Details
alias/bond/vlan and BMC interfaces are configured (51.14 KB, image/png)
2015-05-26 12:38 UTC, Sachin Ghai
no flags Details
enc output of configured interfaces (37.68 KB, image/png)
2015-05-26 13:04 UTC, Sachin Ghai
no flags Details
configured BMC interface (52.54 KB, image/png)
2015-05-27 07:08 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6444 0 None None None 2016-04-22 15:00:15 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Bryan Kearney 2014-11-20 13:45:05 UTC
Virtual interfaces can have same MAC addresses so we should validate uniqueness only for physical interfaces. I'll add ancestry to NICs table, parents will be physical interfaces.

Comment 1 Bryan Kearney 2014-11-20 13:45:06 UTC
Created from redmine issue http://projects.theforeman.org/issues/6444

Comment 2 Bryan Kearney 2014-11-20 13:45:31 UTC
I am pulling down important features from the 1.7 release. You can read more abotu this feature at 

http://theforeman.org/manuals/1.7/index.html#Releasenotesfor1.7

I believe that QE will be done by the community on this feature.

Comment 3 Bryan Kearney 2014-11-20 13:52:10 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6444 has been closed
-------------
Marek Hulán
https://github.com/theforeman/foreman/pull/1565
-------------
Marek Hulán
Applied in changeset commit:d455f32cde8fa60e41474bbaab0b8af1d7aded50.

Comment 7 Tazim Kolhar 2015-04-22 07:30:32 UTC
hi

please provide verification steps

thanks

Comment 8 Marek Hulan 2015-04-24 10:56:41 UTC
As part of this change, these was added:

Support for virtual and physical interfaces

NIC facts parsing change and we create interfaces in Foreman according
to facts we receive.

Added support for virtual and physical interfaces.

IPMI facts parsing and BMC NIC creation based on custom facts that are
present in discovery image.

NIC orchestration is now optional and can be set for every interface.
All created interfaces based on facts (BMC or Managed) are not
managed.

Allow subnet selection without domain for NIC so we can use DHCP only.

Suggest IP addresses even without proxy by Foreman itself. Foreman finds
first free IP on a particular Subnet based on records in database.

I think Sachin already tested most of these, maybe you could ask him.

Comment 9 Sachin Ghai 2015-05-26 12:31:56 UTC
Verified with sat6.1 GA snap5.

- now user can define virtual interfaces like alias/bond/vlan etc. On provisioning a host, user will see all defined interfaces configured on provisioned host.

- while discovery, bmc interface can automatically be discovered and user can see under discovered_host --> network --> interfaces

- User can defined unmanaged/managed BMC interfaces, but BMC feature should be enabled on proxy.


- subnet has two new options. IPAM and bootmode. User can explicitly create dhcp subnet or static subnets.

- Similarly IPAM mode can be used for auto IP address assignment. Satellite finds free IP in a selected subnet and auto suggest while creating new host.

- User can see ENC output of all the configured interfaces


I'll attach all these in the form of screen shots just to cover what all has been tested.

Note: there are few limitations with alias/bond/vlan is that you should know the mac address of interface. For example: alias MAC is the same that is the MAC of interface it's attached to, so you have to know this MAC.

Comment 10 Sachin Ghai 2015-05-26 12:35:35 UTC
Created attachment 1029923 [details]
subnet page has two new options IPAM and BootMode. User can define dhcp/static subnets.

Comment 11 Sachin Ghai 2015-05-26 12:37:20 UTC
Created attachment 1029924 [details]
while discovering a host, BMC interface artifacts auto discovered and can be seen under edit/new host --> network --> interface

Comment 12 Sachin Ghai 2015-05-26 12:38:50 UTC
Created attachment 1029925 [details]
alias/bond/vlan and BMC interfaces are configured

Comment 13 Sachin Ghai 2015-05-26 13:04:16 UTC
Created attachment 1029930 [details]
enc output of configured interfaces

Comment 14 Sachin Ghai 2015-05-27 07:08:43 UTC
Created attachment 1030350 [details]
configured BMC interface

Comment 15 Sachin Ghai 2015-05-27 07:29:24 UTC
Moving this verified as comments 9 to 14.

Comment 17 Bryan Kearney 2015-08-11 13:29:13 UTC
This bug is slated to be released with Satellite 6.1.

Comment 18 errata-xmlrpc 2015-08-12 05:19:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592


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