NOVA upstart jobs in Oneiric
I think that Nova upstart jobs are not correct. We use MySQL in our OpenStack setup and after each reboot some of nova services cannot start (nova-compute, nova-scheduler) because they tried to start before MySQL or RabbitMQ. I made the following changes:
[/etc/init/
start on (filesystem and net-device-up IFACE!=lo
and started mysql
and rabbitmq)
[/etc/init.
...
start_rabbitmq () {
status_rabbitmq quiet
if [ $RETVAL = 0 ] ; then
echo RabbitMQ is currently running
else
RETVAL=0
set +e
setsid sh -c "$DAEMON > ${INIT_
2> ${INIT_
$CONTROL wait >/dev/null 2>&1
RETVAL=$?
set -e
case "$RETVAL" in
0)
if [ -n "$LOCK_FILE" ] ; then
fi
;;
*)
;;
esac
fi
}
...
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: