← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1959909] [NEW] test_anti_affinity_group: getresponse() got an unexpected keyword argument 'buffering'

 

Public bug reported:

An exception has occurred during the
nova.tests.functional.test_cross_cell_migrate.TestMultiCellMigrate.test_anti_affinity_group
test.

This seems to be intermittent but worth tracking in case this occurs
again.

https://60372c8100ce208cc5d0-295a7ccb810a3ccc27324edb0b3083ba.ssl.cf2.rackcdn.com/819494/6/check/nova-
tox-functional-centos8-py36/56850f8/testr_results.html


2022-02-03 11:40:59,721 ERROR [nova.api.openstack.wsgi] Unexpected exception in API method
Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/nova/nova/api/openstack/wsgi.py", line 658, in wrapped
    return f(*args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/nova/nova/api/validation/__init__.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/nova/nova/api/openstack/compute/services.py", line 439, in update
    service = self.host_api.service_get_by_id(context, service_id)
  File "/home/zuul/src/opendev.org/openstack/nova/nova/compute/api.py", line 5982, in service_get_by_id
    return _find_service_in_cell(context, service_id=service_id)
  File "/home/zuul/src/opendev.org/openstack/nova/nova/compute/api.py", line 5824, in _find_service_in_cell
    with nova_context.target_cell(context, cell) as cctxt:
  File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/fixtures/nova.py", line 488, in _wrap_target_cell
    raise RuntimeError('Global DB state changed underneath us')
RuntimeError: Global DB state changed underneath us
2022-02-03 11:40:59,725 INFO [nova.api.openstack.wsgi] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'RuntimeError'>
2022-02-03 11:40:59,726 INFO [nova.api.openstack.requestlog] 127.0.0.1 "PUT /v2.1/os-services/fdb452f1-eb62-4f67-a1fb-85343cbe16dc" status: 500 len: 186 microversion: 2.90 time: 0.020461
2022-02-03 11:40:59,906 WARNING [nova.service] Service killed that has no database entry
}}}

Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/test_cross_cell_migrate.py", line 934, in test_anti_affinity_group
    host2_service_uuid, forced_down=False)
  File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/api/client.py", line 543, in put_service_force_down
    return self.api_put('os-services/%s' % service_id, req).body['service']
  File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/api/client.py", line 225, in api_put
    return APIResponse(self.api_request(relative_uri, **kwargs))
  File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/api/client.py", line 193, in api_request
    response=response)
nova.tests.functional.api.client.OpenStackApiException: Unexpected status code: {"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'RuntimeError'>"}}

** Affects: nova
     Importance: Undecided
         Status: New

** Summary changed:

- getresponse() got an unexpected keyword argument 'buffering'
+ test_anti_affinity_group: getresponse() got an unexpected keyword argument 'buffering'

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1959909

Title:
  test_anti_affinity_group: getresponse() got an unexpected keyword
  argument 'buffering'

Status in OpenStack Compute (nova):
  New

Bug description:
  An exception has occurred during the
  nova.tests.functional.test_cross_cell_migrate.TestMultiCellMigrate.test_anti_affinity_group
  test.

  This seems to be intermittent but worth tracking in case this occurs
  again.

  https://60372c8100ce208cc5d0-295a7ccb810a3ccc27324edb0b3083ba.ssl.cf2.rackcdn.com/819494/6/check/nova-
  tox-functional-centos8-py36/56850f8/testr_results.html

  
  2022-02-03 11:40:59,721 ERROR [nova.api.openstack.wsgi] Unexpected exception in API method
  Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/urllib3/connectionpool.py", line 440, in _make_request
      httplib_response = conn.getresponse(buffering=True)
  TypeError: getresponse() got an unexpected keyword argument 'buffering'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/nova/nova/api/openstack/wsgi.py", line 658, in wrapped
      return f(*args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/nova/nova/api/validation/__init__.py", line 110, in wrapper
      return func(*args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/nova/nova/api/openstack/compute/services.py", line 439, in update
      service = self.host_api.service_get_by_id(context, service_id)
    File "/home/zuul/src/opendev.org/openstack/nova/nova/compute/api.py", line 5982, in service_get_by_id
      return _find_service_in_cell(context, service_id=service_id)
    File "/home/zuul/src/opendev.org/openstack/nova/nova/compute/api.py", line 5824, in _find_service_in_cell
      with nova_context.target_cell(context, cell) as cctxt:
    File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
      return next(self.gen)
    File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/fixtures/nova.py", line 488, in _wrap_target_cell
      raise RuntimeError('Global DB state changed underneath us')
  RuntimeError: Global DB state changed underneath us
  2022-02-03 11:40:59,725 INFO [nova.api.openstack.wsgi] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'RuntimeError'>
  2022-02-03 11:40:59,726 INFO [nova.api.openstack.requestlog] 127.0.0.1 "PUT /v2.1/os-services/fdb452f1-eb62-4f67-a1fb-85343cbe16dc" status: 500 len: 186 microversion: 2.90 time: 0.020461
  2022-02-03 11:40:59,906 WARNING [nova.service] Service killed that has no database entry
  }}}

  Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/test_cross_cell_migrate.py", line 934, in test_anti_affinity_group
      host2_service_uuid, forced_down=False)
    File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/api/client.py", line 543, in put_service_force_down
      return self.api_put('os-services/%s' % service_id, req).body['service']
    File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/api/client.py", line 225, in api_put
      return APIResponse(self.api_request(relative_uri, **kwargs))
    File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/api/client.py", line 193, in api_request
      response=response)
  nova.tests.functional.api.client.OpenStackApiException: Unexpected status code: {"computeFault": {"code": 500, "message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'RuntimeError'>"}}

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