Hide Forgot
Description of problem: I synced a rhel61 repo. later defined a sync plan from cli as below: katello> sync_plan create --org ACME_Corporation --name rhel_hourly --date 2012-02-07 --time 17:00:00+05:30 katello> product set_plan --name "Red Hat Enterprise Linux Server" --org ACME_Corporation --plan rhel_hourly sync_plan list was showing correct time: ========================================= katello> sync_plan list --org ACME_Corporation ------------------------------------------------------------------------------------------------------------------------------------------------------------- Sync Plan List Id Name Description Start Date Interval ------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 rhel_hourly None 2012/02/07 17:00:00 none however when I checked the sync status at 17:26, it wasn't started. ------------- [root@scalpel ~]# date Tue Feb 7 17:00:26 IST 2012 [root@scalpel ~]# katello -u admin -p admin shell katello> repo status --name "Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" --org ACME_Corporation --product "Red Hat Enterprise Linux Server" ------------------------------------------------------------------------------------------------------------------------------------------------------------- Repository Status ------------------------------------------------------------------------------------------------------------------------------------------------------------- Package Count: 6806 Last Sync: 2012/02/07 03:58:34 Sync State: Waiting Progress: 0% done (0 of 0 packages downloaded) ----------------- at 17:07: ======== root@scalpel ~]# date Tue Feb 7 17:07:27 IST 2012 [root@scalpel ~]# katello --username admin --password admin repo status --name "Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" --org ACME_Corporation --product "Red Hat Enterprise Linux Server" ------------------------------------------------------------------------------------------------------------------------------------------------------------- Repository Status ------------------------------------------------------------------------------------------------------------------------------------------------------------- Package Count: 6806 Last Sync: 2012/02/07 03:58:34 Sync State: Waiting Progress: 0% done (0 of 0 packages downloaded) [root@scalpel ~]# Version-Release number of selected component (if applicable): katello-cli-0.1.44-2.el6.noarch katello-0.1.211-2.el6.noarch pulp-0.0.263-1.el6.noarch How reproducible: always Steps to Reproduce: 1. create a sync plan as in description 2. Apply on a product 3. Actual results: Sync doesn't start at it scheduled interval, shows 0% progress at it schedule interval. Expected results: sync should start at it defined interval of time Additional info:
I guess following bz are related to this defect: https://bugzilla.redhat.com/show_bug.cgi?id=783124 https://bugzilla.redhat.com/show_bug.cgi?id=786098
It was actually caused by combination of issues including displaying incorrect time format at some places and not updating information in pulp after a plan changed. Fixed in katello-0.1.241-1, katello-cli-0.1.55-1
Validated: * candlepin-0.5.22-1.el6.noarch * candlepin-tomcat6-0.5.22-1.el6.noarch * katello-0.1.300-1.el6.noarch * katello-all-0.1.300-1.el6.noarch * katello-certs-tools-1.0.2-2.el6.noarch * katello-cli-0.1.100-2.el6.noarch * katello-cli-common-0.1.100-2.el6.noarch * katello-common-0.1.300-1.el6.noarch * katello-configure-0.1.100-7.el6.noarch * katello-glue-candlepin-0.1.300-1.el6.noarch * katello-glue-foreman-0.1.300-1.el6.noarch * katello-glue-pulp-0.1.300-1.el6.noarch * katello-httpd-ssl-key-pair-1.0-1.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-repos-0.1.5-1.el6.noarch * katello-selinux-0.1.7-1.el6.noarch * katello-trusted-ssl-cert-1.0-1.noarch * pulp-0.0.267-2.el6.noarch * pulp-admin-0.0.267-2.el6.noarch * pulp-client-lib-0.0.267-2.el6.noarch * pulp-common-0.0.267-2.el6.noarch * pulp-selinux-server-0.0.267-2.el6.noarch