Feature #23768
Fact parser flag keep_subnet to prevent subnet override during fact upload
Pull request:
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
Associated revisions
History
#1
Updated by Lukas Zapletal over 2 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
#2
Updated by Lukas Zapletal over 2 years ago
- Related to Bug #23224: Update subnets from facts breaks discovery added
#3
Updated by The Foreman Bot over 2 years 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 over 2 years ago
- Legacy Backlogs Release (now unused) set to 353
#5
Updated by Lukas Zapletal over 2 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset fcc2b55d07cbb3708f2fab212bf57a3366561d06.
Fixes #23768 - keep_subnet flag to prevent subnet override (#5635)