| Summary: | No change in state of sync schedules | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Kedar Bidarkar <kbidarka> | ||||
| Component: | Tools | Assignee: | Jay Dobies <jason.dobies> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.0 | CC: | sghai, tsanders | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-05-31 12:53:54 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Was the repo already syncced out to the CDS? Was it a small repo? It's possible that the sync finished quickly enough that the running state started and completed during the time between triggering it and displaying the status. I'm not sure what I'm supposed to be looking at in the 'dr' snippet. Which repo was it you tried to sync? You say that: "state changes directly from 'scheduled' to 'finished' without moving to 'running'." but in actual results you say: "The state always remains as 'scheduled' ," Which is it? Is it going to finished or staying at scheduled? ok, the sentence was a bit misleading. The Actual result should be : The state remains as 'scheduled', during the syncing with out moving to 'running' and after the sync is finished directly moves to 'finished' from 'scheduled'. In short -- the state never goes to 'running'. The sync ran for a while, as I was syncing rhel5 content from cdn. Using 'dr option' to view the states. I found the same behaviour as mentioned in comment2. Additionally, when a repo sync is finished, the state never changed to 'scheduled' even after triggering the individual repo sync. Also "Next sync' time remains same. Connected: dhcp193-157.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => dr ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 06:19:47 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 05-05-2011 12:6 05-05-2011 00:46 finished Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 05-05-2011 12:6 05-05-2011 00:46 finished Connected: dhcp193-157.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => sr 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. Only repositories that are not currently synchronizing are displayed. Last Result Next Sync Repository ------------------------------------------ - 1 : finished 05-05-2011 12:6 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) - 2 : finished 05-05-2011 12:6 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) Enter value from (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2 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. Only repositories that are not currently synchronizing are displayed. Last Result Next Sync Repository ------------------------------------------ x 1 : finished 05-05-2011 12:6 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) x 2 : finished 05-05-2011 12:6 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) Enter value from (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c The following repositories will be scheduled for synchronization: Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) Proceed? (y/n) y Scheduling sync for Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)... ... successfully scheduled for the next available timeslot. Scheduling sync for Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)... ... successfully scheduled for the next available timeslot. ------------------------------------------------------------------------------ rhui (sync) => dr ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 06:20:04 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 05-05-2011 12:6 05-05-2011 00:46 finished Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 05-05-2011 12:6 05-05-2011 00:46 finished Connected: dhcp193-157.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => ^C [root@dhcp193-136 rhui_certs]# Facing the same issue with pulp-180 and rh-rhui-tools 2.0.25 Change in state of sync schedule happens, but only when its scheduled 'by default'. meaning change in state of sync schedule doesn't happen , if performed an individual sync using ' sr command'.
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Repository Synchronization Status =-
Last Refreshed: 09:52:08
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server (RPMs) (5Server-x86_64)
06-01-2011 09:23 Never running
Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64)
06-01-2011 09:23 06-01-2011 04:14 running
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
06-01-2011 15:23 06-01-2011 09:38 finished
Connected: dhcp201-103.englab.pnq.redhat.com
Similar observation for CDS sync schedules. When we trigger individual CDS sync schedule, state in "Last Result" doesn't change. However its working when sync starts at default interval of time. Please reverify this on Pulp .190. Verified on Pulp 0.190. Sync status changed perfectly when sync starts at its scheduled interval.
However when we trigger the individual sync. It works for only RHUI1.2 repos.
And for others, it remains in same state (scheduled). Here I triggered the individual repo sync for "rhel6 optional releases (RPMs)" and when I checked the sync status, it was set as scheduled.
And when I retriggered the individual repo sync, i got
... sync already in progress, new schedule was not added.
Screen ouputs are below:
===============
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Repository Synchronization Status =-
Last Refreshed: 14:46:48
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-17-2011 14:57 Never scheduled
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
06-17-2011 15:18 06-17-2011 14:19 finished
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
06-17-2011 15:18 06-17-2011 14:19 finished
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)
06-17-2011 14:51 06-17-2011 13:58 finished
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
06-17-2011 14:51 06-17-2011 13:58 finished
Connected: dhcp193-163.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) => sr
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. Only repositories that are not currently synchronizing are displayed.
Last Result Next Sync Repository
------------------------------------------
- 1 : scheduled 06-17-2011 14:57 Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
- 2 : finished 06-17-2011 15:18 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
- 3 : finished 06-17-2011 15:18 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
- 4 : finished 06-17-2011 14:51 Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)
- 5 : finished 06-17-2011 14:51 Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Enter value (1-5) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1
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. Only repositories that are not currently synchronizing are displayed.
Last Result Next Sync Repository
------------------------------------------
x 1 : scheduled 06-17-2011 14:57 Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
- 2 : finished 06-17-2011 15:18 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
- 3 : finished 06-17-2011 15:18 Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
- 4 : finished 06-17-2011 14:51 Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)
- 5 : finished 06-17-2011 14:51 Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Enter value (1-5) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
The following repositories will be scheduled for synchronization:
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
Proceed? (y/n) y
Scheduling sync for Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)...
... sync already in progress, new schedule was not added.
------------------------------------------------------------------------------
rhui (sync) =>
Bulk moving a bunch of sync related bugs to ON_QA to test with version 2.0.32. Verified in new build ( pulp 0.194 and rhui-tools 2.0.32)
Scheduled CDS Sync at specified interval: Working fine:
=========================================================
-= Red Hat Update Infrastructure Management Tool =-
-= CDS Synchronization Status =-
Last Refreshed: 16:16:54
(updated every 5 seconds, ctrl+c to exit)
cds00133 .................................................... [ UP ]
cds00175 .................................................... [ UP ]
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
cds00133
06-23-2011 16:23 Never Never
cds00175
06-23-2011 16:24 Never Never
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) =>
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= CDS Synchronization Status =-
Last Refreshed: 16:23:56
(updated every 5 seconds, ctrl+c to exit)
cds00133 .................................................... [ UP ]
cds00175 .................................................... [ UP ]
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
cds00133
06-23-2011 22:23 06-23-2011 16:23 Success
cds00175
06-23-2011 22:24 06-23-2011 16:24 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
CDS Sync status by triggering individual sync: working fine
==================================================
-----------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Synchronization Status =-
dr display repo sync summary
vr view the details of the last repository sync
sr sync an individual repository immediately
dc display CDS sync summary
vc view the details of the last CDS sync
sc sync an individual CDS immediately
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
rhui (sync) => sc
Select one or more CDS instances 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. Only CDS instances that are not currently synchronizing are displayed.
Last Result Next Sync CDS
------------------------------------------
- 1 : Success 06-23-2011 22:23 cds00133
- 2 : Success 06-23-2011 22:24 cds00175
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2
Select one or more CDS instances 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. Only CDS instances that are not currently synchronizing are displayed.
Last Result Next Sync CDS
------------------------------------------
x 1 : Success 06-23-2011 22:23 cds00133
x 2 : Success 06-23-2011 22:24 cds00175
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
The following CDS instances will be scheduled for synchronization:
cds00133
cds00175
Proceed? (y/n) y
Scheduling sync for cds00133...
... successfully scheduled for the next available timeslot.
Scheduling sync for cds00175...
... successfully scheduled for the next available timeslot.
------------------------------------------------------------------------------
rhui (sync) => dc
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= CDS Synchronization Status =-
Last Refreshed: 16:25:25
(updated every 5 seconds, ctrl+c to exit)
cds00133 .................................................... [ UP ]
cds00175 .................................................... [ UP ]
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
cds00133
In Progress 06-23-2011 16:23 Success
cds00175
In Progress 06-23-2011 16:24 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) =>
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= CDS Synchronization Status =-
Last Refreshed: 16:25:56
(updated every 5 seconds, ctrl+c to exit)
cds00133 .................................................... [ UP ]
cds00175 .................................................... [ UP ]
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
cds00133
06-23-2011 22:23 06-23-2011 16:25 Success
cds00175
06-23-2011 22:24 06-23-2011 16:25 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
repo sync at specified interval is also working fine.
Last Refreshed: 11:42:31
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-24-2011 15:27 06-24-2011 09:35 Success
Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
06-24-2011 13:49 06-24-2011 11:22 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386)
06-24-2011 12:53 06-24-2011 06:54 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64)
06-24-2011 12:53 06-24-2011 06:54 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
06-24-2011 12:53 06-24-2011 06:54 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
06-24-2011 12:53 06-24-2011 06:54 Success
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
06-24-2011 12:53 06-24-2011 06:54 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) => dr
-= Repository Synchronization Status =-
Last Refreshed: 13:35:37
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-24-2011 15:27 06-24-2011 09:35 Success
Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
06-24-2011 13:49 06-24-2011 11:22 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386)
In Progress 06-24-2011 12:53 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64)
In Progress 06-24-2011 12:53 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
In Progress 06-24-2011 12:53 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
In Progress 06-24-2011 12:53 Success
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Awaiting Execution 06-24-2011 12:53 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
Last Refreshed: 13:36:05
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-24-2011 15:27 06-24-2011 09:35 Success
Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
06-24-2011 13:49 06-24-2011 11:22 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
In Progress 06-24-2011 12:53 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
In Progress 06-24-2011 12:53 Success
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
In Progress 06-24-2011 12:53 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
Last Refreshed: 13:36:14
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-24-2011 15:27 06-24-2011 09:35 Success
Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
06-24-2011 13:49 06-24-2011 11:22 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
In Progress 06-24-2011 12:53 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
-= Repository Synchronization Status =-
Last Refreshed: 13:36:23
(updated every 5 seconds, ctrl+c to exit)
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-24-2011 15:27 06-24-2011 09:35 Success
Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
06-24-2011 13:49 06-24-2011 11:22 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
06-24-2011 18:53 06-24-2011 13:36 Success
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
06-24-2011 18:53 06-24-2011 13:36 Success
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) =>
moving to release pending closing out, product released |
Created attachment 495571 [details] no change in scheduled state Description of problem: -= Repository Synchronization Status =- The sync status does not change to 'running' state from the 'scheduled' state. but the sync starts and completes as shown below , state changes directly from 'scheduled' to 'finished' without moving to 'running'. Also there is no change of sync timing, when using 'sr option' under the 'Next Sync' heading. Version-Release number of selected component (if applicable): OS version : rhel6 pulp-cds-0.0.171-1.el6.noarch pulp-common-0.0.171-1.el6.noarch pulp-client-0.0.171-1.el6.noarch rh-rhui-tools-2.0.22-1.el6.noarch pulp-0.0.171-1.el6.noarch How reproducible: when trying to set an indiviual repo sync using 'sr option', and then checking the repos sync schedules using 'dr option'. The state doesn't move to 'running', it still shows 'scheduled' Steps to Reproduce: 1. 2. 3. Actual results: The state always remains as 'scheduled' , Expected results: The state should change from 'scheduled' to 'running' Additional info: Shows the following on completion of sync. Last Refreshed: 11:10:03 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server (RPMs) (5Server-x86_64) 04-28-2011 16:50 04-28-2011 15:08 finished Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 04-28-2011 16:50 Never scheduled Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 04-28-2011 16:50 Never scheduled Connected: ec2-50-16-3-208.compute-1.amazonaws.com