Project

General

Profile

Actions

Bug #8833

closed

Unable to update activation key by id

Added by Christine Fouant over 9 years ago. Updated almost 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 #1

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 63
  • Pull request https://github.com/Katello/katello/pull/4897 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #3

Updated by Christine Fouant over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF