upstart jobs will start services before all network interfaces are up and will not restart on runlevel 1->2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinder (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
description "Cinder api server"
author "Chuck Short <email address hidden>
start on (filesystem and net-device-up IFACE!=lo)
stop on runlevel [016]
chdir /var/run
pre-start script
mkdir -p /var/run/cinder
chown cinder:cinder /var/run/cinder
mkdir -p /var/lock/cinder
chown nova:root /var/lock/nova
end script
exec su -s /bin/sh -c "cinder-api" cinder
This should be
start on runlevel [2345]
Which guarantees all interfaces from /etc/network/
Also using su is not recommended as it opens a pam session. Instead, use start-stop-daemon, as recommended here:
http://
This bug was fixed in the package cinder - 2012.2~ f3~20120809. 102-0ubuntu1
--------------- f3~20120809. 102-0ubuntu1) quantal; urgency=low
cinder (2012.2~
[ Adam Gandelman ] cinder- common. postinst: Fix syntax errors, fix permissions. cinder- common. dirs: Correct, etc/nova -> etc/cinder. {cinder_ sudoers, rules, cinder- common. install} : Install proper cinder- *.upstart: Close quotes, replace 'nova' references with cinder- scheduler. postinst: Added. Migrate local databases only.
* debian/control: Add python-setuptools dependency.
* debian/
* debian/
* debian/
cinder_sudoers.
* debian/
'cinder'.
* debian/cinder.conf: Specify correct sql_connection.
* debian/
[ Chuck Short ] cinder- {api,volumes, scheduler} .manpages: Add manpages. patches/ 0001-Use- setuptools- git.patch: Cleanup manifest setuptools- git cinder- common. install: Remove clear_rabbit_queues since it
* debian/*.upstart: Fix upstart jobs to run with right interfaces.
(LP: #1030197)
* debian/control: Drop python-babel, python-nosexcover
* debian/control: Add python-mox, pep8
* debian/rules: Re-add get-orig-source
* debian/rules: Enable testsuite.
* debian/cinder.conf: Update config file.
* debian/
* New upstream version.
* debian/rules: Don't run pep8 tests
* debian/
* debian/control: Add python-
* debian/control: Add section for python-cinder
* fix lintian warnings and errors.
* debian/
will conflict with nova installed.
-- Chuck Short <email address hidden> Fri, 10 Aug 2012 12:05:11 -0500