Project

General

Profile

Actions

Bug #28224

closed

hammer host errata list - Unrecognised option '--environment'

Added by Partha Aji over 4 years ago. Updated over 4 years ago.

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

Description

There are a couple of issues with 'hammer host errata list' call

1) hammer host errata list call does not accept the --environment option and instead expects the user to provide --lifecycle-environment

$ hammer  host errata list --host-id=1 --environment=Library
Error: Unrecognised option '--environment'.

See: 'hammer host errata list --help'.
$ hammer  host errata list --help|grep -i life
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID ID of the environment

meanwhile the host_errata controller accept environment-id instead of lifecycle-environment-id

2)
There is not --organization option while there is a lifecycle-environment option.
This means the lifecycle-environment option is basically useless since we do not have organization.

Actions #1

Updated by Partha Aji over 4 years ago

  • Bugzilla link set to 1542675
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/706 added
Actions #3

Updated by Partha Aji over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Jonathon Turel over 4 years ago

  • Target version set to Katello 3.15.0
  • Triaged changed from No to Yes
Actions #5

Updated by Brad Buckingham over 4 years ago

  • Target version changed from Katello 3.15.0 to Katello 3.14.0
Actions

Also available in: Atom PDF