Project

General

Profile

Bug #4213

[hammer-cli] Can not get info on a gpg key based on the name, only the id

Added by Bryan Kearney over 6 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

This command works:

hammer -u admin -p changeme gpg info --id 1

this does not
hammer -u admin -p changeme gpg info --name bkearney --organization-id DemoOrg

History

#1 Updated by David Davis over 6 years ago

  • Category set to Hammer

#2 Updated by Og Maciel over 6 years ago

[root@qetello03 katello-deploy]# hammer organization list
------------------------------------------------------------------------
ID | NAME             | LABEL            | DESCRIPTION
------------------------------------------------------------------------
1  | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization
------------------------------------------------------------------------
[root@qetello03 katello-deploy]# hammer gpg list --organization-id 1
404 Resource Not Found
[root@qetello03 katello-deploy]# hammer gpg list --organization-id ACME_Corporation
No data.

#3 Updated by Mike McCune over 6 years ago

  • Triaged set to Yes

#4 Updated by Eric Helms about 6 years ago

  • Status changed from New to Resolved

#5 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF