tempest test_delete_active_server fails

Bug #2060832 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
New
Undecided
Unassigned

Bug Description

Single node deployment, one of 150 tests failed

ft1.1: tempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_active_server[id-925fdfb4-5b13-47ea-ac8a-c36ae6fddb05]testtools.testresult.real._StringException: pythonlogging:'': {{{
2024-04-10 14:46:41,215 17832 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_active_server): 201 POST http://10.246.167.167/openstack-keystone/v3/auth/tokens 0.414s
2024-04-10 14:46:41,215 17832 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
        Body: <omitted>
    Response - Headers: {'content-length': '9488', 'content-type': 'application/json', 'date': 'Wed, 10 Apr 2024 14:46:40 GMT', 'server': 'Apache/2.4.52 (Ubuntu)', 'vary': 'X-Auth-Token', 'x-openstack-request-id': 'req-c9bd5dbd-b428-4e8b-99c8-eccd0d3d62f6', 'x-subject-token': '<omitted>', 'connection': 'close', 'status': '201', 'content-location': 'http://10.246.167.167/openstack-keystone/v3/auth/tokens'}
        Body: b'{"token": {"methods": ["password"], "user": {"domain": {"id": "1a686d5df8ea4979b5acc8bfedbd7f33", "name": "admin_domain"}, "id": "60329b105b194dd1ac1f8d9bbc78ec22", "name": "tempest-DeleteServersTestJSON-1478208612-project-member", "password_expires_at": null}, "audit_ids": ["aN8BJD_IRcK3lpWBee7VTg"], "expires_at": "2024-04-10T15:46:41.000000Z", "issued_at": "2024-04-10T14:46:41.000000Z", "project": {"domain": {"id": "1a686d5df8ea4979b5acc8bfedbd7f33", "name": "admin_domain"}, "id": "a44b003497074b20b14f5ef70adb910d", "name": "tempest-DeleteServersTestJSON-1478208612"}, "is_domain": false, "roles": [{"id": "395fd105a5d046e6b366f8bbfa0e8552", "name": "reader"}, {"id": "557281e258d84bb0a2a2e64ab3832b59", "name": "member"}], "is_admin_project": false, "catalog": [{"endpoints": [{"id": "5f61d7f48ff24d83983f5baa5ffbd450", "interface": "admin", "region_id": "RegionOne", "url": "http://10.152.183.132:8774/v2.1", "region": "RegionOne"}, {"id": "93399754cd9b4e268bb9c4081f86d8c3", "interface": "public", "region_id": "RegionOne", "url": "http://10.246.167.167:80/openstack-nova/v2.1", "region": "RegionOne"}, {"id": "d33018ef01a042339678e76c4ba86e43", "interface": "internal", "region_id": "RegionOne", "url": "http://10.246.167.166:80/openstack-nova/v2.1", "region": "RegionOne"}], "id": "2b972cedbdf6499c97edf2467abe8061", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "1ebad924f7e4446989c61f9f96d39fd4", "interface": "admin", "region_id": "RegionOne", "url": "http://10.152.183.36:9292", "region": "RegionOne"}, {"id": "6c7f570091ba40408e983ec715ef9f82", "interface": "public", "region_id": "RegionOne", "url": "http://10.246.167.167:80/openstack-glance", "region": "RegionOne"}, {"id": "7bfc485a21bb4fcba9b09ddb1b2b5390", "interface": "internal", "region_id": "RegionOne", "url": "http://10.246.167.166:80/openstack-glance", "region": "RegionOne"}], "id": "6525563d9e334894ae4f2492d3725eff", "type": "image", "name": "glance"}, {"endpoints": [{"id": "3559ebe4da6149c88f2edf4747d9fdb6", "interface": "public", "region_id": "RegionOne", "url": "http://10.246.167.167:80/openstack-magnum/v1", "region": "RegionOne"}, {"id": "70282b9694f143a885adf4d6cd352c8b", "interface": "admin", "region_id": "RegionOne", "url": "http://10.152.183.248:9511/v1", "region": "RegionOne"}, {"id": "b6a86d7762bd42baafe1ee347953b67f", "interface": "internal", "region_id": "RegionOne", "url": "http://10.246.167.166:80/openstack-magnum/v1", "region": "RegionOne"}], "id": "69dc6b2f473a41539e64840d6dc9e5b1", "type": "container-infra", "name": "magnum"}, {"endpoints": [{"id": "25318b29c94b490da9c856801a0638cf", "interface": "public", "region_id": "RegionOne", "url": "http://10.246.167.167:80/openstack-placement", "region": "RegionOne"}, {"id": "a053aaf6a56f4b56a9ecd63137fdcf46", "interface": "admin", "region_id": "RegionOne", "url": "http://10.152.183.80:8778", "region": "RegionOne"}, {"id": "c7ea7ab69a6842098c9ae93ef353c77c", "interface": "internal", "region_id": "RegionOne", "url": "http://10.246.167.166:80/openstack-placement", "region": "RegionOne"}], "id": "6afe1407dfd649f38f1478cd0684cfce", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "79b7f15194f54db19a0a91e5d6310d0d", "interface": "internal", "region_id": "RegionOne", "url": "http://10.246.167.166:80/openstack-gnocchi", "region": "RegionOne"}, {"id": "c1da1ee9981044e2be50733481b36de3", "interface": "admin", "region_id": "RegionOne", "url": "http://10.152.183.239:8041", "region": "RegionOne"}, {"id": "f87e84ddef014c1789eb595f833ad219", "interface": "public", "region_id": "RegionOne", "url": "http://10.246.167.167:80/openstack-gnocchi", "region": "RegionOne"}], "id": "7cd18ba7b3a940b7acde026ea62a1026", "type": "metric", "name": "gnocchi"}, {"endpoints": [{"id": "7a486970fe0147038b94ffc5efa76268", "interface": "public", "region_id": "RegionOne", "url": "http://10.246.167.167:80/openstack-heat-cfn/v1/a44b003497074b20b14f5ef70adb910d", "region": "RegionOne"}, {"id": "a784a12285294ee9b8eab40023e1b9b4", "interface": "admin", "region_id": "RegionOne", "url": "http://10.152.183.254:8000/v1/a44b0034
2024-04-10 14:46:41,216 17832 INFO [tempest.lib.common.fixed_network] (DeleteServersTestJSON:test_delete_active_server) Found network {'id': '531fca8c-c02e-4c80-8c77-a341c0784643', 'name': 'tempest-DeleteServersTestJSON-1111089967-network', 'tenant_id': 'a44b003497074b20b14f5ef70adb910d', 'admin_state_up': True, 'mtu': 1442, 'status': 'ACTIVE', 'subnets': [], 'shared': False, 'project_id': 'a44b003497074b20b14f5ef70adb910d', 'port_security_enabled': True, 'router:external': False, 'provider:network_type': 'geneve', 'provider:physical_network': None, 'provider:segmentation_id': 1504, 'is_default': False, 'availability_zone_hints': [], 'availability_zones': [], 'ipv4_address_scope': None, 'ipv6_address_scope': None, 'description': '', 'l2_adjacency': True, 'tags': [], 'created_at': '2024-04-10T14:46:37Z', 'updated_at': '2024-04-10T14:46:37Z', 'revision_number': 1} available for tenant
2024-04-10 14:46:44,053 17832 INFO [tempest.lib.common.rest_client] Request (DeleteServersTestJSON:test_delete_active_server): 500 POST http://10.246.167.167:80/openstack-nova/v2.1/servers 2.836s
2024-04-10 14:46:44,053 17832 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-OpenStack-Nova-API-Version': '2.1', 'X-Auth-Token': '<omitted>'}
        Body: {"server": {"name": "tempest-DeleteServersTestJSON-server-1988462669", "imageRef": "10540ac4-8fa8-4491-92d4-583228a18f53", "flavorRef": "122f4b81-a932-4389-afef-fbf9dffbc8d2", "networks": [{"uuid": "531fca8c-c02e-4c80-8c77-a341c0784643"}]}}
    Response - Headers: {'content-length': '214', 'content-type': 'application/json; charset=UTF-8', 'date': 'Wed, 10 Apr 2024 14:46:41 GMT', 'openstack-api-version': 'compute 2.1', 'server': 'Apache/2.4.52 (Ubuntu)', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'x-compute-request-id': 'req-8d664de6-1878-4deb-9088-9ba63c90ef02', 'x-openstack-nova-api-version': '2.1', 'x-openstack-request-id': 'req-8d664de6-1878-4deb-9088-9ba63c90ef02', 'connection': 'close', 'status': '500', 'content-location': 'http://10.246.167.167:80/openstack-nova/v2.1/servers'}
        Body: b'{"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 \'glanceclient.exc.HTTPInternalServerError\'>"}}'
}}}

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/api/compute/servers/test_delete_server.py", line 50, in test_delete_active_server
    server = self.create_test_server(wait_until='ACTIVE')
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/api/compute/base.py", line 243, in create_test_server
    body, servers = compute.create_test_server(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/common/compute.py", line 287, in create_test_server
    body = clients.servers_client.create_server(name=name, imageRef=image_id,
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/lib/services/compute/servers_client.py", line 115, in create_server
    resp, body = self.post('servers', post_body)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/lib/common/rest_client.py", line 300, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request
    resp, resp_body = super(BaseComputeClient, self).request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/lib/common/rest_client.py", line 742, in request
    self._error_checker(resp, resp_body)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/tempest/lib/common/rest_client.py", line 922, 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 'glanceclient.exc.HTTPInternalServerError'>

Link to artifacts - https://oil-jenkins.canonical.com/artifacts/5e46fb0f-4a98-49b7-b88e-25af476d06d3/index.html

tempest results are in results.xml and results.html

tags: added: validation
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.