Comment 10 for bug 1326778

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: test_list_migrations_in_flavor_resize_situation fails with 400 after VERIFY_RESIZE state

2014-06-26 23:35:44.120 | tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_resize_server_revert[gate]
2014-06-26 23:35:44.121 | ----------------------------------------------------------------------------------------------------
2014-06-26 23:35:44.121 |
2014-06-26 23:35:44.121 | Captured traceback-1:
2014-06-26 23:35:44.122 | ~~~~~~~~~~~~~~~~~~~~~
2014-06-26 23:35:44.122 | Traceback (most recent call last):
2014-06-26 23:35:44.122 | File "tempest/api/compute/servers/test_server_actions.py", line 51, in tearDown
2014-06-26 23:35:44.123 | self.server_check_teardown()
2014-06-26 23:35:44.123 | File "tempest/api/compute/base.py", line 161, in server_check_teardown
2014-06-26 23:35:44.123 | 'ACTIVE')
2014-06-26 23:35:44.123 | File "tempest/services/compute/xml/servers_client.py", line 390, in wait_for_server_status
2014-06-26 23:35:44.124 | raise_on_error=raise_on_error)
2014-06-26 23:35:44.124 | File "tempest/common/waiters.py", line 107, in wait_for_server_status
2014-06-26 23:35:44.124 | raise exceptions.TimeoutException(message)
2014-06-26 23:35:44.125 | TimeoutException: Request timed out
2014-06-26 23:35:44.125 | Details: (ServerActionsTestXML:tearDown) Server 12af14bb-4efd-4946-a007-66a371ee5601 failed to reach ACTIVE status and task state "None" within the required time (196 s). Current status: VERIFY_RESIZE. Current task state: None.
2014-06-26 23:35:44.125 |
2014-06-26 23:35:44.126 |
2014-06-26 23:35:44.126 | Captured traceback:
2014-06-26 23:35:44.126 | ~~~~~~~~~~~~~~~~~~~
2014-06-26 23:35:44.126 | Traceback (most recent call last):
2014-06-26 23:35:44.127 | File "tempest/api/compute/servers/test_server_actions.py", line 253, in test_resize_server_revert
2014-06-26 23:35:44.127 | self.client.revert_resize(self.server_id)
2014-06-26 23:35:44.127 | File "tempest/services/compute/xml/servers_client.py", line 516, in revert_resize
2014-06-26 23:35:44.128 | return self.action(server_id, 'revertResize', None, **kwargs)
2014-06-26 23:35:44.128 | File "tempest/services/compute/xml/servers_client.py", line 441, in action
2014-06-26 23:35:44.128 | resp, body = self.post("servers/%s/action" % server_id, str(doc))
2014-06-26 23:35:44.129 | File "tempest/common/rest_client.py", line 218, in post
2014-06-26 23:35:44.129 | return self.request('POST', url, extra_headers, headers, body)
2014-06-26 23:35:44.129 | File "tempest/common/rest_client.py", line 430, in request
2014-06-26 23:35:44.130 | resp, resp_body)
2014-06-26 23:35:44.130 | File "tempest/common/rest_client.py", line 479, in _error_checker
2014-06-26 23:35:44.130 | raise exceptions.BadRequest(resp_body)
2014-06-26 23:35:44.130 | BadRequest: Bad request
2014-06-26 23:35:44.131 | Details: {'message': 'Instance has not been resized.', 'code': '400'}