Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2040773 - Updating repo with GPG key ID fails
Summary: Updating repo with GPG key ID fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Credentials
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Chris Roberts
QA Contact: Stephen Wadeley
URL: https://projects.theforeman.org/issue...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 16:38 UTC by Stephen Wadeley
Modified: 2022-08-02 05:31 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-hammer_cli_katello-1.3.1.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:32:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34433 0 Normal Ready For Testing Updating repo with GPG key ID fails 2022-02-10 14:40:55 UTC
Foreman Issue Tracker 34924 0 Normal Ready For Testing Hammer is not showing gpg key in repo info 2022-05-16 15:32:37 UTC
Github Katello hammer-cli-katello pull 833 0 None open Fixes #34433 - Update gpg_key to content_credentials for repo info 2022-02-10 14:40:55 UTC
Github Katello hammer-cli-katello pull 849 0 None open Fixes #34924 - Correct gpg_keys from content_credentials 2022-05-16 15:32:37 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:32:15 UTC

Description Stephen Wadeley 2022-01-14 16:38:48 UTC
Description of problem:

Adding a GPG key to a repo on the CLI fails


Version-Release number of selected component (if applicable):
7.0.0-5.0

How reproducible:
Every time


Steps to Reproduce:
1. Create repo 
2. Create GPG key
3. hammer --debug repository update --id xx --gpg-key-id xx


Actual results:
command returns "Repository updated" but
"hammer repository info --id xx" shows it was not updated

Expected results:

Adding a GPG key to a repo on the CLI works

Additional info:
I did not use Default Org for this test
I will attach foreman debug

Comment 2 Brad Buckingham 2022-01-17 14:16:12 UTC
Is this a regression from prior releases?

Comment 3 Stephen Wadeley 2022-01-17 19:35:49 UTC
(In reply to Brad Buckingham from comment #2)
> Is this a regression from prior releases?

Hi Brad

No, this is working OK on 6.10.2

Thank you

Comment 16 errata-xmlrpc 2022-07-05 14:32:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498


Note You need to log in before you can comment on or make changes to this bug.