Created attachment 1034738 [details] Incremental update screenshot showing incorrect hosts Description of problem: Incremental update displays errata counts but calls it Host count Version-Release number of selected component (if applicable): Sat 6.1 GA Snap 7 How reproducible: Always Steps to Reproduce: 1. Navigate to Content -> Errata 2. Select multiple erratas and apply 3. Review the Apply Errata page Actual results: Number of errata is displayed under Host Count section Expected results: - Display the right number of affected content hosts Additional info:
I cannot reproduce this following the steps given, is there anything else that needs to be done in order to reproduce this?
I spoke to Walden about this and we realized that this issue can only be truly verified once https://bugzilla.redhat.com/show_bug.cgi?id=1228292 is ON_QA
Failed. The Host count still shows the applicable errata count Version tested: Sat 6.1 GA Snap 8
Well in that case I need some clear steps to reproduce as the ones in the description are not sufficient. Something is missing.
Created redmine issue http://projects.theforeman.org/issues/10839 from this bug
(In reply to Walden Raines from comment #8) > Created redmine issue http://projects.theforeman.org/issues/10839 from this > bug This issue is due to an older version of activerecord and is thus downstream only.
Merged downstream 400fe2b732a554fe0139aaa0856128882fa33add.
Delivered in Snap10
Failed. It looks like the fix for this is causing https://bugzilla.redhat.com/show_bug.cgi?id=1240819. Unable to verify this bug for more one content host.
There is nothing to do here. This can be verified once #1240819 is fixed.
Created redmine issue http://projects.theforeman.org/issues/11224 from this bug
PR: https://github.com/Katello/katello/pull/5377
Test scenario 1: 1. I had three content hosts - all registered to the same content view. 2. Now I selected an applicable errata - click 'Apply Errata' 3. Select all three content hosts. Click 'Next' 4. Review the 'Apply Errata' page - Host Count showed 3. Test scenario 2: 1. I had three content hosts - all registered to the same content view. 2. Now I selected an applicable errata - click 'Apply Errata' 3. Although three content hosts showed up as affected (since they all tied to the same content view) I selected one of those. Click 'Next' 4. Review the 'Apply Errata' page - Host Count showed 1. My question: What is Host Count actually mean? In the second scenario although I am trying to apply this errata on one content host - all content hosts will anyway get access to this errata since we are incrementally updating the content view which all of these content hosts subscribe. Shouldn't be the affected host count be 3 instead of 1 in this case?
The Host Count is the # of hosts that will *immediately* get the errata installed upon completion of the incremental update process. The other 2 you didn't select will not get the errata installed until you tell it to install it via the UI/API/CLI or an admin goes to a shell and runs 'yum update <package>'. Just because Hosts have access to the errata does not mean that it is installed, this still requires a user action.
(In reply to sthirugn from comment #19) > What is Host Count actually mean? In the second scenario although I am > trying to apply this errata on one content host - all content hosts will > anyway get access to this errata since we are incrementally updating the > content view which all of these content hosts subscribe. Shouldn't be the > affected host count be 3 instead of 1 in this case? Somewhat contrary to what Mike says above, I think that the intent here was to show the number of hosts affected by this action. In scenario #2 above I would expect the count to display "3" since three content hosts will now have this errata available to them and would get it if they were to run a yum update. It is true, however, that if you were to check the "apply" box that it would only apply the errata on the one selected host. From what I can tell, the code, as written, would have never passed scenario #2 as it limits the count to the selected systems. Good catch, will fix. In addition, I will add some text to make the intent of the Content Host count clear.
Failed in Sat 6.1 GA Snap 15 - as per Comment 19 and Comment 21.
Currently the Host Count in question will just show the number of selected host counts. Since this may not give a real picture of actual host count to the user, a new RFE https://bugzilla.redhat.com/show_bug.cgi?id=1250678 is written. So I am marking this bug as VERIFIED in Sat 6.1 GA Snap 15.
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.