Bug #23650

Cannot list ostree (or other Repos with no substitutions) on new red hat repositories page

Added by Partha Aji about 1 month ago. Updated 27 days ago.

Status:Closed
Priority:Normal
Assigned To:Partha Aji
Category:Repositories
Target version:Team Brad - Iteration 27
Difficulty: Pull request:https://github.com/Katello/katello/pull/7385
Bugzilla link:1574994 Found in Katello release:
Story points-
Velocity based estimate-
ReleaseKatello 3.7.0Release relationshipAuto

Description

There are many repos in the cdn that do not have an arch or release version available as a substitution. The new RH repos page fails to list them. Example ones being repos with content type = ostree.

Steps:
1) Upload a Manifest for Subscriptions
2) Go to the Red Hat Repos page (/redhat_repositories)
3) In search type content_type = ostree
4) Try to enable a product

Actual Result:
PFA
undefined

Expected Result:
It should list down
Red Hat Enterprise Linux Atomic Host Trees
Red Hat Enterprise Linux Atomic Host Beta Trees

Associated revisions

Revision 318b71e4
Added by Partha Aji 28 days ago

Fixes #23650 - Lists no sub repos on RH repos page

The new RH Repos page made the assumption that all repos had an arch
available. However there are many repos that do not have an arch or
release version defined as a substitution. This commit addresses that by
marking the arch as "Unspecified" if no substitution is available for
basearch.

History

#1 Updated by Partha Aji about 1 month ago

  • Bugzilla link set to 1574994

#2 Updated by The Foreman Bot about 1 month ago

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

#3 Updated by Partha Aji 28 days ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#4 Updated by Jonathon Turel 27 days ago

  • Release set to Katello 3.7.0

Also available in: Atom PDF