-
Bug
-
Resolution: Done
-
Normal
-
6.11.0
-
0
-
False
-
Moderate
-
Sprint 122, Sprint 123, Sprint 124, Sprint 125, Sprint 126, Sprint 127
-
sat-proton
-
None
-
None
-
None
-
None
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.
- external trackers