Closed Bug 1091042 Opened 11 years ago Closed 11 years ago

Pulse heartbeat script is crashing

Categories

(Webtools :: Pulse, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cliang, Unassigned)

Details

(Whiteboard: [kanban:webops:https://kanbanize.com/ctrl_board/4/1785] )

Attachments

(1 file)

Attached file shim.log
The heartbeat script is crashing went it runs. I've attached a copy of the traceback error being generated. As a side note: the log for the heartbeat script is generated via cron (i.e. "/data/www/pulse/pulseshims/heartbeat.py >> /data/workdir/heartbeat/shim.log 2>&1") This log is not rotated in anyway and has no date-stamps in it, which could eventually be an issue when trying to troubleshoot issues.
Attachment #8513571 - Attachment mime type: text/x-log → text/plain
Ah you updated mozillapulse. :) Okay, to match the new format, the user should actually be "pulse", not "heartbeat", since the exchange is exchange/pulse/test. I just created the "pulse" user via PulseGuardian; please change the "user" option in the [heartbeat] section of config.ini to "pulse" instead of "heartbeat".
Whiteboard: [kanban:webops:https://kanbanize.com/ctrl_board/4/1785]
Change pushed out to both dev and prod. (I created the pulse user in dev.) As far as I can tell, manually running the script did not produce an error and the shim log on production has not changed since the push: $ ls -lad /data/workdir/heartbeat/shim.log -rw-r--r-- 1 root root 2931453 Oct 30 21:32 /data/workdir/heartbeat/shim.log If you have a better way of verifying the fix, I'm all ears. =)
Assuming that this is working correctly. Please re-open this bug if it is not.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Working great, thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: