QE is seeing the following traceback when creating a repo with a schedule: [/etc/pki/content/rhui-1.2-5Server-x86_64/consumer-rhui-1.2-5Server-x86_64.key] 2011-06-02 17:50:20,547 [ERROR][Dummy-2] report_error() @ base.py:57 - Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/base.py", line 53, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/base.py", line 132, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/repositories.py", line 217, in POST notes=repo_data.get('notes', None)) File "/usr/lib/python2.6/site-packages/pulp/server/auditing.py", line 197, in _audit result = method(*args, **kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/api/repo.py", line 214, in create update_repo_schedule(r, sync_schedule) File "/usr/lib/python2.6/site-packages/pulp/server/api/scheduled_sync.py", line 178, in update_repo_schedule _add_repo_scheduled_sync_task(repo) File "/usr/lib/python2.6/site-packages/pulp/server/api/scheduled_sync.py", line 107, in _add_repo_scheduled_sync_task synchronizer = api.get_synchronizer(repo['source']['type']) AttributeError: 'RepoApi' object has no attribute 'get_synchronizer'
Fixed here: http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=70ec176eb4a57c1b21d4899a123d43ee560cdfc6
build: 0.186
Verified in pulp build 0.186, I can create a repo with sync schedule and repo sync is working fine. Following output is when sync starts for existing (Red Hat Enterprise Linux Server 6 Optional Releases (RPMs)) repo. Here I created two new repos of RHUI 1.2 and sync is set as scheduled. ------------------------------------------------------------------------- -= Repository Synchronization Status =- Last Refreshed: 13:59:52 (updated every 50 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64) 06-03-2011 13:49 06-03-2011 12:57 running Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 06-03-2011 14:30 06-01-2011 18:34 scheduled Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 06-03-2011 14:46 Never scheduled Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 06-03-2011 14:46 Never scheduled Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => dr ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 14:00:01 (updated every 50 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64) 06-03-2011 14:49 06-03-2011 13:59 finished Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 06-03-2011 14:30 06-01-2011 18:34 scheduled Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 06-03-2011 14:46 Never scheduled Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 06-03-2011 14:46 Never scheduled Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => I'll update the sync result shortly for newly created two repos ( RHUI 1.2)
------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- For newly created repo, the sync is running fine and without any error/traceback. Here is the result from rhui-manager -= Repository Synchronization Status =- Last Refreshed: 14:47:11 (updated every 50 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64) 06-03-2011 14:49 06-03-2011 13:59 finished Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 06-03-2011 14:30 06-01-2011 18:34 running Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 06-03-2011 15:46 06-03-2011 14:47 finished Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 06-03-2011 15:46 06-03-2011 14:47 finished Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------
Closing with Community Release 15 pulp-0.0.223-4.