Project

General

Profile

Bug #35582

ACS - Allow remotes for ULN repos in ACS

Added by Samir Jha 6 months ago. Updated 26 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Trying to create a repo where product is added to an ACS throws the below error cause we only allow http and file protocol URLs. Need to add uln:// URLs as well.

Task 5d072ed4-c532-4885-8528-966cf5a53ec2: PulpRpmClient::ApiError: Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 30 Sep 2022 00:45:17 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, POST, HEAD, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"74", "x-content-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "correlation-id"=>"80f3e362-6a91-4f19-a31a-e5dd173828c5", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 centos8-katello-devel-stable.example.com", "connection"=>"close"} Response body: {"remote":["Type for Remote 'uln_demo-5327813' does not match ACS type."]}; PulpRpmClient::ApiError: Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Fri, 30 Sep 2022 00:45:17 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, POST, HEAD, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"74", "x-content-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "correlation-id"=>"80f3e362-6a91-4f19-a31a-e5dd173828c5", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 centos8-katello-devel-stable.example.com", "connection"=>"close"} Response body: {"remote":["Type for Remote 'uln_demo-5326375' does not match ACS type."]}


Related issues

Blocks Katello - Tracker #33447: Alternate Content Sources Support Tracker (MVP)New

History

#1 Updated by Ian Ballou 6 months ago

  • Triaged changed from No to Yes

#2 Updated by Ian Ballou 6 months ago

  • Blocks Tracker #33447: Alternate Content Sources Support Tracker (MVP) added

#3 Updated by Chris Roberts 4 months ago

  • Target version changed from Katello 4.7.0 to Katello 4.8.0

#4 Updated by Lucy Fu 26 days ago

  • Target version changed from Katello 4.8.0 to Katello 4.9.0

Also available in: Atom PDF