Actions
Bug #5110
closedhammer --organization-id option does not expect organization id
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1084927
Description of problem:
Even if
1. list organizations via hammer
Passing organization label(name) instead of id works;
Description of problem:
Even if
- hammer system-group create --help
writes about option
--organization-id ORGANIZATION_ID organization identifier
organization id isn't expected
Version-Release number of selected component (if applicable):
sat6-Satellite-6.0.3-RHEL-6-20140404.0-Satellite-x86_64-dvd1.iso
How reproducible:
always
1. list organizations via hammer
- hammer organization list
---|------------------|------------------|------------------------------
ID | NAME | LABEL | DESCRIPTION
---|------------------|------------------|------------------------------
1 | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization
---|------------------|------------------|------------------------------
2. create new group named "grupa" using hammer - hammer system-group create --organization-id 1 --name grupa
- hammer system-group create --organization-id 1 --name grupa
Could not create the system group:
Couldn't find organization '1'
Expected results:
Group created.
Passing organization label(name) instead of id works;
- hammer system-group create --organization-id ACME_Corporation --name grupa
System group created
Either hammer help shall be updated to expect --organization-label, or organization id shall be expected.
Updated by Bryan Kearney about 11 years ago
- Assignee set to Adam Price
- Triaged set to No
Updated by Eric Helms almost 11 years ago
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13
Actions