← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2070185] [NEW] Unexpected API error for vm crud actions - triggered from stateless security group test

 

Public bug reported:

In uni-alpha job with rhel9, the following neutron tempest test [1]
raises this nova api error [2], it seems to be a regression that wasn't
noticed the week beforehand, maybe from recent changes.

Please let me know if there is anything else I can help with.

BR

[1]

neutron_tempest_plugin.scenario.test_security_groups.StatelessSecGroupDualStackSlaacTest.test_default_sec_grp_scenarios

[2]

traceback-1: {{{
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/utils/test_utils.py", line 87, in call_and_ignore_notfound_exc
    return func(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 172, in delete_server
    resp, body = self.delete("servers/%s" % server_id)
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 357, in delete
    return self.request('DELETE', url, extra_headers, headers, body)
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
    resp, resp_body = super(BaseComputeClient, self).request(
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request
    self._error_checker(resp, resp_body)
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 940, in _error_checker
    raise exceptions.ServerFault(resp_body, resp=resp,
tempest.lib.exceptions.ServerFault: Got server fault
Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.NovaException'>
}}}

traceback-2: {{{
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/utils/test_utils.py", line 87, in call_and_ignore_notfound_exc
    return func(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/tempest/common/waiters.py", line 109, in wait_for_server_termination
    body = client.show_server(server_id)['server']
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 159, in show_server
    resp, body = self.get("servers/%s" % server_id)
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 340, in get
    return self.request('GET', url, extra_headers, headers,
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
    resp, resp_body = super(BaseComputeClient, self).request(
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request
    self._error_checker(resp, resp_body)
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 940, in _error_checker
    raise exceptions.ServerFault(resp_body, resp=resp,
tempest.lib.exceptions.ServerFault: Got server fault
Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.NovaException'>
}}}

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 1191, in test_default_sec_grp_scenarios
    self._test_default_sec_grp_scenarios()
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 1167, in _test_default_sec_grp_scenarios
    super()._test_default_sec_grp_scenarios())
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 311, in _test_default_sec_grp_scenarios
    server_ssh_clients, fips, servers = self.create_vm_testing_sec_grp()
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 155, in create_vm_testing_sec_grp
    servers.append(self.create_server(**server_args))
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/base.py", line 150, in create_server
    self.wait_for_server_active(server['server'], client=client)
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/base.py", line 556, in wait_for_server_active
    self.wait_for_server_status(
  File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/base.py", line 547, in wait_for_server_status
    waiters.wait_for_server_status(client, server['id'], status, **kwargs)
  File "/usr/lib/python3.9/site-packages/tempest/common/waiters.py", line 65, in wait_for_server_status
    body = client.show_server(server_id)['server']
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 159, in show_server
    resp, body = self.get("servers/%s" % server_id)
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 340, in get
    return self.request('GET', url, extra_headers, headers,
  File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
    resp, resp_body = super(BaseComputeClient, self).request(
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request
    self._error_checker(resp, resp_body)
  File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 940, in _error_checker
    raise exceptions.ServerFault(resp_body, resp=resp,
tempest.lib.exceptions.ServerFault: Got server fault
Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'oslo_db.exception.DBConnectionError'>

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Unexpected API error for vm crud actions - triggered from stateless
  security group test

Status in OpenStack Compute (nova):
  New

Bug description:
  In uni-alpha job with rhel9, the following neutron tempest test [1]
  raises this nova api error [2], it seems to be a regression that
  wasn't noticed the week beforehand, maybe from recent changes.

  Please let me know if there is anything else I can help with.

  BR

  [1]

  neutron_tempest_plugin.scenario.test_security_groups.StatelessSecGroupDualStackSlaacTest.test_default_sec_grp_scenarios

  [2]

  traceback-1: {{{
  Traceback (most recent call last):
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/utils/test_utils.py", line 87, in call_and_ignore_notfound_exc
      return func(*args, **kwargs)
    File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 172, in delete_server
      resp, body = self.delete("servers/%s" % server_id)
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 357, in delete
      return self.request('DELETE', url, extra_headers, headers, body)
    File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
      resp, resp_body = super(BaseComputeClient, self).request(
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request
      self._error_checker(resp, resp_body)
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 940, in _error_checker
      raise exceptions.ServerFault(resp_body, resp=resp,
  tempest.lib.exceptions.ServerFault: Got server fault
  Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.NovaException'>
  }}}

  traceback-2: {{{
  Traceback (most recent call last):
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/utils/test_utils.py", line 87, in call_and_ignore_notfound_exc
      return func(*args, **kwargs)
    File "/usr/lib/python3.9/site-packages/tempest/common/waiters.py", line 109, in wait_for_server_termination
      body = client.show_server(server_id)['server']
    File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 159, in show_server
      resp, body = self.get("servers/%s" % server_id)
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 340, in get
      return self.request('GET', url, extra_headers, headers,
    File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
      resp, resp_body = super(BaseComputeClient, self).request(
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request
      self._error_checker(resp, resp_body)
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 940, in _error_checker
      raise exceptions.ServerFault(resp_body, resp=resp,
  tempest.lib.exceptions.ServerFault: Got server fault
  Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'nova.exception.NovaException'>
  }}}

  Traceback (most recent call last):
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 1191, in test_default_sec_grp_scenarios
      self._test_default_sec_grp_scenarios()
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 1167, in _test_default_sec_grp_scenarios
      super()._test_default_sec_grp_scenarios())
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 311, in _test_default_sec_grp_scenarios
      server_ssh_clients, fips, servers = self.create_vm_testing_sec_grp()
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/test_security_groups.py", line 155, in create_vm_testing_sec_grp
      servers.append(self.create_server(**server_args))
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/base.py", line 150, in create_server
      self.wait_for_server_active(server['server'], client=client)
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/base.py", line 556, in wait_for_server_active
      self.wait_for_server_status(
    File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/scenario/base.py", line 547, in wait_for_server_status
      waiters.wait_for_server_status(client, server['id'], status, **kwargs)
    File "/usr/lib/python3.9/site-packages/tempest/common/waiters.py", line 65, in wait_for_server_status
      body = client.show_server(server_id)['server']
    File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 159, in show_server
      resp, body = self.get("servers/%s" % server_id)
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 340, in get
      return self.request('GET', url, extra_headers, headers,
    File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
      resp, resp_body = super(BaseComputeClient, self).request(
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request
      self._error_checker(resp, resp_body)
    File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 940, in _error_checker
      raise exceptions.ServerFault(resp_body, resp=resp,
  tempest.lib.exceptions.ServerFault: Got server fault
  Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_db.exception.DBConnectionError'>

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