Page MenuHomePhabricator

Make webservice / webservice2 write out a service manifest when used
Closed, ResolvedPublic

Description

So it should write out / update a services.manifest file, with appropriate contents depending on which webservice was started. It should also clear the entry when a webservice is explicitly stopped.

This shall be used by the service manifest monitor later on. Putting it in earlier means more web services will have an accurate services.manifest file, which might also help in other outages.

Along with the service monitor, this would mean that webservices once explicitly started should run forever.

Event Timeline

yuvipanda claimed this task.
yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)

Note that in a distant future, all the actual logic for starting / stopping webservices should be in the service monitor, and calling the actual commands just modifies the files and executes a reload.

Change 201656 had a related patch set uploaded (by Yuvipanda):
tools: Have webservice write out a service.manifest file

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

Change 201656 merged by Yuvipanda:
tools: Have webservice write out a service.manifest file

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