Bug #18252
closedForeman uses docker0 ip address as primary interface if docker package is installed
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).
Updated by Dominic Cleal almost 8 years 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.
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Thomas McKay
- Pull request https://github.com/theforeman/foreman/pull/4233 added
Updated by Thomas McKay almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 4698272f32ac6298678a4820242eca33e8a7fade.
Updated by Dominic Cleal almost 8 years ago
- Related to Bug #17907: bond0 slaves or docker bridges prioritised as primary interface added
Updated by Dominic Cleal almost 8 years ago
- Translation missing: en.field_release set to 209