Project

General

Profile

Actions

Bug #11047

closed

Interfaces are imported even though ignore_puppet_facts_for_provisioning is set to true

Added by Marek Hulán over 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #9104: Disable auto network interfacesClosedMarek Hulán01/25/2015Actions
Related to Discovery - Bug #12391: Discovery breaks ignore_puppet_facts_for_provisioning global settingClosedLukas Zapletal11/04/2015Actions
Actions #1

Updated by Marek Hulán over 8 years ago

  • Related to Feature #9104: Disable auto network interfaces added
Actions #2

Updated by Marek Hulán over 8 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.

Actions #3

Updated by The Foreman Bot over 8 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 ()
Actions #4

Updated by Marek Hulán over 8 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

Actions #5

Updated by Jörn Ott over 8 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.

Actions #6

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #12391: Discovery breaks ignore_puppet_facts_for_provisioning global setting added
Actions #7

Updated by Dominic Cleal over 8 years ago

#12391 is a bug in Discovery 4.0.0+ that also breaks this setting.

Actions #8

Updated by Marek Hulán about 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.

Actions #9

Updated by Anonymous almost 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF