tempest.api.compute.admin.test_aggregates_negative. failing in tripleo rocky undercloud

Bug #1902373 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Unassigned

Bug Description

 tempest.api.compute.admin.test_aggregates_negative.AggregatesAdminNegativeTestJSON.test_aggregate_add_existent_host[id-19dd44e1-c435-4ee1-a402-88c4f90b5950,negative]
2020-10-31 01:37:28 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
2020-10-31 01:37:28 |
2020-10-31 01:37:28 | Captured traceback:
2020-10-31 01:37:28 | ~~~~~~~~~~~~~~~~~~~
2020-10-31 01:37:28 | Traceback (most recent call last):
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/services/compute/aggregates_client.py", line 122, in remove_host
2020-10-31 01:37:28 | post_body)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 279, in post
2020-10-31 01:37:28 | return self.request('POST', url, extra_headers, headers, body, chunked)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/services/compute/base_compute_client.py", line 48, in request
2020-10-31 01:37:28 | method, url, extra_headers, headers, body, chunked)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 670, in request
2020-10-31 01:37:28 | self._error_checker(resp, resp_body)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 776, in _error_checker
2020-10-31 01:37:28 | raise exceptions.NotFound(resp_body, resp=resp)
2020-10-31 01:37:28 | tempest.lib.exceptions.NotFound: Object not found
2020-10-31 01:37:28 | Details: {u'message': u'Cannot remove host centos-7-ovh-bhs1-0021293763 in aggregate 1', u'code': 404}

 tempest.api.compute.admin.test_aggregates_negative.AggregatesAdminNegativeTestJSON.test_aggregate_remove_host_as_user[id-7a53af20-137a-4e44-a4ae-e19260e626d9,negative]
2020-10-31 01:37:28 | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
2020-10-31 01:37:28 |
2020-10-31 01:37:28 | Captured traceback:
2020-10-31 01:37:28 | ~~~~~~~~~~~~~~~~~~~
2020-10-31 01:37:28 | Traceback (most recent call last):
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/services/compute/aggregates_client.py", line 122, in remove_host
2020-10-31 01:37:28 | post_body)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 279, in post
2020-10-31 01:37:28 | return self.request('POST', url, extra_headers, headers, body, chunked)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/services/compute/base_compute_client.py", line 48, in request
2020-10-31 01:37:28 | method, url, extra_headers, headers, body, chunked)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 670, in request
2020-10-31 01:37:28 | self._error_checker(resp, resp_body)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 776, in _error_checker
2020-10-31 01:37:28 | raise exceptions.NotFound(resp_body, resp=resp)
2020-10-31 01:37:28 | tempest.lib.exceptions.NotFound: Object not found
2020-10-31 01:37:28 | Details: {u'message': u'Cannot remove host centos-7-ovh-bhs1-0021293763 in aggregate 7', u'code': 404}

2020-10-31 01:37:28 | Captured traceback-1:
2020-10-31 01:37:28 | ~~~~~~~~~~~~~~~~~~~~~
2020-10-31 01:37:28 | Traceback (most recent call last):
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/services/compute/aggregates_client.py", line 81, in delete_aggregate
2020-10-31 01:37:28 | resp, body = self.delete("os-aggregates/%s" % aggregate_id)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 310, in delete
2020-10-31 01:37:28 | return self.request('DELETE', url, extra_headers, headers, body)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/services/compute/base_compute_client.py", line 48, in request
2020-10-31 01:37:28 | method, url, extra_headers, headers, body, chunked)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 670, in request
2020-10-31 01:37:28 | self._error_checker(resp, resp_body)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 781, in _error_checker
2020-10-31 01:37:28 | raise exceptions.BadRequest(resp_body, resp=resp)
2020-10-31 01:37:28 | tempest.lib.exceptions.BadRequest: Bad request
2020-10-31 01:37:28 | Details: {u'message': u'Cannot remove host from aggregate 7. Reason: Host aggregate is not empty.', u'code': 400}
2020-10-31 01:37:28 |
2020-10-31 01:37:28 |
2020-10-31 01:37:28 | tempest.api.compute.security_groups.test_security_groups.SecurityGroupsTestJSON.test_list_security_groups_by_server[id-79517d60-535a-438f-af3d-e6feab1cbea7]
2020-10-31 01:37:28 | ------------------------------------------------------------------------------------------------------------------------------------------------------------

2020-10-31 01:37:28 | tempest.api.compute.security_groups.test_security_groups.SecurityGroupsTestJSON.test_server_security_groups[id-fe4abc0d-83f5-4c50-ad11-57a1127297a2]
2020-10-31 01:37:28 | ----------------------------------------------------------------------------------------------------------------------------------------------------
2020-10-31 01:37:28 |
2020-10-31 01:37:28 | Captured traceback:
2020-10-31 01:37:28 | ~~~~~~~~~~~~~~~~~~~
2020-10-31 01:37:28 | Traceback (most recent call last):
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/api/compute/security_groups/test_security_groups.py", line 92, in test_server_security_groups
2020-10-31 01:37:28 | server = self.create_test_server(wait_until='ACTIVE')
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/api/compute/base.py", line 259, in create_test_server
2020-10-31 01:37:28 | **kwargs)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/common/compute.py", line 258, in create_test_server
2020-10-31 01:37:28 | server['id'])
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-10-31 01:37:28 | self.force_reraise()
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-10-31 01:37:28 | six.reraise(self.type_, self.value, self.tb)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/common/compute.py", line 229, in create_test_server
2020-10-31 01:37:28 | clients.servers_client, server['id'], wait_until)
2020-10-31 01:37:28 | File "/usr/lib/python2.7/site-packages/tempest/common/waiters.py", line 76, in wait_for_server_status
2020-10-31 01:37:28 | server_id=server_id)
2020-10-31 01:37:28 | tempest.exceptions.BuildErrorException: Server 46221ef6-1049-4ffb-bbc2-11f53a099a9d failed to build and is in ERROR status
2020-10-31 01:37:28 | Details: {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2020-10-31T01:32:42Z'}
2020-10-31 01:37:28 |
2020-10-31 01:37:28 |
2020-10-31 01:37:28 | Captured pythonlogging:

Tags: alert
wes hayutin (weshayutin)
summary: tempest.api.compute.admin.test_aggregates_negative. failing in tripleo
- queens undercloud
+ rocky undercloud
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.