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 2178645 - Error importing repositories with GPG key
Summary: Error importing repositories with GPG key
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.12.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.14.0
Assignee: Adam Ruzicka
QA Contact: David Moore
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-15 14:06 UTC by Joniel Pasqualetto
Modified: 2024-03-15 18:07 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2190512 (view as bug list)
Environment:
Last Closed: 2023-11-08 14:18:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36185 0 Normal Closed Content View import fails with 'Tried to load unspecified class: Sequel::SQL::Blob' 2023-04-04 17:51:16 UTC
Github Dynflow dynflow pull 426 0 None Merged Cast sequel blobs back to strings 2023-04-04 17:51:16 UTC
Red Hat Issue Tracker SAT-16523 0 None None None 2023-03-16 14:17:07 UTC
Red Hat Knowledge Base (Solution) 7006713 0 None None None 2023-04-07 09:30:31 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:19:10 UTC

Description Joniel Pasqualetto 2023-03-15 14:06:04 UTC
Description of problem:

Trying to import a repository that includes GPG key, fails with the error below:

]# hammer content-import repository --path $(pwd) --organization-id 1
[.........................................................................................                                                                                                                                            ] [39%]
Error: Tried to load unspecified class: Sequel::SQL::Blob

Version-Release number of selected component (if applicable):
Satellite 6.12

How reproducible:
Always

Steps to Reproduce:
1.Create a custom repository
2. Create a content certificate of type GPG key and assign to custom repository
3. Sync the repository
4. Export the repository 
5. Try importing the exported repository into a Satellite

Actual results:
Import fails 

Expected results:
Import task would run and bring the GPG key AND the content to the disconnected Satellite


Additional info:
As workaround, one could remove the GPG key from the connected server, export the repository without the key and then create the key manually on the disconnected Satellite and then assign to the repo.

Comment 9 Bryan Kearney 2023-04-04 20:03:26 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36185 has been resolved.

Comment 15 errata-xmlrpc 2023-11-08 14:18:58 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818


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