Page MenuHomePhabricator

Use systemd for Nodepool
Closed, ResolvedPublic

Description

From T89142 , we should use systemd for NodePool since we are installing it on Debian Jessie.

Event Timeline

hashar raised the priority of this task from to Medium.
hashar updated the task description. (Show Details)
hashar added subscribers: chasemp, Andrew, hashar, Aklapper.

I have poked our internal ops list to get some tips and hints.

Lets give this a try. Will do it in operations/puppet.git for now then "upstream" it in the .deb package.

Change 224102 had a related patch set uploaded (by Hashar):
nodepool: systemd wrapper

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

Change 224390 had a related patch set uploaded (by Hashar):
(WIP) systemd support (WIP)

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

Status update

I have finished the systemd patch: https://gerrit.wikimedia.org/r/#/c/224102/6

Encountered a bug in the way nodepool handles graceful stop which caused me to patch Nodepool ( https://gerrit.wikimedia.org/r/#/c/225475/ ). I have bumped our Debian package to include the fix.

The logging configuration is at https://gerrit.wikimedia.org/r/#/c/224106/

Will check with European ops to get those merged then chat with them about how to add systemd in a .deb package.

Change 224102 merged by Muehlenhoff:
nodepool: systemd wrapper

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

hashar added a subscriber: Muehlenhoff.

Thanks to @Muehlenhoff for the final review of the systemd integration. We now have a working systemd setup on labnodepool1001.eqiad.wmnet :-)

Change 224390 abandoned by Hashar:
0.1.1-wmf3: statsd and systemd support

Reason:
Will be redone later (pending E_TOOMANYTASKS)

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