Project

General

Profile

Feature #23768

Fact parser flag keep_subnet to prevent subnet override during fact upload

Added by Lukas Zapletal 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Importers
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Setting "Update subnets from facts" makes discovery impossible if taxonomy does not match the host leading to "Subnet is not defined for host's organization". Discovery uses standard core Puppet parser to recognize all interfaces, therefore discovery users must have all subnet taxonomy aligned with discovered host taxonomy, even if they don't plan to use all interfaces.

This patch adds flag keep_subnet which is added by discovery, when present subnet is never updated. This prevents the misbehavior when the flag is set.


Related issues

Related to Discovery - Bug #23224: Update subnets from facts breaks discoveryClosed2018-04-11

Associated revisions

Revision fcc2b55d (diff)
Added by Lukas Zapletal 3 months ago

Fixes #23768 - keep_subnet flag to prevent subnet override (#5635)

History

#1 Updated by Lukas Zapletal 4 months ago

  • Subject changed from Fact parser flag keep_subnet to prevend subnet override during fact upload to Fact parser flag keep_subnet to prevent subnet override during fact upload

#2 Updated by Lukas Zapletal 4 months ago

  • Related to Bug #23224: Update subnets from facts breaks discovery added

#3 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5635 added

#4 Updated by Marek Hulán 3 months ago

  • Legacy Backlogs Release (now unused) set to 353

#5 Updated by Lukas Zapletal 3 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF