Bug #36667
closed
Hammer accepts non-existent LCE in host update
Added by Lucy Fu over 1 year ago.
Updated over 1 year ago.
Description
Description of problem:
Hammer host update accepts non-existent LCE id and says 'Host updated.', but it's not.
Version-Release number of selected component (if applicable):
6.14.0 snap 4
How reproducible:
always
Steps to Reproduce:
1. Have a host registered to the Satellite
2. Run `hammer host update --id <host_id> --lifecycle-environment-id 999999`
Actual results:
[root@sat ~]# hammer host update --id 24 --lifecycle-environment-id 999999
Host updated.
Expected results:
Should fail with proper message (like "LCE does not exist", "LCE is not assigned to the content source", etc.)
- Status changed from New to Ready For Testing
- Assignee set to Lucy Fu
- Pull request https://github.com/Katello/katello/pull/10691 added
- Subject changed from Hammer accepts non-existent LCE in host update
to Hammer accepts non-existent LCE in host update
- Target version set to Katello 4.10.0
- Triaged changed from No to Yes
- Fixed in Releases Katello 4.10.0 added
- Status changed from Ready For Testing to Closed
- Target version changed from Katello 4.10.0 to Katello 4.9.2
- Triaged changed from Yes to No
This is being hit by users, so proposing for 4.9.2
- Triaged changed from No to Yes
- Pull request https://github.com/Katello/katello/pull/10754 added
- Pull request deleted (
https://github.com/Katello/katello/pull/10691, https://github.com/Katello/katello/pull/10754)
- Fixed in Releases Katello 4.9.2 added
Also available in: Atom
PDF