Bug 698582 - when a repo sync schedule finished, status in "Next sync" set as "unscheduled"
Summary: when a repo sync schedule finished, status in "Next sync" set as "unscheduled"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Tools
Version: 2.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jay Dobies
QA Contact: Sachin Ghai
URL:
Whiteboard:
Depends On: 698648
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-21 10:04 UTC by Sachin Ghai
Modified: 2012-05-31 12:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-31 12:57:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Ghai 2011-04-21 10:04:20 UTC
Description of problem:

When a scheduled repo sync get finished, the status in "Next sync" field is automatically set as "unscheduled".

Even I re-trigger the sync schedule for same repo, still the status of "Next sync" remains "unscheduled" and status in "Last result" set as running.


Version-Release number of selected component (if applicable):
pulp 0.168
RHUI Tool 2.0.15

How reproducible:
Always

Steps to Reproduce:
1. Schedule a repo sync and when sync will be finished, check the status in "Next Sync"
2. Retrigger the schedule repo sync for same repo, sync started and state changed to "running" under "Last result" but status of "Next sync" remains "unscheduled"

  
Actual results:
"Next sync status remains "Unscheduled"

Expected results:
Proper time should be set for "Next sync" after triggering the repo sync .

Additional info:
        
See the status for 2nd repo (Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) )


-= Repository Synchronization Status =-

Last Refreshed: 10:57:36
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64)
04-21-2011 11:14             04-21-2011 05:00             finished   

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
04-21-2011 10:57             04-21-2011 05:17             running    


                                         Connected: dhcp193-131.pnq.redhat.com
------------------------------------------------------------------------------

-= Repository Synchronization Status =-

Last Refreshed: 10:58:49
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64)
04-21-2011 11:14             04-21-2011 05:00             finished   

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Unscheduled                  04-21-2011 05:27             finished   


                                         Connected: dhcp193-131.pnq.redhat.com
------------------------------------------------------------------------------





------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Synchronization Status =-

Last Refreshed: 11:00:08
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64)
04-21-2011 11:14             04-21-2011 05:00             finished   

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Unscheduled                  04-21-2011 05:27             running    


                                         Connected: dhcp193-131.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) => 

Select one or more repositories to schedule to be synchronized before its scheduled time.
The sync will happen as soon as possible depending on other tasks that may be executing
in the RHUI.

         Last Result   Next Sync         Repository
         ------------------------------------------
  -  1 : finished  04-21-2011 11:14  Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64)
  x  2 : finished  Unscheduled       Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Enter value from (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands:

Comment 1 Jay Dobies 2011-04-21 13:22:56 UTC
Refiled as a bug in the Pulp project: 698648

Comment 2 Jay Dobies 2011-04-21 16:51:58 UTC
commit	f971a8eb530effd29e6ae2ccb2159487da3ee0e6
tree	2dd20ff189d46547dac86d8e29b45c822157b141


698582 - Changed output for next sync in the case where the sync is running


rhui-2.0/tools/src/rhui/tools/screens/sync.py

Comment 3 Jay Dobies 2011-05-24 12:11:22 UTC
Fixed in 2.0.23.

Comment 4 Sachin Ghai 2011-05-26 11:47:07 UTC
Verified in build

rhhu-tools 2.0.25
pulp 0.181

Its working fine and showing correct status. "Next sync" showing correct status/time when sync is running. In other case, "next sync" showing correct time when repo sync finished. Eralier it was showing as unscheduled.



------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Synchronization Status =-

Last Refreshed: 15:57:44
(updated every 50 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64)
05-26-2011 16:49             Never                        scheduled  

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)
05-26-2011 16:46             05-26-2011 15:56             finished   

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
05-26-2011 16:46             Never                        scheduled  


                                          Connected: dhcp193-79.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) => dr


------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Synchronization Status =-

Last Refreshed: 16:58:49
(updated every 50 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64)
05-26-2011 16:49             Never                        running    

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)
05-26-2011 17:46             05-26-2011 16:47             finished   

Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
05-26-2011 17:46             05-26-2011 16:47             finished   


                                          Connected: dhcp193-79.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) =>

Comment 5 wes hayutin 2011-08-01 21:40:27 UTC
moving to release pending

Comment 6 wes hayutin 2012-05-31 12:57:06 UTC
closing out, product released


Note You need to log in before you can comment on or make changes to this bug.