On ubuntu contents of /var/run do not persist between reboots. Devstack
uses /var/run/uwsgi as home for wsgi sockets. This means that after
rebooting the machine services, that rely on uwsgi would fail to start.
Currently it affects keystone.service and placement-api.service.
This patch changes delegates directory creation to systemd-tmpfiles,
which would run on startup.
Reviewed: https:/ /review. openstack. org/468457 /git.openstack. org/cgit/ openstack- dev/devstack/ commit/ ?id=d0db62a476e 29355ca08db0237 295139c8fce4f6
Committed: https:/
Submitter: Jenkins
Branch: master
commit d0db62a476e2935 5ca08db02372951 39c8fce4f6
Author: Kirill Zaitsev <email address hidden>
Date: Fri May 26 19:02:52 2017 +0300
Use systemd-tmpfiles to create /var/run/uwsgi
On ubuntu contents of /var/run do not persist between reboots. Devstack api.service.
uses /var/run/uwsgi as home for wsgi sockets. This means that after
rebooting the machine services, that rely on uwsgi would fail to start.
Currently it affects keystone.service and placement-
This patch changes delegates directory creation to systemd-tmpfiles,
which would run on startup.
Change-Id: I27d168cea93698 739ef08ac76c828 695a49176c7
Closes-Bug: #1692767