Project

General

Profile

Actions

Bug #28555

open

enabling a repository set without providing a basearch yields unexpected results

Added by Evgeni Golov almost 5 years ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

PUT /katello/api/products/:product_id/repository_sets/:id/enable does not mark basearch as required, however, when one does enable a reposet without providing the basearch, the repo is displayed as "noarch" in /katello/sync_management (see attached screenshot)

the same does not happen when you enable that repo via the UI, as the UI will force the basearch to be set, even if the repository does not provide it in its substitutions

I think instead of the UI doing the injection, the API/controller should do it.


Files


Related issues 4 (1 open3 closed)

Related to Katello - Bug #25224: Some repositories from the CDN no longer has variants and repository page shows "Unspecified"ClosedStephen BenjaminActions
Related to Katello - Bug #25901: [Subscription] - Not able to add RHEL8 repositories into KatelloClosedJohn MitschActions
Related to Foreman - Tracker #27680: API bugs that need workarounds in foreman-ansible-modulesNew

Actions
Related to Katello - Bug #28644: inconsistent repository enabled state for RHEL8 repository sets in the APIClosedPartha AjiActions
Actions

Also available in: Atom PDF