Service openstack-nova-metadata-api does not work on controller nodes

Bug #1321226 reported by Timur Nurlygayanov on 2014-05-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Timur Nurlygayanov

Bug Description

Steps To Reproduce:
1. Install MOS(Fuel master) from MOS 4.1a ISO.
2. Create simple environment with 1 controller and 5 compute nodes (CentOS, Neutron GRE, nonHA).
3. Deploy this environment.
4. Execute command '/etc/init.d/openstack-nova-metadata-api restart' on controller node.

Observed Result:
Error message when service going to shutdown (looks like this service does not work).
[root@node-4 ~]# /etc/init.d/openstack-nova-metadata-api restart
Stopping openstack-nova-metadata-api: [FAILED]
Starting openstack-nova-metadata-api: [ OK ]

-------------------------------------------------------------------------

Logs from 'tail -n 200 -f /var/log/nova-all.log':

<178>May 20 10:16:09 node-4 nova-nova CRITICAL: [Errno 98] Address already in use
Traceback (most recent call last):
  File "/usr/bin/nova-api-metadata", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.6/site-packages/nova/cmd/api_metadata.py", line 40, in main
    server = service.WSGIService('metadata', use_ssl=should_use_ssl)
  File "/usr/lib/python2.6/site-packages/nova/service.py", line 318, in __init__
    max_url_len=max_url_len)
  File "/usr/lib/python2.6/site-packages/nova/wsgi.py", line 123, in __init__
    self._socket = eventlet.listen(bind_addr, family, backlog=backlog)
  File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 38, in listen
    sock.bind(addr)
  File "<string>", line 1, in bind
error: [Errno 98] Address already in use
<0>May 20 10:16:11 node-4 �<182>nova-nova.network.driver INFO: Loading network driver 'nova.network.linux_net'
<178>May 20 10:16:11 node-4 nova-nova CRITICAL: [Errno 98] Address already in use
Traceback (most recent call last):
  File "/usr/bin/nova-api-metadata", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.6/site-packages/nova/cmd/api_metadata.py", line 40, in main
    server = service.WSGIService('metadata', use_ssl=should_use_ssl)
  File "/usr/lib/python2.6/site-packages/nova/service.py", line 318, in __init__
    max_url_len=max_url_len)
  File "/usr/lib/python2.6/site-packages/nova/wsgi.py", line 123, in __init__
    self._socket = eventlet.listen(bind_addr, family, backlog=backlog)
  File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 38, in listen
    sock.bind(addr)
  File "<string>", line 1, in bind
error: [Errno 98] Address already in use

description: updated
description: updated
Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed

Looks like this is OpenStack known issue https://bugs.launchpad.net/nova/+bug/1237334

Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov) on 2014-08-13
Changed in fuel:
milestone: none → 4.1.1
assignee: nobody → Timur Nurlygayanov (tnurlygayanov)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers