Actions
Bug #39373
openAttempting to assign content-view-environments via hammer when LCE is not synced by content source should propagate error message text to hammer
Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Description
Scenario 2: Running the hammer host update --content-view-environments command
Actual Behavior:
When trying to add a lifecycle environment to a host using the command
hammer host update --content-view-environments Library/cv_1{
}, the following error is displayed:
"Could not update the host"
Expected Behavior:
The command
hammer host update --content-view-environments Library/cv_1
should throw a detailed error message, similar to the one produced by the
subscription-manager environments --set
command, such as:
Validation failed: Host: Cannot add content view environment to content facet. The host's content source does not sync lifecycle environment 'Library'. (HTTP error code 422: Unprocessable Entity)
Updated by Chris Roberts 20 days ago
- Copied from Bug #39372: Attempting to assign content-view-environments via hammer when LCE is not synced by content source should propagate error message text to hammer added
Updated by The Foreman Bot 20 days ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/1032 added
Updated by The Foreman Bot 19 days ago
- Pull request deleted (
https://github.com/theforeman/hammer-cli-foreman/pull/655, https://github.com/Katello/hammer-cli-katello/pull/1032)
Actions