Description of problem: Updating an existing repositories sync schedule-id to a new interval does not modify the actual interval. Though command shows success and task shows success. Version-Release number of selected component (if applicable): 2.1.1-0.5.beta.el6.noarch How reproducible: Everytime Steps to Reproduce: 1. Create a sync schedule of P1D for a given repository 2. Verify new sync schedule shows 3. Change existing sync schedule using sync schedules update subcommand to PT8M. Actual results: Check next scheduled sync interval, it will still be for P1D. Expected results: Next scheduled sync interval should reflect the more aggressive interval. Additional info: Deletion and Creation of a new schedule is the current workaround.
Is this related to https://bugzilla.redhat.com/show_bug.cgi?id=968524 ?
PR issued for this: https://github.com/pulp/pulp/pull/612
Fix in commit 51c93ef6371dfb57b12f917e4b2d1103354a5720
build: 2.3.0-0.14.alpha
verified [root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.14.alpha.el6.noarch [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm repo sync schedules list --repo-id zoo1+----------------------------------------------------------------------+ Schedules +----------------------------------------------------------------------+ There are no schedules defined for this operation. [root@pulp-v2-server ~]# pulp-admin rpm repo sync schedules create -s 2013-09-19T12:51:00Z/P1D --repo-id zoo1 Schedule successfully created [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm repo sync schedules list --repo-id zoo1+----------------------------------------------------------------------+ Schedules +----------------------------------------------------------------------+ Schedule: 2013-09-19T12:51:00Z/P1D Id: 523c5640d669f05dff00067f Enabled: True Last Run: None Next Run: 2013-09-21T12:51:00Z [root@pulp-v2-server ~]# pulp-admin rpm repo sync schedules update -s 2013-09-19T12:51:00Z/PT8M --repo-id zoo1 --schedule-id 523c5640d669f05dff00067f Successfully updated schedule [root@pulp-v2-server ~]# pulp-admin rpm repo sync schedules list --repo-id zoo1+----------------------------------------------------------------------+ Schedules +----------------------------------------------------------------------+ Schedule: 2013-09-19T12:51:00Z/PT8M Id: 523c5640d669f05dff00067f Enabled: True Last Run: None Next Run: 2013-09-20T14:11:00Z [root@pulp-v2-server ~]#
Pulp 2.3 released.