Closed Bug 728772 Opened 13 years ago Closed 13 years ago

New nagios-corp bot doesn't know how to change the topic correctly

Categories

(Infrastructure & Operations :: Infrastructure: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: reed, Assigned: rtucker)

Details

As seen in #it just now: [20:20:31] <nagios-corp> New Sysadmin OnCall is ashish [20:20:31] * nagios-corp has changed the topic to: Current issues: none || http://status.mozilla.com/ || on call sysadmin bkero || on call sysadmin: ashish
This was earlier: [08:30:30] <nagios-corp> New Sysadmin OnCall is bkero [08:30:30] * nagios-corp has changed the topic to: Current issues: none || http://status.mozilla.com/ || on call sysadmin bkero || on call sysadmin bkero
Assignee: server-ops → rtucker
Component: Server Operations → Server Operations: Infrastructure
QA Contact: phong → jdow
Looks to have been a bad regex search: - channel_current_topic = re.sub('on call sysadmin: \S+','on call sysadmin %s' % new_oncall, channel_current_topic) + channel_current_topic = re.sub('on call sysadmin: \S+','on call sysadmin: %s' % new_oncall, channel_current_topic) Committed revision 29096. Should be worked out once puppet runs and updates the bot
i kicked the bot over, looks ok now
Oncall changed quite a few times since I made this change, and the topic has rotated correctly.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Server Operations: Infrastructure → Infrastructure: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.