Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2164238

Summary: Import manifest ends with warning after CDN configuration is changed to Export Sync
Product: Red Hat Satellite Reporter: Joniel Pasqualetto <jpasqual>
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: high    
Version: 6.11.4CC: lufu
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-03 20:41:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joniel Pasqualetto 2023-01-24 21:15:48 UTC
Description of problem:

After setting the CDN configuration on Satellite to "Export Sync", when trying to import a new manifest, the import tasks ends in warnings and logs errors like these:


~~~
2023-01-24T21:05:10 [E|bac|4183fb69] bad argument (expected URI object or URI string) (ArgumentError)
 4183fb69 | /usr/share/ruby/uri/common.rb:739:in `URI'
 4183fb69 | /usr/share/gems/gems/katello-4.3.0.50/app/services/katello/pulp3/repository/yum.rb:15:in `remote_options'
 4183fb69 | /usr/share/gems/gems/katello-4.3.0.50/app/services/katello/pulp3/repository.rb:131:in `update_remote'
 4183fb69 | /usr/share/gems/gems/katello-4.3.0.50/app/services/katello/pulp3/repository.rb:188:in `refresh_if_needed'
 4183fb69 | /usr/share/gems/gems/katello-4.3.0.50/app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb:12:in `invoke_external_task'
 4183fb69 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action/polling.rb:84:in `initiate_external_action'
~~~

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

Satellite 6.11

How reproducible:


Steps to Reproduce:
1. Have any Red Hat repository enabled on a Satellite server
2. Modify the the CDN configuration to "Export Sync" (Content -> Subscriptions -> Manage Manifest -> CDN Configuration -> Export Sync -> Update)
3. Try importing a new manifest

Actual results:

Task ends with warnings


Expected results:
Manifest import would finish successfully.


Additional info:

Observed on 6.11.4. Didn't test in other versions.

Comment 1 Lucy Fu 2023-07-03 20:41:59 UTC

*** This bug has been marked as a duplicate of bug 2128864 ***