Bug #31967
closedpulp3: creating repo with background Download Policy fails
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1930789
Created attachment 1758178 [details]
new repo with background download fail on creation
Description of problem:
After migrating to pulp3, trying to create a repo with download set to background fails
Version-Release number of selected component (if applicable):
Sat6.9 Snap 13
How reproducible:
not sure
Steps to Reproduce:
1. carry out pulp2 to pulp3 migration steps
2. Try to create repo with download policy set to background
3.
Actual results:
A pop-up error is displayed. See screen capture attached.
The task shows this error:
Error message: the server returns an error
HTTP status code: 400
Response headers: {"Date"=>"Fri, 19 Feb 2021 12:42:05 GMT", "Server"=>"gunicorn/20.0.4", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"GET, POST, HEAD, OPTIONS", "X-Frame-Options"=>"SAMEORIGIN", "Content-Length"=>"52", "Via"=>"1.1 dhcp-2-116.vms.sat.rdu2.redhat.com", "Connection"=>"close"}
Response body: {"policy":["\"background\" is not a valid choice."]}
Expected results:
Background does say deprecated, but that implies it should still work
Either it works or a more user friendly error message is displayed
Updated by Justin Sherrill about 4 years ago
- Target version set to Katello 3.18.3
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9197 added
Updated by Justin Sherrill about 4 years ago
- Status changed from Ready For Testing to Closed
Updated by Jonathon Turel about 4 years ago
- Target version changed from Katello 3.18.3 to Katello 3.18.2.1
Updated by Jonathon Turel about 4 years ago
- Target version changed from Katello 3.18.2.1 to Katello 3.18.2