Page MenuHomePhabricator

cleanup the custom elasticsearch_${version}@ systemd unit in favor of an override configuration
Open, MediumPublic

Description

We introduced a custom systemd unit for elasticsearch as we need some specifics for multi-instance to work. This causes some issues, in particular because this custom unit name isn't stable (it contains ${version}). A better solution would be to use a systemd override, which is exposed by puppet base::service_unit since T143210. There might be some gotcha, so reading T143210 before starting implementation is required.

Event Timeline

Gehel triaged this task as High priority.Mar 14 2019, 4:02 PM
Gehel moved this task from needs triage to Ops / SRE on the Discovery-Search board.

actually, we're deploying a new unit as a template, so I'm not sure if we can just override the standard one. This will need discussion with someone who understand systemd better than I do.

Change 497503 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] elasticsearch: remove from systemd unit

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

Change 497503 abandoned by Ryan Kemper:

[operations/puppet@production] elasticsearch: remove from systemd unit

Reason:

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

Gehel removed the point value for this task.May 22 2023, 12:55 PM
Gehel moved this task from needs triage to Ops / SRE on the Discovery-Search board.
Gehel moved this task from Incoming to In Progress on the Data-Platform-SRE board.
Gehel moved this task from In Progress to Incoming on the Data-Platform-SRE board.
Gehel lowered the priority of this task from High to Medium.Dec 6 2023, 1:34 PM
Gehel moved this task from Incoming to Toil / Automation on the Data-Platform-SRE board.