Project

General

Profile

Actions

Bug #8833

closed

Unable to update activation key by id

Added by Christine Fouant about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions

Also available in: Atom PDF