[Pulp-list] sync schedule logging
Dennis Kliban
dkliban at redhat.com
Wed Feb 11 14:28:32 UTC 2015
----- Original Message -----
> Hello,
>
> I'm pretty new to Pulp and I created an rpm repo with a feed from RHN.
> I created a schedule to have it download any new released updates, but it
> seems like that doesn't work. Is there any logging where I can look at the
> scheduled runs? Or do I need to modify any configuration to have logging of
> scheduled syncs enabled?
> When I manually run a sync run it does download the newly released rpms.
> After creating a schedule do I need to somehow enable that schedule?
You can looks at the tasks list using command bellow. You should see a sync task in the list if it has run. If you see a task without an operation and resource name, you are experiencing a bug [0]. The task without an operation is the sync task.
pulp-admin tasks list
You can also look at details of what happened with a particular task:
pulp-admin tasks details --task-id <id of task>
-Dennis
[0] https://bugzilla.redhat.com/show_bug.cgi?id=1120671
>
> I used the commands below to create the schedule
>
> # pulp-admin --username=admin --password=xxxx rpm repo sync schedules create
> --schedule PT11H --repo-id=rhel6-x86_64-os
>
> # pulp-admin --username=admin --password=admin rpm repo sync schedules list
> --repo-id=rhel6-x86_64-os
> +----------------------------------------------------------------------+
> Schedules
> +----------------------------------------------------------------------+
>
> Schedule: PT11H
> Id: 54d8c3996609c71ed82749dc
> Enabled: True
> Next Run: 2015-02-11T10:26:33Z
>
> So the schedule does exist
>
> Best Regards,
> Jo
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
More information about the Pulp-list
mailing list