← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1657476] [NEW] Metadata agent fails to serve requests in python 3

 

Public bug reported:

from http://logs.openstack.org/09/421209/7/experimental/gate-tempest-
dsvm-nova-py35-ubuntu-xenial/2dda79b/logs/screen-q-meta.txt.gz:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl
    func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/eventlet/wsgi.py", line 719, in process_request
    proto.__init__(sock, address, self)
  File "/opt/stack/new/neutron/neutron/agent/linux/utils.py", line 409, in __init__
    server)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.5/dist-packages/eventlet/wsgi.py", line 379, in handle_one_request
    self.environ = self.get_environ()
  File "/usr/local/lib/python3.5/dist-packages/eventlet/wsgi.py", line 593, in get_environ
    env['REMOTE_ADDR'] = self.client_address[0]
IndexError: index out of range

** Affects: neutron
     Importance: High
     Assignee: Oleg Bondarev (obondarev)
         Status: Confirmed


** Tags: py34

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1657476

Title:
  Metadata agent fails to serve requests in python 3

Status in neutron:
  Confirmed

Bug description:
  from http://logs.openstack.org/09/421209/7/experimental/gate-tempest-
  dsvm-nova-py35-ubuntu-xenial/2dda79b/logs/screen-q-meta.txt.gz:

  Traceback (most recent call last):
    File "/usr/local/lib/python3.5/dist-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl
      func(*args, **kwargs)
    File "/usr/local/lib/python3.5/dist-packages/eventlet/wsgi.py", line 719, in process_request
      proto.__init__(sock, address, self)
    File "/opt/stack/new/neutron/neutron/agent/linux/utils.py", line 409, in __init__
      server)
    File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
      self.handle()
    File "/usr/lib/python3.5/http/server.py", line 422, in handle
      self.handle_one_request()
    File "/usr/local/lib/python3.5/dist-packages/eventlet/wsgi.py", line 379, in handle_one_request
      self.environ = self.get_environ()
    File "/usr/local/lib/python3.5/dist-packages/eventlet/wsgi.py", line 593, in get_environ
      env['REMOTE_ADDR'] = self.client_address[0]
  IndexError: index out of range

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1657476/+subscriptions


Follow ups