Page MenuHomePhabricator

Clarify status of various directories in /srv on apt1001
Closed, ResolvedPublic

Description

For the apt server migration we need to migrate various directories under /srv on apt1001, but there are various directories under /srv which are not referenced anywhere in Puppet and which are also not served currently by Apache either. Use this task to clarify whether these are all needed

Event Timeline

MoritzMuehlenhoff added a subscriber: colewhite.

@colewhite /srv/opensearch looks related to https://phabricator.wikimedia.org/T314098 possibly? Is is still needed, if not can you please remove it?

/srv/megacli contains an old released of megacli from 2014 along with some legacy shared libs and script which wgets these files from a server called brewster.wikimedia.org into /tmp/megacli and then spawns megacli with LD_LIBRARY_PATH set to /tmp/megacli. This setup clearly isn't in use anymore and appears what was used before we started to use the Debian package of megacli. I'll drop /srv/megacli from apt1001

There were multiple image files used to install RIPE anchors in /srv/firmware, these are not needed any longer and have been removed.

@colewhite /srv/opensearch looks related to https://phabricator.wikimedia.org/T314098 possibly? Is is still needed, if not can you please remove it?

We intend to use this folder and artifacts in the future. It supports this puppet provider.

@colewhite /srv/opensearch looks related to https://phabricator.wikimedia.org/T314098 possibly? Is is still needed, if not can you please remove it?

We intend to use this folder and artifacts in the future. It supports this puppet provider.

But then let'sadd a profile which registers/manages/identifies the on the apt repo side, if I hadn't done a manual check this data would have gone lost in the reimage :-)

Change 1002412 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: enforce opensearch plugin repository on apt hosts

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

Change 1002412 merged by Cwhite:

[operations/puppet@production] profile: enforce opensearch plugin repository on apt hosts

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

/srv/ipmi contains an old release of ipmitool from 2015 along with some legacy shared libs. I don't see it used anywhere anymore and we have integrated proper IPMI support in our tooling via ipmitool as packaged in Debian.

I'll drop /srv/ipmi from apt1001

/srv/firmware was used in the past to push firmware updates to, before we had the cookbooks to handle this (also confirmed by Rob). All the remaining files are from 2016-2019, I'll remove them.