Bug #23178
Organization becomes invalid when host assigned to location not in organization
Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Pull request:
Fixed in Releases:
Found in Releases:
Description
To reproduce:
refresh a manifest
Actual results:
Manifest is refreshed, but an error is also shown:
"Error refreshing manifest. Validation failed: Locations expecting locations used by hosts or inherited (check mismatches report)."
Expected:
Manifest is refreshed, and no errors are raised.
Related issues
Associated revisions
History
#1
Updated by Andrew Kofink about 4 years ago
- Related to Bug #22373: [Audit] Refresh manifest added
#2
Updated by Justin Sherrill about 4 years ago
- Legacy Backlogs Release (now unused) set to 338
When seeding the default org and location, we may not be putting the org in the location. Then when a host registers it causes both the taxonomies to become invalid.
#3
Updated by Stephen Benjamin about 4 years ago
- Subject changed from Validation failed error on manifest refresh to Organization becomes invalid when host assigned to location not in organization
- Project changed from Katello to Foreman
Really a foreman issue.
#4
Updated by Stephen Benjamin about 4 years ago
- Assignee set to Stephen Benjamin
- Category set to Organizations and Locations
#5
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5573 added
#6
Updated by Tomer Brisker about 4 years ago
- Legacy Backlogs Release (now unused) changed from 338 to 353
#7
Updated by Stephen Benjamin about 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset 86ac65a9efbae875298e0e025e051b775240d209.
fixes #23178 - seeded location should be in seeded org
When creating a host in the seeded org and seeded loc, host saves and
then organization becomes invalid: "Locations expecting locations used
by hosts or inherited (check mismatches report)."