Bug #18252

Foreman uses docker0 ip address as primary interface if docker package is installed

Added by Thomas McKay over 1 year ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Thomas McKay
Category:Importers
Target version:1.15.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1289510 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/4233

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1289510

Description of problem:

While provisioning a new host which has docker package installed the primary network interface foreman is using is set to docker0 instead of eth0.

This prevents edit and rebuild operations of this host.

How reproducible:

Provision a new host using a Puppet module or provisioning template to install docker package.

Steps to Reproduce:
1. Provision a host using docker package
2. Go to Hosts -> All Hosts -> Select the host
3. IP Address is set to docker0 IP which is not reachable from Sat6

Actual results:

docker0 IP is set to primary interface

Expected results:

eth0 should be the primary interface used by foreman

Additional info:

As a workaround you can disable update_environment_from_facts: Go to Administer -> Settings -> Puppet and set update_environment_from_facts to False (default: true).


Related issues

Related to Foreman - Bug #17907: bond0 slaves or docker bridges prioritised as primary int... New 01/03/2017

Associated revisions

Revision 4698272f
Added by Thomas McKay over 1 year ago

fixes #18252 - added docker* to ignore

Ignore docker* by default in ignored_interface_identifiers

History

#1 Updated by Dominic Cleal over 1 year ago

  • Subject changed from Foreman uses docker0 ip address as primary interface if docker package is installed to Foreman uses docker0 ip address as primary interface if docker package is installed
  • Category changed from Unattended installations to Importers

Please attach the server log showing the fact imports, the facts hash, and details of the network interfaces (identifiers, names, MACs, IPs) before the facts upload. It's unclear from the description what exactly is being changed on import.

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Thomas McKay
  • Pull request https://github.com/theforeman/foreman/pull/4233 added

#3 Updated by Thomas McKay over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 1 year ago

  • Related to Bug #17907: bond0 slaves or docker bridges prioritised as primary interface added

#5 Updated by Dominic Cleal over 1 year ago

  • Legacy Backlogs Release (now unused) set to 209

Also available in: Atom PDF