Bug #37955
closed
hammer does not propagate errors in host update
Added by Jeremy Lenz 6 months ago.
Updated 23 days ago.
Description
When I try to update an activation key with an invalid content view environment, I correctly get an error:
$ hammer activation-key update --organization-id 1 --name ak5 --content-view-environments Library/Library
Could not update the activation key:
No content view environments found with names: Library/Library
But the same thing on host update does not propagate the error:
$ hammer host update --id 4 --content-view-environments Library/Library
Could not update the host
- Target version changed from Katello 4.15.0 to Katello 4.16.0
- Triaged changed from No to Yes
- Target version changed from Katello 4.16.0 to Katello 4.15.0
- Target version changed from Katello 4.15.0 to Katello 4.16.0
- Target version changed from Katello 4.16.0 to Katello 4.17.0
Moving to 4.17.0 due to 4.16.0 GA.
- Status changed from New to Duplicate
- Related to Bug #38291: Propagate error messages from Katello added
- Related to deleted (Bug #38291: Propagate error messages from Katello)
- Is duplicate of Bug #38291: Propagate error messages from Katello added
Also available in: Atom
PDF