| Summary: | repo events should contain a 'path' record | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> | ||||
| Component: | z_other | Assignee: | Jeff Ortel <jortel> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | skarmark | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | Sprint 24 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-02-24 20:12:14 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 563609 | ||||||
| Attachments: |
|
||||||
|
Description
Daniel Mach
2011-05-12 12:02:15 UTC
You want the path part of the download URL, right? Rather, the sync URL not the download URL Path added. commit: 41ffda11e6739f8034789c4a36c09e27a3b799e0 (In reply to comment #2) > Rather, the sync URL not the download URL No, I mean the path on local file system. I want it to rsync a repo elsewhere. The event 'path' field now contains the absolute (file) path to the repo storage location in pulp. commit: 84611ae9020cff3e6cf4872c32ea2b366f7ff55f build: 0.190 Created attachment 521274 [details]
Event listener
Quick & dirty event listener.
Repo created events broken. Fixed: 0c41f94dc8e99961b06836402cee7e72ea5f34da How to verify: 1) edit /etc/pulp/pulp.conf and enable sending events. [events] send_enabled: true recv_enabled: false 2) restart httpd 3) start the attached event listener. 4) create a repo 5) note in the event listener output the 'path' element in the event. 6) done (In reply to comment #8) > Repo created events broken. Fixed: 0c41f94dc8e99961b06836402cee7e72ea5f34da > > How to verify: > > 1) edit /etc/pulp/pulp.conf and enable sending events. > > [events] > send_enabled: true > recv_enabled: false > > 2) restart httpd > 3) start the attached event listener. do: 'python listener.py' in a terminal window. > 4) create a repo > 5) note in the event listener output the 'path' element in the event. > 6) done build: 0.230 verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.230-1.fc15.noarch
[root@preethi ~]# python listener.py
subject: repo.created
event:
{'path': '/var/lib/pulp//repos/test2', 'name': 'test2', 'id': 'test2'}
Pulp v1.0 is released Closed Current Release. |