Project

General

Profile

Bug #8833

Unable to update activation key by id

Added by Christine Fouant about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Associated revisions

Revision ac237cac (diff)
Added by Christine Fouant about 8 years ago

fixes #8833 - Removes name requirement for act key update, BZ 1178928

Revision f0e333e6
Added by Christine Fouant about 8 years ago

Merge pull request #4897 from cfouant/required-name

fixes #8833 - Removes name requirement for act key update, BZ 1178928

History

#1 Updated by The Foreman Bot about 8 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 ()

#2 Updated by Eric Helms about 8 years ago

  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#3 Updated by Christine Fouant about 8 years ago

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

Also available in: Atom PDF