Project

General

Profile

Actions

Bug #5110

closed

hammer --organization-id option does not expect organization id

Added by Bryan Kearney about 10 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1084927
Description of problem:
Even if
  1. 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

Steps to Reproduce:
1. list organizations via hammer
  1. hammer organization list
    ---|------------------|------------------|------------------------------
    ID | NAME | LABEL | DESCRIPTION
    ---|------------------|------------------|------------------------------
    1 | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization
    ---|------------------|------------------|------------------------------
    2. create new group named "grupa" using hammer
  2. hammer system-group create --organization-id 1 --name grupa
Actual results:
  1. hammer system-group create --organization-id 1 --name grupa
    Could not create the system group:
    Couldn't find organization '1'

Expected results:
Group created.

Additional info:
Passing organization label(name) instead of id works;
  1. 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.

Actions #1

Updated by Bryan Kearney about 10 years ago

  • Assignee set to Adam Price
  • Triaged set to No
Actions #2

Updated by Eric Helms almost 10 years ago

  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms over 9 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF