Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
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
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: