← Back to team overview

openstack team mailing list archive

Re: nova-* as upstart services in release essex

 

Hi,

Anythng in the log files?

Regards
chuck

On Tue, 10 Apr 2012 14:13:34 -0700 (PDT)
Vijay <vijayrg@xxxxxxxxx> wrote:

> 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@xxxxxxxxxxx>"
> 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



References