← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1959677] [NEW] nova functional tests fail with: "Global DB state changed underneath us"

 

Public bug reported:

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/lib/python3.8/contextlib.py", line 113, 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

Example failure:
https://zuul.opendev.org/t/openstack/build/81e8fc29d2a44e1b93ecea30016516bd/logs

The frequency of the issue increased recently to happening daily:
https://paste.opendev.org/show/812466/

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: gate-failure

** Tags added: gate-failure

-- 
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/1959677

Title:
  nova functional tests fail with: "Global DB state changed underneath
  us"

Status in OpenStack Compute (nova):
  New

Bug description:
  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/lib/python3.8/contextlib.py", line 113, 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

  Example failure:
  https://zuul.opendev.org/t/openstack/build/81e8fc29d2a44e1b93ecea30016516bd/logs

  The frequency of the issue increased recently to happening daily:
  https://paste.opendev.org/show/812466/

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



Follow ups