Bug 1732590 - Cannot add filter on same RPM name with different architectures
Summary: Cannot add filter on same RPM name with different architectures
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lai
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-23 19:59 UTC by Lai
Modified: 2020-10-12 14:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description Lai 2019-07-23 19:59:46 UTC
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:

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.

Note You need to log in before you can comment on or make changes to this bug.