Project

General

Custom queries

Profile

Actions

Bug #38339

closed

Creation of File type Red Hat repositories fails

Added by Ian Ballou 3 days ago. Updated 2 days ago.

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

Description

Creation of File type Red Hat repositories fails
Cloned from 16788460

`"" is not a valid choice.` occurs when trying to create a File type Red Hat repository, like `rhel-7-server-ansible-tower-3.6-files`.

This is caused by [https://github.com/ianballou/katello/blob/5df0a952a490a9a7390ff6c748abd9b11c467346/app/models/katello/candlepin/repository_mapper.rb#L145]

Katello sends the download policy as an empty string for non-yum repositories. This likely is from earlier times when not all content types had download policy options.

Question is: why is this an issue now, did something change in Pulp? Regardless, Katello can now likely default to using ":default_redhat_download_policy" for all content types.

Actions #1

Updated by The Foreman Bot 3 days ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/11358 added
Actions #2

Updated by The Foreman Bot 3 days ago

  • Fixed in Releases Katello 4.17.0 added
Actions #3

Updated by Anonymous 3 days ago

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

Updated by Ian Ballou 2 days ago

  • Category set to Repositories
  • Target version set to Katello 4.16.1
Actions #5

Updated by Ian Ballou 2 days ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF