From: Vishvananda Ishaya <[email protected]<mailto:[email protected]>>
Date: Thursday, November 8, 2012 8:18 PM
To: Ahmed Al-Mehdi <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Openstack] Cannot start "nova-api" service


On Nov 8, 2012, at 7:01 PM, Ahmed Al-Mehdi 
<[email protected]<mailto:[email protected]>> wrote:

Vish,

I am running cinder-api.   The following two lines are present in nova.conf.

volume_api_class=nova.volume.cinder.API
enabled_apis=ec2,osapi_compute,metadata

Do I need to re-sync the db, or add any additional lines to nova.conf?

No that is it. Are you sure a) you don't have another nova-api or nova-metadata 
or nova-api-os-compute process running? and b) that your nova.conf is being 
read properly?

Vish

As far as I can tell, no other nova-api, nova-metadata, nova-api-os-compute is 
running.   If there another way to confirm besides running "ps aux".  And how 
can I tell if nova.conf is being read properly?

root@bodega:~# ps aux | grep nova
nova       914  0.0  0.0  37952  1312 ?        Ss   16:01   0:00 su -s /bin/sh 
-c exec nova-novncproxy --config-file=/etc/nova/nova.conf nova
nova       916  0.0  0.2 122976 24108 ?        S    16:01   0:01 
/usr/bin/python /usr/bin/nova-novncproxy --config-file=/etc/nova/nova.conf
nova      1235  0.0  0.0  37952  1312 ?        Ss   16:01   0:00 su -s /bin/sh 
-c exec nova-cert --config-file=/etc/nova/nova.conf nova
nova      1243  0.0  0.0  37952  1308 ?        Ss   16:01   0:00 su -s /bin/sh 
-c exec nova-consoleauth --config-file=/etc/nova/nova.conf nova
nova      1244  0.2  0.6 122996 51232 ?        S    16:01   1:12 
/usr/bin/python /usr/bin/nova-cert --config-file=/etc/nova/nova.conf
nova      1249  0.2  0.6 122992 51252 ?        S    16:01   1:13 
/usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf
nova      1252  0.0  0.0  37952  1312 ?        Ss   16:01   0:00 su -s /bin/sh 
-c exec nova-network --config-file=/etc/nova/nova.conf nova
nova      1255  0.0  0.0  37952  1308 ?        Ss   16:01   0:00 su -s /bin/sh 
-c exec nova-scheduler --config-file=/etc/nova/nova.conf nova
nova      1259  0.3  0.6 124964 53100 ?        S    16:01   1:16 
/usr/bin/python /usr/bin/nova-network --config-file=/etc/nova/nova.conf
nova      1260  0.3  0.7 151856 59068 ?        S    16:01   1:16 
/usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf
root      3509  0.0  0.0   9388   920 pts/3    S+   22:55   0:00 grep 
--color=auto nova
root@bodega:~#
root@bodega:~#
root@bodega:~# ls -l /etc/nova/
total 32
-rw-r----- 1 nova nova 3588 Sep 25 17:48 api-paste.ini
-rw-r-xr-x 1 nova nova 1329 Oct 20 19:16 logging.conf
-rw-r----- 1 nova nova 2203 Nov  8 18:34 nova.conf
-rw-r----- 1 root root  434 Nov  5 10:44 nova.conf.orig.ahmed
-rw-r----- 1 nova nova 5181 Sep 25 17:48 policy.json
-rw-r--r-- 1 root root  304 Sep 25 17:48 rootwrap.conf
drwxr-xr-x 2 root root 4096 Nov  5 10:36 rootwrap.d
root@bodega:~#


Can you help me understand the following error message in the file:

2012-11-08 23:31:27 CRITICAL nova [-] [Errno 98] Address already in use

By address, are we talking about tcp port number? If so, what is the port 
number?

Thank you,
Ahmed.



_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to