Bug #11047
closedInterfaces are imported even though ignore_puppet_facts_for_provisioning is set to true
Description
User reports that after enabling ignore_puppet_facts_for_provisioning to true and upgrade from 1.7.2 to 1.8.2, interfaces are still being imported. See #9104 for more details. According to code, importing should be disabled
Updated by Marek Hulán over 9 years ago
- Related to Feature #9104: Disable auto network interfaces added
Updated by Marek Hulán over 9 years ago
- Status changed from New to Need more information
I'm unable to reproduce the behaviour, ignore_puppet_facts_for_provisioning settings is effective and works correctly on my setup. Mark, could you please upgrade to 1.8 again, remove interfaces, enable debug mode, rerun puppet agent and paste a production.log or ideally run foreman-debug? Also adding few debugging lines to the code would help to find the cause.
Updated by The Foreman Bot over 9 years ago
- Status changed from Need more information to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2616 added
- Pull request deleted (
)
Updated by Marek Hulán over 9 years ago
- Status changed from Ready For Testing to Need more information
- Pull request added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/2616)
Reverting back, typo in commit message
Updated by Jörn Ott about 9 years ago
Marek Hulán wrote:
I'm unable to reproduce the behaviour, ignore_puppet_facts_for_provisioning settings is effective and works correctly on my setup. Mark, could you please upgrade to 1.8 again, remove interfaces, enable debug mode, rerun puppet agent and paste a production.log or ideally run foreman-debug? Also adding few debugging lines to the code would help to find the cause.
I have a physical server with 4 physical NICs and I use openvswitch to bond them together. One virtual port is int0 (bound to the internal VLAN) and the other is ext0 (bound to the external VLAN). As a result, foreman shows a lot of NICs (also ovs-system showing up 4 times with different MAC addresses). It does not list ext0 however and enp2s0f0 is shown as eth0 instead.
When I try to edit the host in foreman, it complains about invalid interfaces. When I try to delete the interfaces I don't want to show up, they are re-added and saving the host fails again.
Updated by Dominic Cleal about 9 years ago
- Related to Bug #12391: Discovery breaks ignore_puppet_facts_for_provisioning global setting added
Updated by Dominic Cleal about 9 years ago
#12391 is a bug in Discovery 4.0.0+ that also breaks this setting.
Updated by Marek Hulán over 7 years ago
- Status changed from Need more information to Feedback
I haven't seen this for a while. Please let us know if you still encounter described issue.