Page MenuHomePhabricator

mariadb: systemctl status accessor in mysql_legacy
Closed, ResolvedPublic

Description

as seen in T374191 code review, we could bank an easy win adding a systemctl accessor to poll for mariadb's systemd service status

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
ABran-WMF triaged this task as Medium priority.Oct 14 2024, 12:48 PM
ABran-WMF moved this task from Triage to In progress on the DBA board.

Change #1080019 had a related patch set uploaded (by Arnaudb; author: Arnaudb):

[operations/software/spicerack@master] mariadb: get systemd status for instance

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

Change #1071155 had a related patch set uploaded (by Arnaudb; author: Arnaudb):

[operations/cookbooks@master] mariadb: clone cookbook maintenance

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

Change #1080019 merged by jenkins-bot:

[operations/software/spicerack@master] mysql_legacy: get systemd status for instance

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

Change #1082469 had a related patch set uploaded (by Arnaudb; author: Arnaudb):

[operations/software/spicerack@master] mysql_legacy: reuse old code pattern to avoid potential issue

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

Change #1082469 abandoned by Arnaudb:

[operations/software/spicerack@master] mysql_legacy: reuse old code pattern to avoid potential issue

Reason:

as discussed, this will be replaced by a comment on the cookbook where it was found, so if it fails it is identifiable.

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

code is implemented, needs to be tested under T374191