Bug #27233
Mismatches for organization and location on production environment and domain
Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
-
Pull request:
Fixed in Releases:
Found in Releases:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1725250
Description of problem:
Mismatches report shows production environment and domain on satellite 6.6 fresh install.
Version-Release number of selected component (if applicable):
Satellite 6.6 snap 9
How reproducible: always
Steps to Reproduce:
1. Install 6.6 satellite
2. Check mismatches on organization/location
Actual results:
Puppet environment and domain is shown under mismatches report.
Expected results: No mismatches on fresh install
Additional info: Similar issue for smart proxy is recently fixed in snap 9 https://bugzilla.redhat.com/show_bug.cgi?id=1709695.
Regression.
Related issues
Associated revisions
History
#1
Updated by Tomer Brisker almost 3 years ago
- Related to Feature #26092: When only one taxonomy of specific type is defined, api should default to that taxonomy added
#2
Updated by The Foreman Bot almost 3 years ago
- Assignee set to Tomer Brisker
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6883 added
#3
Updated by Marek Hulán almost 3 years ago
- Subject changed from Mismatches for organization and location on production environment and domain to Mismatches for organization and location on production environment and domain
- Fixed in Releases 1.23.0 added
#4
Updated by Tomer Brisker almost 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 27e8d26f72999bb1512c9b641430b99f58c9baf3.
Fixes #27233 - Assign created resources to host taxonomies (#6883)
When a host is created from puppet fact import, taxable resources such
as domain and environment are created if they do not exist, but aren't
assigned to the host's taxonomies leading the host to report mismatch.
This commit changes this behaviour so that new resources will be
assigned to the same taxonomies. If a host uses an existing resource,
it does not get assigned to the host's taxonomies to prevent
unexpected modifications of existing resources.