Page MenuHomePhabricator

spicerack: sal_logger does not work when running from CloudVPS instances
Closed, ResolvedPublic

Description

As described in the parent task T343330, in WMCS we have been discussing use cases that would require running cookbooks from a CloudVPS instance instead of running them from cumin/cloudcumin hosts.

One blocker is that Spicerack logs to SAL by connecting to logmsgbot (also called tcpircbot) running on alert1001.wikimedia.org.

  • Is there a way to allow CloudVPS hosts to connect to logmsgbot?
  • Would we need to use a separate bot running in WMCS?
  • Could this separate bot be an instance of the same tcpircbot code, deployed with the same Puppet profile?
  • Should we use wm-bot instead?

Related task: T343336

Event Timeline

fnegri claimed this task.
fnegri added a subscriber: taavi.

Similarly to T343336, this was also fixed by @taavi's patches in https://gerrit.wikimedia.org/r/c/cloud/wmcs-cookbooks/+/953596/ and https://gerrit.wikimedia.org/r/c/cloud/wmcs-cookbooks/+/953597/.

sal_logger is now connecting to wm-bot (which is accessible from CloudVPS hosts) if tcpircbot_host is not defined in the Spicerack config file.