Project

General

Profile

Bug #23178

Organization becomes invalid when host assigned to location not in organization

Added by Andrew Kofink 5 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
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

Related to Katello - Bug #22373: [Audit] Refresh manifestClosed2018-01-23

Associated revisions

Revision 86ac65a9 (diff)
Added by Stephen Benjamin 4 months ago

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)."

History

#1 Updated by Andrew Kofink 5 months ago

  • Related to Bug #22373: [Audit] Refresh manifest added

#2 Updated by Justin Sherrill 5 months 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 4 months 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 4 months ago

  • Assignee set to Stephen Benjamin
  • Category set to Organizations and Locations

#5 Updated by The Foreman Bot 4 months ago

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

#6 Updated by Tomer Brisker 4 months ago

  • Legacy Backlogs Release (now unused) changed from 338 to 353

#7 Updated by Stephen Benjamin 4 months ago

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

Also available in: Atom PDF