Bug #9890
closedTrying to remove a content view indicates "affected hosts" that do not use said CV
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1205379
Description of problem:
When you have two parallel content paths - say, RHEL6 and RHEL7 - and systems registered using each, subsequently trying to remove one of the paths, indicates "affected hosts" that do not actually consume content from that CV.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Sync RHEL6 content; create RHEL6 CV/pub/promote; add RHEL6CV to ak
2. Register RHEL6 box(es)
3. Sync RHEL7 content; create RHEL7 CV/pub/promote; add RHEL67V to ak
4. Register RHEL7 box(es)
5. Attempt to remove RHEL6 CV (first remove rhel6 AK, etc., I think?)
* Remove View > Remove Version > Next
* Show Affected Content Hosts
Actual results:
Hosts that show up in "Affected Content Hosts" that are not RHEL6 and/or should not be affected.
Expected results:
We should not show hosts that are not affected
Additional info:
This is more critical than it looks because I am forced to move those hosts somewhere else (even though they don't need to be) in order to remove the view.