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.
Actions