Page MenuHomePhabricator

fix the puppet role for the wikimania scholarship app
Closed, ResolvedPublic

Description

role::wikimania_scholarships can't be used by itself on a jessie host with Apache 2.4

Error: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /etc/apache2/conf.d/namevirtualhost20150715-30087-15m88d6.lock at 80:/etc/puppet/modules/wikimania_scholarships/manifests/init.pp
Error: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /etc/apache2/conf.d/namevirtualhost20150715-30087-15m88d6.lock at 80:/etc/puppet/modules/wikimania_scholarships/manifests/init.pp
Wrapped exception:
No such file or directory @ dir_s_rmdir - /etc/apache2/conf.d/namevirtualhost20150715-30087-15m88d6.lock
Error: /Stage[main]/Wikimania_scholarships/File[/etc/apache2/conf.d/namevirtualhost]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /etc/apache2/conf.d/namevirtualhost20150715-30087-15m88d6.lock at 80:/etc/puppet/modules/wikimania_scholarships/manifests/init.pp
Error: Cannot create /srv/deployment/scholarships/scholarships; parent directory /srv/deployment/scholarships does not exist
Error: /Stage[main]/Wikimania_scholarships/File[/srv/deployment/scholarships/scholarships]/ensure: change from absent to directory failed: Cannot create /srv/deployment/scholarships/scholarships; parent directory /srv/deployment/scholarships does not exist

Event Timeline

Dzahn raised the priority of this task from to Needs Triage.
Dzahn updated the task description. (Show Details)
Dzahn added a project: acl*sre-team.
Dzahn subscribed.

Change 224859 had a related patch set uploaded (by Dzahn):
wm scholarships: fix puppet fail, missing deploy dir

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

Change 224859 merged by Dzahn:
wm scholarships: fix puppet fail, missing deploy dir

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

one issue fixed, more to go

the next is that there is no /etc/apache2/conf.d/ anymore here on jessie with Apache 2.4. We have 'conf-available' and 'conf-enabled' now.

Dzahn set Security to None.

Change 224988 had a related patch set uploaded (by Dzahn):
wikimania scholarships: remove namevirtualhost file

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

Change 224988 merged by Dzahn:
wikimania scholarships: remove namevirtualhost file

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

Dzahn claimed this task.