nova-api & nova-metadata-api services are using the same port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Guangya Liu (Jay Lau) |
Bug Description
Description of problem:
The services nova-api and the nova-metadata-api are both using the same port, 8775.
Thus, the services are 'competing' for the port and one of them will not work.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server release 6.5 Beta (Santiago)
python-
python-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
openstack-
How reproducible:
everytime
Steps to Reproduce:
1. Install Havana on RHEL 6.5 AIO installation.
2.
3.
Actual results:
Either the openstack-nova-api or the openstack-
Expected results:
Both services are up and running.
Additional info:
The error from /var/log/
2013-10-09 10:54:21.975 4776 INFO nova.network.driver [-] Loading network driver 'nova.network.
2013-10-09 10:54:22.036 4776 DEBUG nova.wsgi [-] Loading app metadata from /etc/nova/
2013-10-09 10:54:22.076 4776 INFO nova.openstack.
2013-10-09 10:54:22.079 4776 CRITICAL nova [-] [Errno 98] Address already in use
2013-10-09 10:54:22.079 4776 TRACE nova Traceback (most recent call last):
2013-10-09 10:54:22.079 4776 TRACE nova File "/usr/bin/
2013-10-09 10:54:22.079 4776 TRACE nova sys.exit(main())
2013-10-09 10:54:22.079 4776 TRACE nova File "/usr/lib/
2013-10-09 10:54:22.079 4776 TRACE nova server = service.
2013-10-09 10:54:22.079 4776 TRACE nova File "/usr/lib/
2013-10-09 10:54:22.079 4776 TRACE nova max_url_
2013-10-09 10:54:22.079 4776 TRACE nova File "/usr/lib/
2013-10-09 10:54:22.079 4776 TRACE nova self._socket = eventlet.
2013-10-09 10:54:22.079 4776 TRACE nova File "/usr/lib/
2013-10-09 10:54:22.079 4776 TRACE nova sock.bind(addr)
2013-10-09 10:54:22.079 4776 TRACE nova File "<string>", line 1, in bind
2013-10-09 10:54:22.079 4776 TRACE nova error: [Errno 98] Address already in use
2013-10-09 10:54:22.079 4776 TRACE nova
The error from the nova-api log:
2013-10-09 11:17:04.520 6048 CRITICAL nova [-] [Errno 98] Address already in use
2013-10-09 11:17:04.520 6048 TRACE nova Traceback (most recent call last):
2013-10-09 11:17:04.520 6048 TRACE nova File "/usr/bin/
2013-10-09 11:17:04.520 6048 TRACE nova sys.exit(main())
2013-10-09 11:17:04.520 6048 TRACE nova File "/usr/lib/
2013-10-09 11:17:04.520 6048 TRACE nova server = service.
2013-10-09 11:17:04.520 6048 TRACE nova File "/usr/lib/
2013-10-09 11:17:04.520 6048 TRACE nova max_url_
2013-10-09 11:17:04.520 6048 TRACE nova File "/usr/lib/
2013-10-09 11:17:04.520 6048 TRACE nova self._socket = eventlet.
2013-10-09 11:17:04.520 6048 TRACE nova File "/usr/lib/
2013-10-09 11:17:04.520 6048 TRACE nova sock.bind(addr)
2013-10-09 11:17:04.520 6048 TRACE nova File "<string>", line 1, in bind
2013-10-09 11:17:04.520 6048 TRACE nova error: [Errno 98] Address already in use
2013-10-09 11:17:04.520 6048 TRACE nova
netstat:
tcp 0 0 0.0.0.0:8775 0.0.0.0:* LISTEN 32327/python
affects: | cloudkeep → nova |
tags: | added: nova-manage |
I think that this is not a valid case.
Please check your nova.conf to see if metadata was configured in enabled_apis.
The default value of enabled_apis is "enabled_apis = osapi_compute, metadata" , this means that metadata was enabled by default, it will be started by nova-api.
If you remove metadata from enabled_apis, you will be able to start up your metadata api.
Thanks.