Bug #8833
closedUnable to update activation key by id
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1178928
Description of problem:
A user is required to provide an activation key's name, even if they provide the activation key's id, in order to update the key.
Version-Release number of selected component (if applicable):
Nightly
How reproducible:
Always
Steps to Reproduce:
1. Create an activation key
2. Obtain the id of the key and its organization
3. Run hammer activation-key update --max-content-hosts=5 --id=<x> --organization-id=<y>
Actual results:
[root@cloud-qe-9 ~]# hammer -u admin -p ** activation-key update --max-content-hosts=5 --id=1 --organization-id=1
Could not update the activation key:
Missing arguments for 'name'
Expected results:
[root@cloud-qe-9 ~]# hammer -u admin -p ** activation-key update --max-content-hosts=5 --id=1 --organization-id=1
Activation Key successfully updated