Project

General

Profile

Bug #26443

changing gpg key on a repository has no effect

Added by Justin Sherrill over 3 years ago. Updated about 3 years ago.

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

Description

Removing a gpg key from a repository, doesnt' seem to be updating the 'content' object in candlepin:

1. create a repository with a gpg key
2. Edit the repository, remove the gpg key
3. on the client, run subscription-manager refresh and notice that the gpg key is still referenced in the redhat.repo file.


Related issues

Has duplicate Katello - Bug #15087: gpgcheck is set to 1 even if repo has no gpgkey configuredResolved

Associated revisions

Revision a6196edf (diff)
Added by Justin Sherrill about 3 years ago

Fixes #26443 - properly remove gpg from content

at some point in the past, either candlepin stopped
accepting nil as a valid value for a gpg key url
or katello started sending nil instead of empty string.

This starts sending empty string to properly unset a gpg
key url

History

#1 Updated by Andrew Kofink over 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello Backlog

#2 Updated by Justin Sherrill over 3 years ago

  • Target version changed from Katello Backlog to Katello 3.12.0

#3 Updated by Chris Roberts about 3 years ago

  • Target version changed from Katello 3.12.0 to Katello Backlog

#4 Updated by Justin Sherrill about 3 years ago

  • Target version changed from Katello Backlog to Katello 3.12.1
  • Assignee deleted (Justin Sherrill)

removing this from the backlog, as this has sever consequences.

#5 Updated by Sven Vogel about 3 years ago

some news on this issue?

#6 Updated by The Foreman Bot about 3 years ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8142 added

#7 Updated by Justin Sherrill about 3 years ago

Apologies for the delay, i had to take some leave. I've narrowed down the issue and opened a pull request here to resolve it: https://github.com/Katello/katello/pull/8142

#8 Updated by Justin Sherrill about 3 years ago

  • Status changed from Ready For Testing to Closed

#9 Updated by Justin Sherrill almost 3 years ago

  • Has duplicate Bug #15087: gpgcheck is set to 1 even if repo has no gpgkey configured added

Also available in: Atom PDF