[Openstack] nova-* as upstart services in release essex

Vijay vijayrg at yahoo.com
Tue Apr 10 21:13:34 UTC 2012


Hello,
I am trying to run nova-*  (of Essex released version) as upstart services . 
When i do 
sudo start nova-compute
I see that nova-compute process starts to run .. but does not sustain. In kern.log, I see the following error:
Apr 10 13:58:10 osctrl1 kernel: [ 1880.861554] init: nova-compute main process (3371) terminated with status 1
 
However, if I run the nova-compute from the command line directly, it starts and works fine.
 
Am I missing anything? Any clue is appreciated.
 
Thanks,
-Vijay
 
/etc/init/nova-compute.conf
 
description "Nova compute worker"
author "Soren Hansen <soren at linux2go.dk>"
start on (filesystem and net-device-up IFACE!=lo)
stop on runlevel [016]

chdir /var/run
pre-start script
        mkdir -p /var/run/nova
        chown nova:root /var/run/nova/
        mkdir -p /var/lock/nova
        chown nova:root /var/lock/nova/
        modprobe nbd
end script
exec su -c "nova-compute --flagfile=/etc/nova/nova.conf" nova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120410/ff17e169/attachment.html>


More information about the Openstack mailing list