Page MenuHomePhabricator

Unmount unneeded NFS mounts from tool labs hosts
Open, HighPublic

Description

Most have *all* NFS mounts, when they either need none or only some. For example, the grid masters need /data/project, but none of the otherse. Same for services. the k8s worker nodes don't need /home.

Figure out a way to only mount specific types of mounts on hosts with specific roles.

Event Timeline

Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptMay 25 2016, 5:38 PM

Host types that should have no NFS:

  1. k8s master
  2. k8s etcd hosts
  3. proxies
  4. redises

Host types that should *only* have /data/project:

  1. services hosts (for manifest collection)
  2. gridengine master / shadow
  3. Cron runners
  4. Static webserver hosts
  5. Mail nodes

Things that should have all mounts

  1. Exec nodes
  2. Webservice nodes
  3. K8S worker nodes
  4. Bastion nodes
  5. Checker nodes
scfc added a subscriber: scfc.May 26 2016, 12:34 AM

I think implementing T120165/T136080 might bring this forward a long way (IIUIC). If the variables that enable the NFS mounts were in Hiera, and those Hiera variables could be role-based, a host with a role that requires NFS mounts could enable them automatically (if I understand the role/Hiera setup in production correctly).

valhallasw moved this task from Triage to Backlog on the Toolforge board.May 27 2016, 11:04 AM
greg added a subscriber: greg.Sep 29 2016, 7:41 PM

This follow-up task from an incident report has not been updated recently. If it is no longer valid, please add a comment explaining why. If it is still valid, please prioritize it appropriately relative to your other work. If you have any questions, feel free to ask me (Greg Grossmeier).

marilerr closed this task as Declined.Aug 24 2019, 3:32 AM
JJMC89 reopened this task as Open.Aug 24 2019, 3:34 AM