Bug #34490

Red Hat Repositories have weird behavior if arch setting is changed

Added by Ryan Verdile about 1 year ago. Updated about 1 year ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


Red Hat Repositories have a `find_repository` method that finds a repository by filtering all the repositories by prouduct_id, content_id, releasevar, and arch. This is problematic when the arch setting is changed, because in certain cases that repository can no longer be found. This can prevent disabling a repository and cause the ability to create a duplicate repository.

The arch setting is filtered out when using certain repos e.g. Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs, because it is not needed as a substitution in the content url (see here: When this happens, repositories from this set are always handled as having a "noarch" arch setting. With this, if you change the arch setting to "x86_64" for a repository from this set, that repository cannot be disabled and is also not detected as an enabled repository (and so you can enable this repository a second time).

Associated revisions

Revision 77f6193f (diff)
Added by Ryan Verdile about 1 year ago

Fixes #34490 - Changing arch setting for some rh repos causes issues (#9967)


#1 Updated by Ryan Verdile about 1 year ago

  • Description updated (diff)

#2 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Ryan Verdile
  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by Chris Roberts about 1 year ago

  • Triaged changed from No to Yes
  • Category set to Repositories

#4 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.5.0 added

#5 Updated by Ryan Verdile about 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF