Feature #9104
closedDisable auto network interfaces
Description
I use foreman for provisioning and I have very complex network configurations. I want/need to use Foreman to keep track of what I want the network interface configurations to be, not what the server currently has configured. I do not want Foreman to automatically add network interfaces and I dont like the fact that they are automatically re-added after i delete them from Foreman. I had to spend well over a dozen hours trying to figure out my network configurations for all my servers that i hadnt worked on in 7 months and I had all of them configured in Foreman and they were all wiped practically when I upgraded from 1.5. to 1.7 because of this auto network import feature. Can we have the option not to automatically import them?
Simply put, I use Foreman for provisioning and keeping track of what the settings should be for my servers. Not what they currently are. =)
Updated by Marek Hulán almost 10 years ago
- Category set to Facts
Would you prefer one option to disable all host attributes updates (e.g. OS) or just network interfaces?
Updated by Marek Hulán almost 10 years ago
- Related to Tracker #2409: Networking added
Updated by Mark Chaney almost 10 years ago
Marek Hulán wrote:
Would you prefer one option to disable all host attributes updates (e.g. OS) or just network interfaces?
I only need network attributes, but others might like the need to disable all of them. Maybe since the data is already stored as facts, there could be a button on a page that says Populate with Facts or something like that should someone want to pull them for a particular host or set of settings? Just an idea.
Updated by Dominic Cleal almost 10 years ago
- Related to Bug #3864: Change ignore_puppet_facts_for_provisioning default to true added
Updated by Jorick Astrego almost 10 years ago
For when you already have a network setup, we would like the option to keep this and update the facts in foreman and the option to overwrite the currently used config and reload the network service to apply the new settings.
And maybe add a network managed/unmanaged flag to each nic/host/hostgroup
We use ovirt to manage the nic's of our virtualization hosts, but for the rest we want to use foreman. While some of the systems have a specific network setting that we apply through other means. Maybe we will use foreman to setup/manage these too but we would like to have the choice.
Updated by Martin Jackson almost 10 years ago
It seems that only the network facts are the scary ones to auto-update, because of the weirdness of the facts that contain them (e.g. ipaddress) and the amount of "intent" you have to divine to determine which one is the right one. There are lots of edge cases, too, where you could have a NIC replacement on a server that could throw everything off.
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2138 added
- Pull request deleted (
)
Updated by Marek Hulán almost 10 years ago
- Assignee set to Marek Hulán
- Translation missing: en.field_release set to 28
Linked PR adds support to completely disable interfaces configuration based on facts (based on ignore_puppet_facts_for_provisioning
setting). If there's need to change this behaviour per host/hostgroup/... please create a separate RFE.
Updated by Marek Hulán almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset aa48b69c9237641b4c90717c1f435cca0b2cc3f4.
Updated by Mark Chaney over 9 years ago
Upgraded from 1.7.2 to 1.82. with this setting already set to true and new interfaces were still added and existing ones were reset.
Updated by Marek Hulán over 9 years ago
- Related to Bug #11047: Interfaces are imported even though ignore_puppet_facts_for_provisioning is set to true added
Updated by Dominic Cleal about 9 years ago
- Related to Bug #12391: Discovery breaks ignore_puppet_facts_for_provisioning global setting added