Page MenuHomePhabricator

spicerack: sal_logger does not work when running from a laptop
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 laptop 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 a laptop to connect to logmsgbot? Maybe with some kind of proxy?
  • Would we need to have 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: T343335

Event Timeline

fnegri closed this task as Resolved.EditedSep 18 2023, 12:21 PM
fnegri claimed this task.
fnegri added a subscriber: taavi.

This was fixed by @taavi 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 when running from a laptop, where tcpircbot_host is not defined in the Spicerack config file.