Page MenuHomePhabricator

Productionize vopsbot
Closed, ResolvedPublic

Description

Vopsbot (https://gitlab.wikimedia.org/repos/sre/vopsbot/) is a small ircbot I wrote to interact with the victorops API.

This task is to track bringing the bot in production.

  • Puppetize the setup
  • build and upload a debian package
  • register the bot nickname on libera.chat, possibly get a cloak
  • add the password for the irc user in the private repo
  • populate the irc -> victorops contact conversion yaml data in the private repo
  • Provide the bot access (with the ability to modify topics) to the channels where we want it running
  • Add the api id and a read-write api key for victorops to the private puppet repository
  • Properly populate the wikitech page with useful information

Once all of the above is done, we can merge the puppet code and have vopsbot running on the active monitoring host.

I'll open subtasks for improvements I already saw the bot needs, but those shouldn't block setting up the bot in production.

Event Timeline

Change 821255 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/puppet@production] role::alerting_host: run vopsbot

https://gerrit.wikimedia.org/r/821255

As of now, the debianization is done in the software, but I'm waiting to build and upload a package until I've solved some of the outstanding issues.

BCornwall triaged this task as Medium priority.Aug 10 2022, 5:57 PM

Thank you for vopsbot, looks really good and useful!

A perhaps silly/minor thing: I think we should be using - instead of _ as a delimiter for commands, as that requires only one keystroke on US keyboards instead of two

Change 822417 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[labs/private@master] Add stub data for profile::vopsbot

https://gerrit.wikimedia.org/r/822417

Thank you for vopsbot, looks really good and useful!

A perhaps silly/minor thing: I think we should be using - instead of _ as a delimiter for commands, as that requires only one keystroke on US keyboards instead of two

This has been implemented in https://gitlab.wikimedia.org/repos/sre/vopsbot/-/merge_requests/5

Change 823580 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[wikimedia/irc/ircservserv-config@master] wikimedia-sre: allow SRE's new bot to change topic

https://gerrit.wikimedia.org/r/823580

Change 823580 merged by jenkins-bot:

[wikimedia/irc/ircservserv-config@master] wikimedia-sre: allow SRE's new bot to change topic

https://gerrit.wikimedia.org/r/823580

Change 821255 merged by Giuseppe Lavagetto:

[operations/puppet@production] role::alerting_host: run vopsbot

https://gerrit.wikimedia.org/r/821255

Change 822417 merged by Giuseppe Lavagetto:

[labs/private@master] Add stub data for profile::vopsbot

https://gerrit.wikimedia.org/r/822417

Joe updated the task description. (Show Details)