Bug #5889
closed`hammer subscription list` is not consistent when you use --organization or --organization-id
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1100198
Description of problem:
Command `hammer subscription list` is not consistent when you use --organization or --organization-id option.
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140521.0
How reproducible:
always
Steps to Reproduce:
1. Create some products in your Sat6
2. # hammer subscription list --organization ACME_Corporation
missing param 'system_id' in parameters
3. # hammer subscription list --organization-id 1
-----|----------|---------|---------|-----------|----------|------------|----------------------------------|---------|-----------|---------
NAME | CONTRACT | ACCOUNT | SUPPORT | QUANTITY | CONSUMED | END DATE | ID | PRODUCT | QUANTITY | ATTACHED
-----|----------|---------|---------|-----------|----------|------------|----------------------------------|---------|-----------|---------
RHEL | | | | Unlimited | 0 | 2044-05-13 | <hash> | RHEL | Unlimited | 0
Sat6 | | | | Unlimited | 0 | 2044-05-13 | <hash> | Sat6 | Unlimited | 0
-----|----------|---------|---------|-----------|----------|------------|----------------------------------|---------|-----------|---------
Actual results:
Behavior of the tool differs based on which option from --organization or --organization-id you choose
Expected results:
Behavior should match or should be documented
- hammer subscription list -h
Usage:
hammer subscription list [OPTIONS]
Options:
--activation-key ACTIVATION_KEY_NAME
--activation-key-id ACTIVATION_KEY_ID Activation key ID
--organization ORGANIZATION_NAME
--organization-id ORGANIZATION_ID Organization ID
--organization-label ORGANIZATION_LABEL
--system SYSTEM_NAME
--system-id SYSTEM_ID UUID of the system
-h, --help print help
Updated by dustin tsang almost 11 years ago
- Status changed from New to Closed
seems to be working in upstream already
https://gist.github.com/dustint-rh/544820e89aa8cd2a9fb3
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13