Actions
Bug #28224
closedhammer host errata list - Unrecognised option '--environment'
Difficulty:
Triaged:
Yes
Bugzilla link:
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.
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/706 added
Updated by Partha Aji over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|b2807d68bad0292c63e8d638d6d41f549338630c.
Updated by Jonathon Turel over 5 years ago
- Target version set to Katello 3.15.0
- Triaged changed from No to Yes
Updated by Brad Buckingham over 5 years ago
- Target version changed from Katello 3.15.0 to Katello 3.14.0
Actions