Project

General

Profile

Actions

Bug #37955

open

hammer does not propagate errors in host update

Added by Jeremy Lenz about 2 months ago. Updated 28 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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
Actions #1

Updated by Ian Ballou about 2 months ago

  • Target version changed from Katello 4.15.0 to Katello 4.16.0
  • Triaged changed from No to Yes
Actions #2

Updated by Ian Ballou about 2 months ago

  • Target version changed from Katello 4.16.0 to Katello 4.15.0
Actions #3

Updated by Chris Roberts 28 days ago

  • Target version changed from Katello 4.15.0 to Katello 4.16.0
Actions

Also available in: Atom PDF