← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2086750] [NEW] VlanTransparencyTest.test_vlan_transparent_port_sec_disabled failed to create a server, n-api returns 500, "nova.exception.NovaException: Failed to access port" results in apache error

 

Public bug reported:

https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_92f/931993/3/check/neutron-
tempest-plugin-ovn/92fc4e3/testr_results.html

2024-11-06 01:24:07,246 90683 INFO     [tempest.lib.common.rest_client] Request (VlanTransparencyTest:test_vlan_transparent_port_sec_disabled): 500 POST https://158.69.77.94/compute/v2.1/servers 300.064s
2024-11-06 01:24:07,247 90683 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"server": {"flavorRef": "d6da27ed-2673-4a67-9d11-2163c67f61d3", "imageRef": "89db8c48-81a7-4dd2-9192-c41d4cddabbf", "key_name": "tempest-VlanTransparencyTest-1374679314", "networks": [{"port": "a68e5f79-48b1-41bf-9de3-e1e713380ef1"}], "name": "server-tempest-VlanTransparencyTest-1374679314-0", "security_groups": [{"name": "default"}]}}
    Response - Headers: {'date': 'Wed, 06 Nov 2024 01:19:07 GMT', 'server': 'Apache/2.4.52 (Ubuntu)', 'content-length': '610', 'content-type': 'text/html; charset=iso-8859-1', 'connection': 'close', 'status': '500', 'content-location': 'https://158.69.77.94/compute/v2.1/servers'}
        Body: b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator at \n webmaster@localhost to inform them of the time this error occurred,\n and the actions you performed just before this error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<hr>\n<address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>\n</body></html>\n'
}}}

Traceback (most recent call last):
  File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/test_vlan_transparency.py", line 178, in test_vlan_transparent_port_sec_disabled
    self._test_basic_vlan_transparency_connectivity(
  File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/test_vlan_transparency.py", line 133, in _test_basic_vlan_transparency_connectivity
    vms.append(self._create_port_and_server(
  File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/test_vlan_transparency.py", line 86, in _create_port_and_server
    return self.create_server(flavor_ref=self.flavor_ref,
  File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/base.py", line 135, in create_server
    server = client.create_server(
  File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 119, in create_server
    resp, body = self.post('servers', post_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in post
    resp_header, resp_body = self.request(
  File "/opt/stack/tempest/tempest/lib/services/compute/base_compute_client.py", line 47, in request
    resp, resp_body = super(BaseComputeClient, self).request(
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 762, in request
    self._error_checker(resp, resp_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 856, in _error_checker
    raise exceptions.UnexpectedContentType(str(resp.status),
tempest.lib.exceptions.UnexpectedContentType: Unexpected content type provided
Details: 500

In n-api log:

https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_92f/931993/3/check/neutron-
tempest-plugin-ovn/92fc4e3/controller/logs/screen-n-api.txt

Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: DEBUG neutronclient.v2_0.client [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Error message: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <html><head>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <title>500 Internal Server Error</title>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: </head><body>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <h1>Internal Server Error</h1>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <p>The server encountered an internal error or
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: misconfiguration and was unable to complete
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: your request.</p>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <p>Please contact the server administrator at
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]:  webmaster@localhost to inform them of the time this error occurred,
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]:  and the actions you performed just before this error.</p>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <p>More information about this error may be available
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: in the server error log.</p>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <hr>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: </body></html>
Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]:  {{(pid=59370) _handle_fault_response /opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py:262}}
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Unexpected exception in API method: nova.exception.NovaException: Failed to access port a68e5f79-48b1-41bf-9de3-e1e713380ef1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <html><head>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <title>500 Internal Server Error</title>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: </head><body>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <h1>Internal Server Error</h1>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <p>The server encountered an internal error or
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: misconfiguration and was unable to complete
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: your request.</p>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <p>Please contact the server administrator at
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]:  webmaster@localhost to inform them of the time this error occurred,
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]:  and the actions you performed just before this error.</p>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <p>More information about this error may be available
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: in the server error log.</p>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <hr>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: </body></html>
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi Traceback (most recent call last):
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2033, in _show_port
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     result = neutron_client.show_port(port_id)
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 820, in show_port
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.get(self.port_path % (port), params=_params)
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 356, in get
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.retry_request("GET", action, body=body,
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 333, in retry_request
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.do_request(method, action, body=body,
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 297, in do_request
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     self._handle_fault_response(status_code, replybody, resp)
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 272, in _handle_fault_response
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     exception_handler_v20(status_code, error_body)
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 90, in exception_handler_v20
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     raise client_exc(message=error_message,
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi neutronclient.common.exceptions.InternalServerError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <html><head>
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <title>500 Internal Server Error</title>
Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </head><body>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <h1>Internal Server Error</h1>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>The server encountered an internal error or
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi misconfiguration and was unable to complete
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi your request.</p>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>Please contact the server administrator at
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  webmaster@localhost to inform them of the time this error occurred,
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  and the actions you performed just before this error.</p>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>More information about this error may be available
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi in the server error log.</p>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <hr>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </body></html>
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi During handling of the above exception, another exception occurred:
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi Traceback (most recent call last):
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 678, in wrapped
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/validation/__init__.py", line 135, in wrapper
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/validation/__init__.py", line 135, in wrapper
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/validation/__init__.py", line 135, in wrapper
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   [Previous line repeated 11 more times]
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 787, in create
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     instances, resv_id = self.compute_api.create(
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 2210, in create
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self._create_instance(
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 1686, in _create_instance
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ) = self._validate_and_build_base_options(
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 1084, in _validate_and_build_base_options
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     max_network_count = self._check_requested_networks(
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 543, in _check_requested_networks
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.network_api.validate_networks(context, requested_networks,
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2706, in validate_networks
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ports_needed_per_instance = self._ports_needed_per_instance(
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2576, in _ports_needed_per_instance
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     port = self._show_port(context, request.port_id,
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2042, in _show_port
Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     raise exception.NovaException(message=msg)
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi nova.exception.NovaException: Failed to access port a68e5f79-48b1-41bf-9de3-e1e713380ef1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <html><head>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <title>500 Internal Server Error</title>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </head><body>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <h1>Internal Server Error</h1>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>The server encountered an internal error or
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi misconfiguration and was unable to complete
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi your request.</p>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>Please contact the server administrator at
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  webmaster@localhost to inform them of the time this error occurred,
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  and the actions you performed just before this error.</p>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>More information about this error may be available
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi in the server error log.</p>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <hr>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </body></html>
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: INFO nova.api.openstack.wsgi [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: <class 'nova.exception.NovaException'>
Nov 06 01:24:07.371801 np0038980715 devstack@n-api.service[59370]: DEBUG nova.api.openstack.wsgi [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
Nov 06 01:24:07.371801 np0038980715 devstack@n-api.service[59370]: <class 'nova.exception.NovaException'> {{(pid=59370) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:956}}
Nov 06 01:24:07.371801 np0038980715 devstack@n-api.service[59370]: INFO nova.api.openstack.requestlog [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] 158.69.77.94 "POST /compute/v2.1/servers" status: 500 len: 202 microversion: 2.1 time: 300.182260
Nov 06 01:24:07.372560 np0038980715 devstack@n-api.service[59370]: Wed Nov  6 01:24:07 2024 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/servers (ip 158.69.77.94) !!!
Nov 06 01:24:07.372560 np0038980715 devstack@n-api.service[59370]: Wed Nov  6 01:24:07 2024 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during POST /compute/v2.1/servers (158.69.77.94)
Nov 06 01:24:07.373352 np0038980715 devstack@n-api.service[59370]: CRITICAL nova [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Unhandled error: OSError: write error
Nov 06 01:24:07.373352 np0038980715 devstack@n-api.service[59370]: ERROR nova OSError: write error
Nov 06 01:24:07.373352 np0038980715 devstack@n-api.service[59370]: ERROR nova 
Nov 06 01:24:07.373694 np0038980715 devstack@n-api.service[59370]: [pid: 59370|app: 0|req: 2636/5313] 158.69.77.94 () {68 vars in 1296 bytes} [Wed Nov  6 01:19:07 2024] POST /compute/v2.1/servers => generated 0 bytes in 300185 msecs (HTTP/1.1 500) 9 headers in 0 bytes (0 switches on core 0)
Nov 06 01:24:10.382581 np0038980715 devstack@n-api.service[59371]: ERROR oslo.messaging._drivers.impl_rabbit [-] [2525c5ce-0100-43ad-b7b3-04ff6c0c9dfe] AMQP server on 158.69.77.94:5672 is unreachable: <RecoverableConnectionError: unknown error>. Trying again in 1 seconds.: amqp.exceptions.RecoverableConnectionError: <RecoverableConnectionError: unknown error>

** 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/2086750

Title:
  VlanTransparencyTest.test_vlan_transparent_port_sec_disabled failed to
  create a server, n-api returns 500, "nova.exception.NovaException:
  Failed to access port" results in apache error

Status in OpenStack Compute (nova):
  New

Bug description:
  https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_92f/931993/3/check/neutron-
  tempest-plugin-ovn/92fc4e3/testr_results.html

  2024-11-06 01:24:07,246 90683 INFO     [tempest.lib.common.rest_client] Request (VlanTransparencyTest:test_vlan_transparent_port_sec_disabled): 500 POST https://158.69.77.94/compute/v2.1/servers 300.064s
  2024-11-06 01:24:07,247 90683 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
          Body: {"server": {"flavorRef": "d6da27ed-2673-4a67-9d11-2163c67f61d3", "imageRef": "89db8c48-81a7-4dd2-9192-c41d4cddabbf", "key_name": "tempest-VlanTransparencyTest-1374679314", "networks": [{"port": "a68e5f79-48b1-41bf-9de3-e1e713380ef1"}], "name": "server-tempest-VlanTransparencyTest-1374679314-0", "security_groups": [{"name": "default"}]}}
      Response - Headers: {'date': 'Wed, 06 Nov 2024 01:19:07 GMT', 'server': 'Apache/2.4.52 (Ubuntu)', 'content-length': '610', 'content-type': 'text/html; charset=iso-8859-1', 'connection': 'close', 'status': '500', 'content-location': 'https://158.69.77.94/compute/v2.1/servers'}
          Body: b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator at \n webmaster@localhost to inform them of the time this error occurred,\n and the actions you performed just before this error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<hr>\n<address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>\n</body></html>\n'
  }}}

  Traceback (most recent call last):
    File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/test_vlan_transparency.py", line 178, in test_vlan_transparent_port_sec_disabled
      self._test_basic_vlan_transparency_connectivity(
    File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/test_vlan_transparency.py", line 133, in _test_basic_vlan_transparency_connectivity
      vms.append(self._create_port_and_server(
    File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/test_vlan_transparency.py", line 86, in _create_port_and_server
      return self.create_server(flavor_ref=self.flavor_ref,
    File "/opt/stack/tempest/.tox/tempest/lib/python3.10/site-packages/neutron_tempest_plugin/scenario/base.py", line 135, in create_server
      server = client.create_server(
    File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 119, in create_server
      resp, body = self.post('servers', post_body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in post
      resp_header, resp_body = self.request(
    File "/opt/stack/tempest/tempest/lib/services/compute/base_compute_client.py", line 47, in request
      resp, resp_body = super(BaseComputeClient, self).request(
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 762, in request
      self._error_checker(resp, resp_body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 856, in _error_checker
      raise exceptions.UnexpectedContentType(str(resp.status),
  tempest.lib.exceptions.UnexpectedContentType: Unexpected content type provided
  Details: 500

  In n-api log:

  https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_92f/931993/3/check/neutron-
  tempest-plugin-ovn/92fc4e3/controller/logs/screen-n-api.txt

  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: DEBUG neutronclient.v2_0.client [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Error message: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <html><head>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <title>500 Internal Server Error</title>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: </head><body>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <h1>Internal Server Error</h1>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <p>The server encountered an internal error or
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: misconfiguration and was unable to complete
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: your request.</p>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <p>Please contact the server administrator at
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]:  webmaster@localhost to inform them of the time this error occurred,
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]:  and the actions you performed just before this error.</p>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <p>More information about this error may be available
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: in the server error log.</p>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <hr>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]: </body></html>
  Nov 06 01:24:07.353465 np0038980715 devstack@n-api.service[59370]:  {{(pid=59370) _handle_fault_response /opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py:262}}
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Unexpected exception in API method: nova.exception.NovaException: Failed to access port a68e5f79-48b1-41bf-9de3-e1e713380ef1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <html><head>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <title>500 Internal Server Error</title>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: </head><body>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <h1>Internal Server Error</h1>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <p>The server encountered an internal error or
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: misconfiguration and was unable to complete
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: your request.</p>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <p>Please contact the server administrator at
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]:  webmaster@localhost to inform them of the time this error occurred,
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]:  and the actions you performed just before this error.</p>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <p>More information about this error may be available
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: in the server error log.</p>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <hr>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: </body></html>
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi Traceback (most recent call last):
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2033, in _show_port
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     result = neutron_client.show_port(port_id)
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 820, in show_port
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.get(self.port_path % (port), params=_params)
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
  Nov 06 01:24:07.365879 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 356, in get
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.retry_request("GET", action, body=body,
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 333, in retry_request
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.do_request(method, action, body=body,
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 297, in do_request
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     self._handle_fault_response(status_code, replybody, resp)
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 196, in wrapper
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 272, in _handle_fault_response
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     exception_handler_v20(status_code, error_body)
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/data/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 90, in exception_handler_v20
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     raise client_exc(message=error_message,
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi neutronclient.common.exceptions.InternalServerError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <html><head>
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <title>500 Internal Server Error</title>
  Nov 06 01:24:07.367824 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </head><body>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <h1>Internal Server Error</h1>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>The server encountered an internal error or
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi misconfiguration and was unable to complete
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi your request.</p>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>Please contact the server administrator at
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  webmaster@localhost to inform them of the time this error occurred,
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  and the actions you performed just before this error.</p>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>More information about this error may be available
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi in the server error log.</p>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <hr>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </body></html>
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi During handling of the above exception, another exception occurred:
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi Traceback (most recent call last):
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 678, in wrapped
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/validation/__init__.py", line 135, in wrapper
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/validation/__init__.py", line 135, in wrapper
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  Nov 06 01:24:07.369006 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/validation/__init__.py", line 135, in wrapper
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   [Previous line repeated 11 more times]
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 787, in create
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     instances, resv_id = self.compute_api.create(
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 2210, in create
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self._create_instance(
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 1686, in _create_instance
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ) = self._validate_and_build_base_options(
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 1084, in _validate_and_build_base_options
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     max_network_count = self._check_requested_networks(
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/compute/api.py", line 543, in _check_requested_networks
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     return self.network_api.validate_networks(context, requested_networks,
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2706, in validate_networks
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     ports_needed_per_instance = self._ports_needed_per_instance(
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2576, in _ports_needed_per_instance
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     port = self._show_port(context, request.port_id,
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi   File "/opt/stack/nova/nova/network/neutron.py", line 2042, in _show_port
  Nov 06 01:24:07.370167 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi     raise exception.NovaException(message=msg)
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi nova.exception.NovaException: Failed to access port a68e5f79-48b1-41bf-9de3-e1e713380ef1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <html><head>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <title>500 Internal Server Error</title>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </head><body>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <h1>Internal Server Error</h1>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>The server encountered an internal error or
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi misconfiguration and was unable to complete
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi your request.</p>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>Please contact the server administrator at
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  webmaster@localhost to inform them of the time this error occurred,
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi  and the actions you performed just before this error.</p>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <p>More information about this error may be available
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi in the server error log.</p>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <hr>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi <address>Apache/2.4.52 (Ubuntu) Server at 158.69.77.94 Port 80</address>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi </body></html>
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: ERROR nova.api.openstack.wsgi 
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: INFO nova.api.openstack.wsgi [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  Nov 06 01:24:07.371065 np0038980715 devstack@n-api.service[59370]: <class 'nova.exception.NovaException'>
  Nov 06 01:24:07.371801 np0038980715 devstack@n-api.service[59370]: DEBUG nova.api.openstack.wsgi [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Returning 500 to user: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  Nov 06 01:24:07.371801 np0038980715 devstack@n-api.service[59370]: <class 'nova.exception.NovaException'> {{(pid=59370) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:956}}
  Nov 06 01:24:07.371801 np0038980715 devstack@n-api.service[59370]: INFO nova.api.openstack.requestlog [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] 158.69.77.94 "POST /compute/v2.1/servers" status: 500 len: 202 microversion: 2.1 time: 300.182260
  Nov 06 01:24:07.372560 np0038980715 devstack@n-api.service[59370]: Wed Nov  6 01:24:07 2024 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /compute/v2.1/servers (ip 158.69.77.94) !!!
  Nov 06 01:24:07.372560 np0038980715 devstack@n-api.service[59370]: Wed Nov  6 01:24:07 2024 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during POST /compute/v2.1/servers (158.69.77.94)
  Nov 06 01:24:07.373352 np0038980715 devstack@n-api.service[59370]: CRITICAL nova [None req-eb975fa0-ecd2-44dc-968c-b905124050d0 tempest-VlanTransparencyTest-258921115 tempest-VlanTransparencyTest-258921115-project-member] Unhandled error: OSError: write error
  Nov 06 01:24:07.373352 np0038980715 devstack@n-api.service[59370]: ERROR nova OSError: write error
  Nov 06 01:24:07.373352 np0038980715 devstack@n-api.service[59370]: ERROR nova 
  Nov 06 01:24:07.373694 np0038980715 devstack@n-api.service[59370]: [pid: 59370|app: 0|req: 2636/5313] 158.69.77.94 () {68 vars in 1296 bytes} [Wed Nov  6 01:19:07 2024] POST /compute/v2.1/servers => generated 0 bytes in 300185 msecs (HTTP/1.1 500) 9 headers in 0 bytes (0 switches on core 0)
  Nov 06 01:24:10.382581 np0038980715 devstack@n-api.service[59371]: ERROR oslo.messaging._drivers.impl_rabbit [-] [2525c5ce-0100-43ad-b7b3-04ff6c0c9dfe] AMQP server on 158.69.77.94:5672 is unreachable: <RecoverableConnectionError: unknown error>. Trying again in 1 seconds.: amqp.exceptions.RecoverableConnectionError: <RecoverableConnectionError: unknown error>

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