hammer host errata list - Unrecognised option '--environment'
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
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 Partha Aji about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|b2807d68bad0292c63e8d638d6d41f549338630c.