Bug #32100
closedUnable to set HostGroup content source to capsule that isn't synced
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1656127
Description of problem:
Error attempting to set the "Content Source" Capsule to a capsule that does not have the LifeCycle environment promoted to it.
"Failed to save: The selected content source and lifecycle environment do not match"
Version-Release number of selected component (if applicable):
Katello 3.7
How reproducible:
Steps to Reproduce:
1. Create a Lifecycle Environment that does not have Content Promoted to it.
2. Set a Host group to use that Lifecycle Enviornment
3. Select a Content Source capsule from the dropdown that does not have that Lifecycle environment content synced.
Actual results:
Error: "Unable to save: The selected content source and lifecycle environment do not match"
Expected results:
Ability to set the content source as the capsule.
Additional info:
This worked prior to Katello 3.7, and this new validation only appears to be for the hostgroup. An individual host can have the "Content Source" capsule set to a value that does not match the Lifecycle Environment, but a hostgroup cannot for some reason.
Updated by Ian Ballou over 3 years ago
- Subject changed from Unable to set HostGroup content source to capsule that isn't synced to Unable to set HostGroup content source to capsule that isn't synced
Correction: this worked prior to Katello 3.5.
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello/pull/9232 added
Updated by Samir Jha over 3 years ago
- Target version set to Katello 4.1.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.2.0 added
Updated by Anonymous over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|80aa661a1ef44a991736a42b3635e5562b3fc28a.