openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19282
CRITICAL nova [-] [Errno 98] Address already in use
Hi,
I cannot start the nova-api service.
[root@blade02 07-openstack-controller]# nova list
ERROR: ConnectionRefused: '[Errno 111] Connection refused'
I followed this guide very carefully:
https://github.com/beloglazov/openstack-centos-kvm-glusterfs/#07-openstack-controller-controller
Here is api.log
2012-12-10 17:51:31 DEBUG nova.wsgi [-] Loading app metadata from /etc/nova/api-paste.ini from (pid=2536) load_app /usr/lib/python2.6/site-packages/nova/wsgi.py:371
2012-12-10 17:51:31 CRITICAL nova [-] [Errno 98] Address already in use
2012-12-10 17:51:31 TRACE nova Traceback (most recent call last):
2012-12-10 17:51:31 TRACE nova File "/usr/bin/nova-api", line 50, in <module>
2012-12-10 17:51:31 TRACE nova server = service.WSGIService(api)
2012-12-10 17:51:31 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 584, in __init__
2012-12-10 17:51:31 TRACE nova port=self.port)
2012-12-10 17:51:31 TRACE nova File "/usr/lib/python2.6/site-packages/nova/wsgi.py", line 72, in __init__
2012-12-10 17:51:31 TRACE nova self._socket = eventlet.listen((host, port), backlog=backlog)
2012-12-10 17:51:31 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 38, in listen
2012-12-10 17:51:31 TRACE nova sock.bind(addr)
2012-12-10 17:51:31 TRACE nova File "<string>", line 1, in bind
2012-12-10 17:51:31 TRACE nova error: [Errno 98] Address already in use
2012-12-10 17:51:31 TRACE nova
2012-12-10 17:51:31 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-12-10 17:51:31 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-12-10 17:51:31 INFO nova.wsgi [-] Stopping WSGI server.
2012-12-10 17:51:31 INFO nova.wsgi [-] Stopping WSGI server.
[root@blade02 07-openstack-controller]# cat /etc/nova/nova.conf
[DEFAULT]
logdir = /var/log/nova
state_path = /var/lib/nova
lock_path = /var/lib/nova/tmp
volumes_dir = /etc/nova/volumes
dhcpbridge = /usr/bin/nova-dhcpbridge
dhcpbridge_flagfile = /etc/nova/nova.conf
force_dhcp_release = False
injected_network_template = /usr/share/nova/interfaces.template
libvirt_nonblocking = True
libvirt_inject_partition = -1
network_manager = nova.network.manager.FlatDHCPManager
iscsi_helper = tgtadm
sql_connection = mysql://nova:x7deix7dei@controller/nova
compute_driver = libvirt.LibvirtDriver
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
rpc_backend = nova.openstack.common.rpc.impl_qpid
rootwrap_config = /etc/nova/rootwrap.conf
verbose = True
auth_strategy = keystone
qpid_hostname = controller
network_host = compute1
fixed_range = 10.0.0.0/24
flat_interface = eth1
flat_network_bridge = br100
public_interface = eth1
glance_host = controller
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = controller
novncproxy_base_url = http://37.123.104.3:6080/vnc_auto.html
xvpvncproxy_base_url = http://37.123.104.3:6081/console
metadata_host = 10.141.6.2
enabled_apis=ec2,osapi_compute,metadata
#[keystone_authtoken]
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-signing-nova
There is no process using port 8774.
[root@blade02 07-openstack-controller]# netstat -tunlp | grep 877
tcp 0 0 0.0.0.0:8775 0.0.0.0:* LISTEN 2157/python
Maybe it is something similar to:
https://bugzilla.redhat.com/show_bug.cgi?id=877606#c3
Thanks,
Andrew
Follow ups