[PKG-Openstack-devel] Bug#770706: keystone.service does not start, /var/run/keystone not created
Stig Sandbeck Mathisen
ssm at debian.org
Sun Nov 23 12:30:35 UTC 2014
Package: keystone
Version: 2014.1.3-2
Severity: important
Dear Maintainer,
When installing keystone on a host running systemd, the service does not
start.
The error from the unit on start is:
Nov 23 12:33:41 server.example.com keystone[18089]: mkdir: cannot create directory ‘/var/run/keystone’: Permission denied
Nov 23 12:33:41 server.example.com keystone[18089]: chown: cannot access ‘/var/run/keystone’: No such file or directory
Nov 23 12:33:41 server.example.com keystone[18089]: start-stop-daemon: unable to open pidfile '/var/run/keystone/keystone.pid' for writing (No such file or directory)
Nov 23 12:33:41 server.example.com keystone[18089]: start-stop-daemon: child returned error exit status 2 (No such file or directory)
Nov 23 12:35:11 server.example.com systemd[1]: keystone.service start operation timed out. Terminating.
Nov 23 12:35:11 server.example.com systemd[1]: Failed to start OpenStack Identity service.
Nov 23 12:35:11 server.example.com systemd[1]: Unit keystone.service entered failed state.
Adding "RuntimeDirectory=keystone" under "[Service]" in the
/lib/systemd/system/keystone.service unit fixes the problem. This will
make systemd create the "keystone" runtime directory under "/run".
I would like to submit a patch, but can't easily find the source of the
systemd units in the packaging repo at
http://anonscm.debian.org/cgit/openstack/keystone.git/ -- I do notice
that the override_dh_clean target removes them, so I suspect they are
generated somehow.
I set the severity to "important", but suspect that an upgrade to
"serious" is necessary to get it unfrozen and fixed before the release
of jessie.
-- System Information:
Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages keystone depends on:
ii adduser 3.113+nmu3
ii dbconfig-common 1.8.47+nmu3
ii debconf [debconf-2.0] 1.5.53
ii dpkg 1.17.21
ii lsb-base 4.1+Debian13+nmu1
ii python-configobj 5.0.6-1
ii python-keystone 2014.1.3-2
pn python:any <none>
ii sqlite3 3.8.7.1-1
ii ssl-cert 1.0.35
keystone recommends no packages.
keystone suggests no packages.
-- Configuration Files:
[not relevant, and just filled with defaults]
-- debconf information excluded
--
Stig Sandbeck Mathisen
More information about the Openstack-devel
mailing list