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

RESOLVED FIXED

Status

RESOLVED FIXED
7 years ago
6 years ago

People

(Reporter: reed, Assigned: rtucker)

Tracking

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
(Assignee)

Comment 2

7 years ago
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
(Assignee)

Comment 3

7 years ago
i kicked the bot over, looks ok now
(Assignee)

Comment 4

7 years ago
Oncall changed quite a few times since I made this change, and the topic has rotated correctly.
Status: NEW → RESOLVED
Last Resolved: 7 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.