Project

General

Profile

Actions

Bug #35582

closed

ACS - throw proper errors for ULN ACS URLs

Added by Samir Jha almost 2 years ago. Updated 9 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Alternate Content Sources
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Ian Ballou almost 2 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by Ian Ballou almost 2 years ago

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

Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 4.7.0 to Katello 4.8.0
Actions #4

Updated by Lucy Fu over 1 year ago

  • Target version changed from Katello 4.8.0 to Katello 4.9.0
Actions #5

Updated by Lucy Fu about 1 year ago

  • Target version changed from Katello 4.9.0 to Katello 4.10.0
Actions #6

Updated by Chris Roberts 9 months ago

  • Target version changed from Katello 4.10.0 to Katello 4.11.0
Actions #7

Updated by Samir Jha 7 months ago

  • Target version changed from Katello 4.11.0 to Katello Backlog
Actions #8

Updated by Ian Ballou 22 days ago

  • Assignee set to Ian Ballou
  • Target version changed from Katello Backlog to Katello 4.14.0
Actions #9

Updated by Ian Ballou 22 days 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.

Actions #10

Updated by The Foreman Bot 22 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11063 added
Actions #11

Updated by The Foreman Bot 9 days ago

  • Fixed in Releases Katello 4.14.0 added
Actions #12

Updated by Anonymous 9 days ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF