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

Also available in: Atom PDF