Project

General

Profile

Actions

Bug #33855

closed

Cannot add filter on same RPM name with different architectures

Added by Samir Jha over 2 years ago. Updated over 2 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1732590

Description of problem:
You cannot add a filter rule on the same RPM name that has different architectures. In the reproduction step, I'm using the "rest" rpm from rhel7 server because it has 2 different architecture.

Version-Release number of selected component (if applicable):
6.6.0 snap 12

How reproducible:
100%

Steps to Reproduce:
1. Sync rhel7 server RPM
2. Create a CV and add the above repo
3. Yum Content -> filter
4. Create a Package exclusion filter
5. Add rule: name = rest, architecture = x86_64, version = all version
6. Hit save
7. Add another rule: name = rest, architecture = i686, version = all version
8. Hit save

Actual results:
Validation failed: This package filter rule already exists.

Expected results:
Rule added successfully

Additional info:
Rhel7 server rpm has firefox packages with 2 types of rest dependencies. One "rest" has x86_64 dependency and the other "rest" has "i686" dependency.

Actions #1

Updated by The Foreman Bot over 2 years ago

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

Updated by Justin Sherrill over 2 years ago

  • Target version changed from Katello 4.4.0 to Katello 4.3.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.4.0 added
Actions #4

Updated by Samir Jha over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF