Description of problem: We have repositories 'rhel-7-server-extras-rpms' enabled in the content view. When adding a below filter, it skips the package `python-werkzeug` ~~~ Filter-> Content-Type(Errata -Date and Type) -> Inclusion Type(Exclude) Errata Type: Security, Enhancement and Bugfix Date Type: Updated on Start Date: 10/29/2018 End Date: mm/dd/yyy ~~~ I have confirmed, `python-werkzeug` package is available from below errata's ~~~ RHEA-2014:0698 Released on 2014-06-10 00:00:00 RHEA-2017:2955 Released on 2017-10-19 14:30:38 UTC RHEA-2018:3365 Released on 2018-10-30 ~~~ Now customer does not want to include any errata after 2018-10-29. which means the errata RHEA-2018:3365 should not be included. But since the package `python-werkzeug` is available from other two Errata's, I expect this to be available. Version-Release number of selected component (if applicable): 6.4 How reproducible: Always Steps to Reproduce: 1. Create a content view with repositories `rhel-7-server-extras-rpms` and `rhel-7-server-rpms` 2.Create a filter as below: ~~~ Filter-> Content-Type(Errata -Date and Type) -> Inclusion Type(Exclude) Errata Type: Security, Enhancement and Bugfix Date Type: Updated on Start Date: 10/29/2018 End Date: mm/dd/yyy ~~~ 3.Publish the content view 4. check for package `python-werkzeug` Actual results: Package is missing. Expected results: Package should be present Additional info: When the filter is modified to Start date as 10/31/2018 both errata and package is available, but it has other *not required* packages available as well.
IMO this is not a bug and working as designed. The way filters are designed the "excludes" always win. For example if you said "include package foo" and then "exclude package foo" no rpms are going to get copied over. The workaround for what the customer wants should be instead an includes filter i.e. change ~~~ Filter-> Content-Type(Errata -Date and Type) -> Inclusion Type(Exclude) Errata Type: Security, Enhancement and Bugfix Date Type: Updated on Start Date: 10/29/2018 End Date: mm/dd/yyy ~~~ to ~~~ Filter-> Content-Type(Errata -Date and Type) -> Inclusion Type(Include) Errata Type: Security, Enhancement and Bugfix Date Type: Updated on Start Date: mm/dd/yyyy End Date: 10/29/2018 ~~~ That should get the desired output.
Hello Anand, Can you work with the customer to confirm that the scenario provided by Partha in comment 10 addresses their needs? thanks, Brad
Slight update to my previous comment. An additional step -> Add an includes filter for packages without errtata i.e. change ~~~ Filter-> Content-Type(Errata -Date and Type) -> Inclusion Type(Exclude) Errata Type: Security, Enhancement and Bugfix Date Type: Updated on Start Date: 10/29/2018 End Date: mm/dd/yyy ~~~ to ~~~ Filter-> Content-Type(Errata -Date and Type) -> Inclusion Type(Include) Errata Type: Security, Enhancement and Bugfix Date Type: Updated on Start Date: mm/dd/yyyy End Date: 10/29/2018 ~~~ + ~~~ Filter-> Content-Type(Package) -> Inclusion Type(Include) Check Include all RPMs with no errata. ~~~ That should get the desired output.
Hello Brad & Partha, Thank you for sharing the scenario. I have shared the same with the customer and awaiting the reply from them. I will update you with the customer's response in the Bugzilla as soon as I hear from them. Regards, Anand