Page MenuHomePhabricator

Puppet fails on new web node
Closed, ResolvedPublic

Description

Here's the error:

Error: Cannot create /srv/log/ores; parent directory /srv/log does not exist
Error: /Stage[main]/Ores::Web/Service::Uwsgi[ores]/File[/srv/log/ores]/ensure: change from absent to directory failed: Cannot create /srv/log/ores; parent directory /srv/log does not exist

Event Timeline

Okay,
There are two parts for this:

  1. /srv/log directory is not there
  2. the system tries to connect "tin.eqiad.wmnet" which is not possible. We fool the system by adding internal IP of deployment-tin.eqiad.wmflabs, 10.68.17.240, to /etc/hosts/ as tin.eqiad.wmnet

The second one maybe is possible via hiera

Change 298935 had a related patch set uploaded (by Ladsgroup):
ores: add File['/srv/log'] for web nodes in labs

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

Change 298935 merged by Dzahn:
ores: add File['/srv/log'] for web nodes in labs

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