← Back to team overview

openstack team mailing list archive

Re: n-api installation problem with devstack (on Ubuntu )

 

Hi,
I have attached a file containing  network connections detail.

This Is the error in short:

Waiting for nova-api to start...
+ timeout 60 sh -c 'while ! http_proxy= wget -q -O-
http://127.0.0.1:8774; do sleep 1; done'
+ echo 'nova-api did not start'
nova-api did not start
+ exit 1

But the nova-api is running at http://10.233.53.154:8774

root@vmfolsom154:~/devstack# wget -q -O- http://10.233.53.154:8774
{"versions": [{"status": "CURRENT", "updated": "2011-01-21T11:33:21Z",
"id": "v2.0", "links": [{"href": "http://10.233.53.154:8774/v2/";,
"rel": "self"}]}]}

So where/which file can I change 127.0.0.1 to 10.233.53.154?
And how can I configure/edit in nova.conf file.As I am using
devstack,the settings are default and they are overwritten everytime i
run ./stack.sh.

Thanks,
Swapnil


On 2/13/13, Unmesh Gurjar <unmesh.gurjar@xxxxxxxxx> wrote:
> Swapnil,
>
> From the n-api logs available on the bug, it looks like the EC2 port
> (default 8773) is being used by some other service. You can check this
> using 'netstat -pan |grep 8773'.
> You can either configure the EC2 port (by specifying 'ec2_listen_port' in
> nova.conf) or configure the other service to use a different port.
>
> Hope it helps.
>
> ~Unmesh G.
>
> On Wed, Feb 13, 2013 at 4:06 PM, swapnil khanapurkar <
> contact2swapnil10@xxxxxxxxx> wrote:
>
>> Hi All,
>>
>> I posted below bug on launchpad, but i didn't get any response from
>> the team, may be its not that active as openstack mailing list.
>>
>> I am facing an issue detailed here [
>> https://bugs.launchpad.net/devstack/+bug/1122764 ].
>>
>>
>> Thanks
>> Swapnil
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> Thanks & Regards,
> Unmesh G.
>
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      110        76497       9063/mysqld
tcp        0      0 0.0.0.0:9292            0.0.0.0:*               LISTEN      1001       80191       10367/python
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          78017       9718/apache2
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      109        9763        1420/epmd
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      104        64500       1055/named
tcp        0      0 10.233.53.154:53        0.0.0.0:*               LISTEN      104        8834        1055/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      104        8829        1055/named
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          8535        902/sshd
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      104        8889        1055/named
tcp        0      0 0.0.0.0:3260            0.0.0.0:*               LISTEN      0          8766        1063/tgtd
tcp        0      0 0.0.0.0:35357           0.0.0.0:*               LISTEN      1001       76906       9288/python
tcp        0      0 0.0.0.0:39491           0.0.0.0:*               LISTEN      109        10099       1479/beam
tcp        0      0 0.0.0.0:8773            0.0.0.0:*               LISTEN      1001       80342       10389/python
tcp        0      0 0.0.0.0:8774            0.0.0.0:*               LISTEN      1001       80354       10389/python
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN      1001       80356       10389/python
tcp        0      0 0.0.0.0:9191            0.0.0.0:*               LISTEN      1001       80146       10349/python
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      1001       76907       9288/python
tcp        0      0 127.0.0.1:50899         127.0.0.1:5672          ESTABLISHED 1001       80215       10375/python
tcp        0      0 127.0.0.1:50898         127.0.0.1:5672          ESTABLISHED 1001       80201       10375/python
tcp        0    420 10.233.53.154:22        10.55.54.73:63363       ESTABLISHED 0          11989       1750/0
tcp        0      0 127.0.0.1:50903         127.0.0.1:5672          ESTABLISHED 1001       80243       10375/python
tcp        0      0 127.0.0.1:50901         127.0.0.1:5672          ESTABLISHED 1001       80229       10375/python
tcp        0      0 10.233.53.154:9292      10.233.5.22:54520       ESTABLISHED 1001       80255       10375/python
tcp        0      0 127.0.0.1:50900         127.0.0.1:5672          ESTABLISHED 1001       80222       10375/python
tcp        0      0 127.0.0.1:46505         127.0.0.1:4369          ESTABLISHED 109        10101       1479/beam
tcp        0      0 127.0.0.1:4369          127.0.0.1:46505         ESTABLISHED 109        10102       1420/epmd
tcp        0      0 127.0.0.1:50902         127.0.0.1:5672          ESTABLISHED 1001       80236       10375/python
tcp        0      0 10.233.53.154:35357     10.233.5.22:54445       ESTABLISHED 1001       76942       9288/python
tcp6       0      0 :::53                   :::*                    LISTEN      104        8822        1055/named
tcp6       0      0 :::22                   :::*                    LISTEN      0          8555        902/sshd
tcp6       0      0 ::1:953                 :::*                    LISTEN      104        8890        1055/named
tcp6       0      0 :::3260                 :::*                    LISTEN      0          8767        1063/tgtd
tcp6       0      0 :::5672                 :::*                    LISTEN      109        10134       1479/beam
tcp6       0      0 127.0.0.1:5672          127.0.0.1:50900         ESTABLISHED 109        80225       1479/beam
tcp6       0      0 127.0.0.1:5672          127.0.0.1:50902         ESTABLISHED 109        80239       1479/beam
tcp6       0      0 127.0.0.1:5672          127.0.0.1:50901         ESTABLISHED 109        80232       1479/beam
tcp6       0      0 127.0.0.1:5672          127.0.0.1:50899         ESTABLISHED 109        80218       1479/beam
tcp6       0      0 127.0.0.1:5672          127.0.0.1:50903         ESTABLISHED 109        80246       1479/beam
tcp6       0      0 127.0.0.1:5672          127.0.0.1:50898         ESTABLISHED 109        80206       1479/beam

Follow ups

References