Bug 1853704

Summary: "No hosts have been specified" appear when selecting more hosts then on 1 page (25)
Product: Red Hat Satellite Reporter: Jan Jansky <jjansky>
Component: Hosts - ContentAssignee: Lucy Fu <lufu>
Status: CLOSED DUPLICATE QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: andy.speagle, aruzicka, inecas, jpasqual, lufu, mfalz, saydas
Target Milestone: 6.11.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-14 19:03:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Jansky 2020-07-03 15:13:04 UTC
Description of problem: 

in WebUI -> Hosts -> Content Hosts use filter for example 'os_major > 6', search result return 26 hosts and i have 25 per page. Click on checkbox 'select all', message "All 25 items on this page are selected. Select all 26."

I will click on 'Select all 26' -> select action -> Manage Packages -> fill 'katello-agent' -> Update -> via remote execution.

If appears "Oops, we're sorry but something went wrong No hosts have been specified."

How reproducible: Always


Steps to Reproduce:
1. WebUI -> Hosts -> Content Hosts use filter for example "os_major > 6"
2. search result return 26 hosts and i have 25 per page
3. Click to checkbox select all
4. Click on Select all 26
5. select action -> Manage Packages -> fill "katello-agent" -> Update -> via remote execution

Actual results:
"Oops, we're sorry but something went wrong No hosts have been specified."

Expected results:
Remote execution on 26 hosts.

Additional info:
If reproducer is needed i can share details.

Comment 4 Adam Ruzicka 2021-01-04 09:49:35 UTC
This will need to be fixed in katello, changing component.

Comment 5 Melanie Falz 2021-04-13 08:35:44 UTC
Tested with Satellite 6.8.4 and face the same issue ("Oops, we're sorry but something went wrong No hosts have been specified.")

Please start working on this issue!

Comment 6 Melanie Falz 2021-07-13 10:33:24 UTC
One year without any progress while the same issue is reproducible in Satellite 6.7 to Satellite 6.9.
May I get any comment on this?

Comment 7 Adam Ruzicka 2021-07-13 13:23:46 UTC
This BZ was aligned to Satellite 7.0 three days after it was opened. Now a year later, not even 6.10 is out yet. Unless someone challenges the target release, the chances of a fix landing in earlier release are quite low.

Comment 8 Andy Speagle 2022-01-29 18:57:37 UTC
Yes, seriously... let's get this into 6.9 or 6.10, please. It's a really annoying bug.

Comment 9 Lucy Fu 2022-02-14 17:26:37 UTC
It has been fixed since 6.10.

Related PRs:
https://github.com/Katello/katello/pull/9321
https://github.com/Katello/katello/pull/9440
https://github.com/Katello/katello/pull/9572
https://github.com/Katello/katello/pull/9728

Except the last PR which is for Debian, the first 3 PRs have been all backported to 6.10.

Comment 10 Lucy Fu 2022-02-14 19:03:05 UTC
It was fixed via https://bugzilla.redhat.com/show_bug.cgi?id=1905560.

*** This bug has been marked as a duplicate of bug 1905560 ***