Created attachment 1026844 [details] Incorrect errata count Description of problem: Incorrect errata count shown on Content -> Errata page Version-Release number of selected component (if applicable): Sat 6.1 GA Snap 4 How reproducible: Always Steps to Reproduce: 1. Sync 7Server repo - Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server - I got * 6984 Packages * 551 Errata 2. Create a content view with this repo and add the content view to an activation key. Add right subscriptions to activation key 3. Register and subscribe a content host using the activation key and make sure it is green 4. Now, navigate to Content -> Errata -> in the repo dropdown, select the 7Server repo Actual results: It showed: * Showing 14 of 14 (26 Total) I am not sure what 26 is referring to. I am expecting to see 14 Total. Then I uncheck Applicable check box. It showed: * Showing 20 of 551 (551 Total) This seems to be correct as I have shown in the Steps to Reproduce -> Step 1 Expected results: Explained above Additional info:
Haven't started on this yet so changing back to NEW in case any one else wants to grab it.
I cannot reproduce this given the steps provided. Is there anything else I need to do?
Updated Steps to reproduce: 1. Sync 7Server repo - Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server - I got * 6984 Packages * 551 Errata 2. Create a content view cv1 with this repo. Add cv1 to an activation key ak1. 3. Create another content view cv2 with the same repo and add errata type filters. Add cv2 to an activation key ak2. 4. Register and subscribe two cotnent hosts to ak1 and ak2 make sure it is green 5. Now, navigate to Content -> Errata -> in the repo dropdown, select the 7Server repo
I think the way to reproduce this is: 1. Sync a rhel 6 or 7 OS repo 2. Publish a content view with some or all of the errata from that repo 3. Register a system that needs errata, visit the errata page and note that some errata are applicable> The counts should be wrong 4. publish to a new content view, seems to increase this count. The more content views the higher the count
Created attachment 1037341 [details] RHEL 7 repository shows 555 errata RHEL 7 repository shows 555 errata
Created attachment 1037343 [details] Applicable errata count is 29 Here we see that the number of applicable errata is 29 and we are listing 20/29
Created attachment 1037344 [details] Showing all the 555 errata When I uncheck the 'Applicable' checkbox I get the expected 555 errata listed
Comments #7 thru #9 are the screenshots that cover the scenario: * Sync RHEL 7 RPMs * Create content view with RHEL 7 RPMs and an **exclude** filter of Errata by DATE * Published/Promoted content view * Created activation key associated with content view * Provisioned a RHEL 7 host using a host group associated to the activation key It looks like the expected behavior is working.
Moving to ON_QA per comment#10
Created attachment 1037395 [details] Reproduced the issue on SNAP 7 Compose 2 Finally was able to reproduce it. I believe that there are 2 important steps to verify this: * Make sure to select the 'All Repositories' entry (and not filter by 'RHEL 7' repo as stated in the issue) * Make sure that you synchronize RPMs for RHEL 7 **and** RHEL 6 (Walden only had RHEL 7 content when he tried to reproduce it) The attached screenshot shows the discrepancy (20 of 29 (100 total))
This has failed on SNAP 7 Compose 2 as per comment #12.
Merged downstream 400fe2b732a554fe0139aaa0856128882fa33add.
Delivered in Snap10
Verified in GA Snap 11. Screenshots attached.
Created attachment 1049461 [details] verification screenshot
Created attachment 1049462 [details] another verification screenshot
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.