Bug 268841

Summary: CRM#1730848 - Scheduled Successes report "no systems have completed this action" when proceeding to second page
Product: [Retired] Red Hat Network Reporter: Xixi <xdmoon>
Component: RHN/Web SiteAssignee: Bill C. Riemers <briemers>
Status: CLOSED CURRENTRELEASE QA Contact: Amy Owens <aowens>
Severity: high Docs Contact:
Priority: high    
Version: rhn500CC: bkearney, cperry, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-07 20:00:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 250218    
Bug Blocks: 428842, 430586, 430587    

Comment 6 Bill C. Riemers 2008-01-16 16:04:08 UTC
Fix submitted.

Comment 7 Bill C. Riemers 2008-01-16 16:06:06 UTC
Scheduled scripts do not echo the second screen of systems and reruns script
multiple times.

Note: This appears to be two bug reports.  I submitted a fix for the second
screen not showing problem.   A separate bug should be opened for reruns of
scripts multiple times...


Comment 9 James Bowes 2008-01-25 18:07:52 UTC
To test:
 * give yourself plenty of entitlements for rhel 5
 * use systemfaker.py in satellite svn under the qa/automation dir to create a
pile of systems:
   python systemfaker.py -s https://xmlrpc.rhn.webdev.redhat.com/XMLRPC -v -u
jbowesgit -p redhat -n 100 -m jbowesfake -a i386 -o 5Server -r "Red Hat Linux"
 * Via the webui, give all of these systems the provisioning entitlement, and
subscribe them to the rhn tools channel
 * Select all systems, manage the group, and schedule a remote command
   (you can fill in whatever you want for the command, it doesn't matter)
 * note the id in the URL for the action you scheduled
 * in a sql console, mark all the actions for each system as failed:
   update rhnserveraction set status=3 where action_id=ID_FROM_WEBUI
 * View your action in the webui, and select failed systems. You should now see  
   a list of 20 systems.
 * View the next or last page, either with ">" or ">|"

Expected Results:
   This should display the next grouping of failed systems
Actual Results:
   The 'run command' action is rescheduled for all failed systems

Comment 10 James Bowes 2008-01-25 18:10:13 UTC
Marking as fails_qa, selecting the next page still causes the action to be
rescheduled in dev, rather than showing the next group of failed systems.

Comment 12 Bill C. Riemers 2008-01-25 19:22:26 UTC
James, I'm reading through your test procedure, and it does not at all match
what is listed in the issue tracker.  You need to be looking at Successes under
Completed Actions.  Why are you looking at failed systems?  Here is the
information from issue tracker on this bug:

Description of problem:
Attempting to verify the servers that have been scheduled for an update. I
perform the following steps in RHN:
(tried login through seqaaron)
1. Select "Schedule" from the top navigation.
2. Select "Completed Actions" from the side navigation.
3. Select the number over 100 associated in the Succeeded column. This brings up
the first 20 servers that were succesful.
4. Click the > arrow to move to see the next 20 items. (My preferences are set
to list 20 items)
5. Get an error page that says: "No systems have completed this action."

What I am expecting:
At step 5, I expect to see the server items 21-40.


Additional info:
Have uploaded screenshot for reference.



Comment 21 Bill C. Riemers 2008-01-28 22:10:20 UTC
I opened bugs 430586 430587 to address the two issues mentioned in comment #1,
that are not part of the issue tracker report.  I've changed the subject of this
bug just to refer to the "no systems have completed this action" bug referenced
in both issue tracker and comment #1.

Please verify the "no systems have completed this action" bug has been fixed.



Comment 22 Bill C. Riemers 2008-01-28 22:14:37 UTC
(In reply to comment #20)
>   The next fix systems are displayed.
             ^^^
five


Comment 23 James Bowes 2008-01-28 22:49:27 UTC
Verified for multiple pages of successful systems.