Project

General

Profile

Actions

Bug #31967

closed

pulp3: creating repo with background Download Policy fails

Added by Justin Sherrill about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Justin Sherrill about 3 years ago

  • Target version set to Katello 3.18.3
Actions #2

Updated by The Foreman Bot about 3 years ago

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

Updated by Chris Roberts about 3 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by Justin Sherrill about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Jonathon Turel about 3 years ago

  • Target version changed from Katello 3.18.3 to Katello 3.18.2.1
Actions #6

Updated by Jonathon Turel about 3 years ago

  • Target version changed from Katello 3.18.2.1 to Katello 3.18.2
Actions

Also available in: Atom PDF