Bug 1084716
| Summary: | Plugins don't seem to be using our CompliantSysLogHandler | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Randy Barlow <rbarlow> | ||||||
| Component: | z_other | Assignee: | Randy Barlow <rbarlow> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | pulp-qe-list | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | Master | CC: | igulina, mkovacik, pthomas, rbarlow, skarmark | ||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||
| Target Release: | 2.4.0 | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-08-09 06:56:15 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Randy Barlow
2014-04-05 21:43:23 UTC
The fix for this bug is included in the 2.4.0-0.10.beta build that was just published to the Pulp fedorapeople.org repository. Created attachment 890899 [details]
log for rpm sync
Created attachment 890900 [details]
log for iso sync
Randy, could you please specify what the old log entry looked like? Thanks, milan I don't believe I have any logs that I can easily find from back when this was a problem, but if you see the word "pulp" as the first part of log messages, that means the CompliantSysLogHandler is being used as it's the only handler that gets the formatter that does that. Without our formatter/handler, you might see log messages that start with the string "celery", or "nectar". With our formatter, the message will start with "pulp[<PID>]: celery…" for example. Does that help? confirmed in pulp-server-2.4.0-0.11.beta.fc20.noarch with: >>sudo journalctl --since 2014-05-09 SYSLOG_IDENTIFIER=pulp + SYSLOG_IDENTIFIER=nectar + SYSLOG_IDENTIFIER=httpd + SYSLOG_IDENTIFIER=celery | tail -1 May 12 13:23:51 ec2-54-73-49-210.eu-west-1.compute.amazonaws.com pulp[3526]: celery.beat:ERROR: SchedulingError: Couldn't apply scheduled task babysit: [Errno 110] Connection timed out >>sudo journalctl --since 2014-05-09 SYSLOG_IDENTIFIER=pulp + SYSLOG_IDENTIFIER=nectar + SYSLOG_IDENTIFIER=httpd + SYSLOG_IDENTIFIER=celery | grep "celery\[" May 12 09:33:51 ec2-54-73-49-210.eu-west-1.compute.amazonaws.com celery[3528]: Exception in thread Thread-13: May 12 09:33:51 ec2-54-73-49-210.eu-west-1.compute.amazonaws.com celery[3528]: Traceback (most recent call last): May 12 09:33:51 ec2-54-73-49-210.eu-west-1.compute.amazonaws.com celery[3528]: File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner >>sudo journalctl --since 2014-05-09 SYSLOG_IDENTIFIER=pulp + SYSLOG_IDENTIFIER=nectar + SYSLOG_IDENTIFIER=httpd + SYSLOG_IDENTIFIER=celery | grep "nectar\["| wc -l 0 >>sudo journalctl --since 2014-05-09 SYSLOG_IDENTIFIER=pulp + SYSLOG_IDENTIFIER=nectar + SYSLOG_IDENTIFIER=httpd -- Logs begin at Fri 2014-05-02 12:29:19 UTC, end at Mon 2014-05-12 13:37:41 UTC. -- May 09 00:00:39 ec2-54-73-49-210.eu-west-1.compute.amazonaws.com pulp[3526]: celery.beat:INFO: Scheduler: Sending due task babysit (pulp.server.async.tasks.babysit) May 09 00:01:39 ec2-54-73-49-210.eu-west-1.compute.amazonaws.com pulp[3526]: celery.beat:INFO: Scheduler: Sending due task babysit (pulp.server.async.tasks.babysit) This has been fixed in Pulp 2.4.0-1. |