stack.sh failing with error 'nova-api did not start'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
pankaj |
Bug Description
i am using Ubuntu 12.04.while running stack.sh i am getting the following error.
-------
services=n-api
+ for service in '${services}'
+ [[ ,g-api,
+ return 0
+ screen_rc n-api 'cd /opt/stack/nova && /opt/stack/
+ SCREEN_NAME=stack
+ SCREENRC=
+ [[ ! -e /opt/stack/
+ grep n-api /opt/stack/
+ screen -S stack -X screen -t n-api
+ sleep 1.5
+ [[ -n /opt/stack/logs ]]
+ screen -S stack -p n-api -X logfile /opt/stack/
+ screen -S stack -p n-api -X log on
+ ln -sf /opt/stack/
+ screen -S stack -p n-api -X stuff 'cd /opt/stack/nova && /opt/stack/
+ echo 'Waiting for nova-api to start...'
Waiting for nova-api to start...
+ timeout 60 sh -c 'while ! http_proxy= wget -q -O- http://
+ echo 'nova-api did not start'
nova-api did not start
+ exit 1
+ clean
+ local r=1
++ jobs -p
+ kill
+ exit 1
-------
This is my nova.conf configuration:-
verbose=True
auth_strategy=
allow_resize_
api_paste_
rootwrap_
compute_
dhcpbridge_
force_dhcp_
fixed_range=
s3_host=
s3_port=3333
osapi_compute_
my_ip=10.233.53.154
sql_connection=
libvirt_type=qemu
libvirt_
instance_
image_service=
enabled_
volume_
state_path=
instances_
logging_
network_
quantum_
quantum_
quantum_
quantum_
quantum_
quantum_url=http://
libvirt_
linuxnet_
novncproxy_
xvpvncproxy_
vncserver_
vncserver_
ec2_dmz_
rabbit_
rabbit_
glance_
compute_
firewall_
-------
description: | updated |
Changed in devstack: | |
assignee: | nobody → pankaj (pankaj-rawat) |
status: | New → Invalid |
status: | Invalid → Confirmed |
Changed in devstack: | |
status: | Confirmed → Fix Released |
Additional information :-
root@vmfolsom154:~# nova-api bin/nova- api", line 7, in nova/bin/ nova-api" , line WSGIService( api) nova/nova/ service. py", li nova/nova/ wsgi.py" , line listen( (host, po lib/python2. 7/dist- packag python2. 7/socket. py", line self._sock, name)(* args) ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
2013-02-13 10:20:57 5641 DEBUG nova.wsgi [-] Loading app ec2 from /etc/nova/api-
2013-02-13 10:20:57 5641 CRITICAL nova [-] [Errno 98] Address already in use
2013-02-13 10:20:57 5641 TRACE nova Traceback (most recent call last):
2013-02-13 10:20:57 5641 TRACE nova File "/usr/local/
2013-02-13 10:20:57 5641 TRACE nova execfile(__file__)
2013-02-13 10:20:57 5641 TRACE nova File "/opt/stack/
2013-02-13 10:20:57 5641 TRACE nova server = service.
2013-02-13 10:20:57 5641 TRACE nova File "/opt/stack/
2013-02-13 10:20:57 5641 TRACE nova port=self.port)
2013-02-13 10:20:57 5641 TRACE nova File "/opt/stack/
2013-02-13 10:20:57 5641 TRACE nova self._socket = eventlet.
2013-02-13 10:20:57 5641 TRACE nova File "/usr/local/
2013-02-13 10:20:57 5641 TRACE nova sock.bind(addr)
2013-02-13 10:20:57 5641 TRACE nova File "/usr/lib/
2013-02-13 10:20:57 5641 TRACE nova return getattr(
2013-02-13 10:20:57 5641 TRACE nova error: [Errno 98] Address already in use
2013-02-13 10:20:57 5641 TRACE nova
-------