Page MenuHomePhabricator

nginx /var/lib/nginx accidentaly mounted on tmpfs in WMCS
Closed, InvalidPublicBUG REPORT

Description

A puppet patch I added accidentally broke puppet compiles on WMCS, https://gerrit.wikimedia.org/r/c/operations/puppet/+/959226, unfortunately the subsequent patch to fix the issue, https://gerrit.wikimedia.org/r/c/operations/puppet/+/960708, flipped the state in wmcs from false to true, causing /var/lib/nginx to be mounted on tmpfs. This may cause issues, so we should consider reverting the change, possibly with these steps:

  1. Change profile::nginx::lib_on_tmpfs: true to false in cloud.yaml
  2. Apply puppet
  3. Stop nginx
  4. Umount /var/lib/nginx
  5. Start nginx

Event Timeline

The Cloud-Services project tag is not intended to have any tasks. Please check the list on https://phabricator.wikimedia.org/project/profile/832/ and replace it with a more specific project tag to this task. Thanks!

After some discussion we (mostly @taavi ) think that it's probably OK to leave this set to 'true'. It would be good to do a cloud-wide restart of nginx servers to make sure that the new setting is working properly, which we can do if/when cumin starts working again.

@Andrew do you still want to do a restart of nginx servers? Cumin is now working fine (though only thanks to your manually-applied patch, upstream Cumin is still broken).

I think this is moot at this point.

I think this is moot at this point.

yep, agreed