← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1201478] Re: OverflowError: timeout is too large in gate-neutron-python26

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => havana-2

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

Title:
  OverflowError: timeout is too large in gate-neutron-python26

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Not sure how this has been induced, but it looks like there's an http
  call that has not been mocked up.

  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/api/v2/resource.py", line 82, in resource
      result = method(request=request, **args)
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/api/v2/base.py", line 403, in create
      obj = obj_creator(request.context, **kwargs)
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/nec/nec_plugin.py", line 251, in create_network
      new_net['id'], new_net['name'])
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/nec/ofc_manager.py", line 77, in create_ofc_network
      network_id)
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/nec/drivers/trema.py", line 56, in create_network
      self.client.post(self.networks_path, body=body)
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/nec/common/ofc_client.py", line 97, in post
      return self.do_request("POST", action, body=body)
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/plugins/nec/common/ofc_client.py", line 73, in do_request
      conn.request(method, action, body, headers)
    File "/usr/lib64/python2.6/httplib.py", line 914, in request
      self._send_request(method, url, body, headers)
    File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request
      self.endheaders()
    File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
      self._send_output()
    File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
      self.send(msg)
    File "/usr/lib64/python2.6/httplib.py", line 739, in send
      self.connect()
    File "/usr/lib64/python2.6/httplib.py", line 720, in connect
      self.timeout)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/green/socket.py", line 52, in create_connection
      sock.connect(sa)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/greenio.py", line 193, in connect
      trampoline(fd, write=True)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/__init__.py", line 155, in trampoline
      return hub.switch()
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in switch
      return self.greenlet.switch()
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 236, in run
      self.wait(sleep_time)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/poll.py", line 84, in wait
      presult = self.do_poll(seconds)
    File "/home/jenkins/workspace/gate-neutron-python26/.tox/py26/lib/python2.6/site-packages/eventlet/hubs/epolls.py", line 61, in do_poll
      return self.poll.poll(seconds)
  OverflowError: timeout is too large
  }}}

  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/openvswitch/test_agent_scheduler.py", line 297, in test_network_auto_schedule_restart_dhcp_agent
      with self.subnet() as sub1:
    File "/usr/lib64/python2.6/contextlib.py", line 16, in __enter__
      return self.gen.next()
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/test_db_plugin.py", line 543, in subnet
      with optional_ctx(network, self.network) as network_to_use:
    File "/usr/lib64/python2.6/contextlib.py", line 16, in __enter__
      return self.gen.next()
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/test_db_plugin.py", line 520, in network
      admin_state_up, **kwargs)
    File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/test_db_plugin.py", line 402, in _make_network
      raise webob.exc.HTTPClientError(code=res.status_int)
  HTTPClientError: The server could not comply with the request since it is either malformed or otherwise incorrect.

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