Bug #35582
closedACS - throw proper errors for ULN ACS URLs
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."]}
Updated by Ian Ballou about 2 years ago
- Blocks Tracker #33447: Alternate Content Sources Support Tracker (MVP) added
Updated by Chris Roberts about 2 years ago
- Target version changed from Katello 4.7.0 to Katello 4.8.0
Updated by Lucy Fu almost 2 years ago
- Target version changed from Katello 4.8.0 to Katello 4.9.0
Updated by Lucy Fu over 1 year ago
- Target version changed from Katello 4.9.0 to Katello 4.10.0
Updated by Chris Roberts about 1 year ago
- Target version changed from Katello 4.10.0 to Katello 4.11.0
Updated by Ian Ballou 6 months ago
- Assignee set to Ian Ballou
- Target version changed from Katello Backlog to Katello 4.14.0
Updated by Ian Ballou 6 months ago
- Subject changed from ACS - Allow remotes for ULN repos in ACS to ACS - throw proper errors for ULN ACS URLs
- Category changed from Repositories to Alternate Content Sources
I've discovered that Pulp has no support for ULN ACSs. So, I'm going to make sure we error out properly and avoid ULN repositories in ACSs.
Updated by The Foreman Bot 6 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11063 added
Updated by Anonymous 5 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|81493d3d725f39795ddf44c1bf85b091f5dfcbef.