Bug #38339
closedCreation of File type Red Hat repositories fails
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.
Updated by The Foreman Bot 4 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
Updated by Anonymous 3 days ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|104ccd390a30a3db8bc2f0894a8fdd94f17c0bc5.
Updated by Ian Ballou 3 days ago
- Category set to Repositories
- Target version set to Katello 4.16.1