Description of problem:
`hammer host create` doesn't support --lifecycle-environment option, but it should:
# hammer host create --help | grep lifecycle
--lifecycle-environment[-id] VALUE/NUMBER
Users are forced to use --lifecycle-environment-id instead because the host creation fails with:
Could not create the host:
Error: lifecycle_environment not found.
Version-Release number of selected component (if applicable):
Satellite 6.11
Additional info:
This seems to be specific to `hammer host create` as `hammer host update` works just fine:
# hammer lifecycle-environment list --organization-id 1
---|---------|--------
ID | NAME | PRIOR
---|---------|--------
1 | Library |
2 | test | Library
---|---------|--------
# hammer host update --lifecycle-environment test --name jsenkyri-rhel8-sat611.sysmgmt.lan --organization-id 1
Host updated.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Satellite 6.15.0 release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2024:2010
Comment 18Red Hat Bugzilla
2024-08-22 04:25:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days