Bug #12391
closed
Discovery breaks ignore_puppet_facts_for_provisioning global setting
Added by Matt Jarvis about 9 years ago.
Updated almost 9 years ago.
Category:
Discovery plugin
|
Description
For the last couple of versions of Foreman, the disabling of auto-creation of network interfaces has stopped working. This used to be disabled by setting ignore puppet facts for provisioning to True, which we have set, but we still get network interfaces being created. This is a big problem for us on OpenStack compute nodes, which have many virtual interfaces created, and eventually this ends up with timeouts in puppet and Foreman as there can be many hundreds of interfaces for a host, which also stops us being able to edit the host. The only fix is to delete them all via the API.
- Category set to Importers
+1 I can reproduce this.
Both ignore_puppet_facts_for_provisioning and #11972 are happening "too late." The fact_name table spam is unaffected by their use. ignore_puppet_facts_for_provisioning doesn't even seem to prevent the nics table entries from being created.
- Project changed from Foreman to Discovery
- Category changed from Importers to Discovery plugin
Ouch, that's pretty special. I'll punt this to the Discovery plugin for now then, hopefully Matt will confirm that he's got that installed too.
Yes, we've got the Discovery plugin installed.
- Related to Feature #11972: Implement regex for option ignore_puppet_facts_for_provisioning added
Thank for spotting that commit Matt, it has been a huge help for us. I've proposed backporting in #11972.
- Related to Bug #11047: Interfaces are imported even though ignore_puppet_facts_for_provisioning is set to true added
- Subject changed from Disable auto creation of network interfaces not working to Discovery breaks ignore_puppet_facts_for_provisioning global setting
- Status changed from New to Assigned
- Assignee set to Lukas Zapletal
Yeah a bummer, did not realize this actually affect everything.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/234 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Bugzilla link set to 1313675
- Related to Bug #14643: Migration broken with discovered hosts added
Also available in: Atom
PDF