Project

General

Profile

Actions

Feature #23768

closed

Fact parser flag keep_subnet to prevent subnet override during fact upload

Added by Lukas Zapletal almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Importers
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Discovery - Bug #23224: Update subnets from facts breaks discoveryClosedIdo Kanner04/11/2018Actions
Actions #1

Updated by Lukas Zapletal almost 6 years 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
Actions #2

Updated by Lukas Zapletal almost 6 years ago

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

Updated by The Foreman Bot almost 6 years ago

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

Updated by Marek Hulán almost 6 years ago

  • translation missing: en.field_release set to 353
Actions #5

Updated by Lukas Zapletal almost 6 years ago

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

Also available in: Atom PDF