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 ***