Bug 809195
Summary: | Post sync url not working with scheduled sync. | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Justin Sherrill <jsherril> |
Component: | user-experience | Assignee: | Jason Connor <jconnor> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.0.0 | CC: | jortel, mmccune, omaciel |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-25 14:16:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 802454 |
Description
Justin Sherrill
2012-04-02 17:44:02 UTC
*** This bug has been marked as a duplicate of bug 802454 *** Functionally a duplicate, yes, but against the wrong product. Reopening. added post_sync dequeue callback to scheduled syncs fix pushed in: cc8fb3006579b82fb7a67de9f903c2e44449fe63 build: 1.0.3 [root@pulp-v1-server ~]# rpm -q pulp pulp-1.0.3-1.el6.noarch [server] server_name: pulp-v1-server.usersys.redhat.com relative_url: /pulp/repos key_url: /pulp/gpg ks_url: /pulp/ks default_login: admin default_password: admin post_sync_url: https://localhost/pulp/api/sync/post_action [root@pulp-v1-server ~]# pulp-admin repo create --id zoo --feed http://inecas.fedorapeople.org/fakerepos/zoo/ --relativepath zoo Successfully created repository [ zoo ] [root@pulp-v1-server ~]# pulp-admin repo sync --id=zoo --interval=PT5M --start=2012-02-07T12:40:00-01:00:00 Sync schedule for repo [ zoo ] changed to [ 2012-02-07T12:40:00-01:00/PT5M ] [root@pulp-v1-server ~]# From [root@pulp-v1-server ~]# tail -f /var/log/httpd/ssl_access_log 10.16.120.248 - - [03/Apr/2012:16:09:42 -0400] "PUT /pulp/api//repositories/zoo/schedules/sync/ HTTP/1.1" 200 123 ::1 - - [03/Apr/2012:16:10:10 -0400] "POST /pulp/api/sync/post_action HTTP/1.1" 404 9 ::1 - - [03/Apr/2012:16:15:17 -0400] "POST /pulp/api/sync/post_action HTTP/1.1" 404 9 [root@pulp-v1-server ~]# rpm -q pulp pulp-1.0.4-1.el6.noarch [root@pulp-v1-server ~]# [server] server_name: pulp-v1-server.usersys.redhat.com relative_url: /pulp/repos key_url: /pulp/gpg ks_url: /pulp/ks default_login: admin default_password: admin post_sync_url: https://localhost/pulp/api/sync/post_action [root@pulp-v1-server ~]# pulp-admin repo create --id zoo --feed http://inecas.fedorapeople.org/fakerepos/zoo/ --relativepath zoo Successfully created repository [ zoo ] [root@pulp-v1-server ~]# pulp-admin repo sync --id=zoo --interval=PT5M --start=2012-02-07T12:40:00-01:00:00 Sync schedule for repo [ zoo ] changed to [ 2012-02-07T12:40:00-01:00/PT5M ] [root@pulp-v1-server ~]# [root@pulp-v1-server ~]# ssl_access_log 10.16.120.248 - - [04/Apr/2012:08:40:09 -0400] "PUT /pulp/api//repositories/zoo/schedules/sync/ HTTP/1.1" 200 123 ::1 - - [04/Apr/2012:08:45:10 -0400] "POST /pulp/api/sync/post_action HTTP/1.1" 404 9 ::1 - - [04/Apr/2012:08:50:06 -0400] "POST /pulp/api/sync/post_action HTTP/1.1" 404 9 Pulp v1.1 Release |