Traceback (most recent call last):
File "/root/tempest/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "/root/tempest/tempest/scenario/test_server_advanced_ops.py", line 61, in test_resize_server_confirm
self.servers_client.resize_server(instance_id, resize_flavor)
File "/root/tempest/.venv/local/lib/python2.7/site-packages/tempest_lib/services/compute/servers_client.py", line 231, in resize_server
return self.action(server_id, 'resize', **kwargs)
File "/root/tempest/.venv/local/lib/python2.7/site-packages/tempest_lib/services/compute/servers_client.py", line 149, in action
post_body)
File "/root/tempest/.venv/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 259, in post
return self.request('POST', url, extra_headers, headers, body)
File "/root/tempest/.venv/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 642, in request
resp, resp_body)
File "/root/tempest/.venv/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 700, in _error_checker
raise exceptions.BadRequest(resp_body, resp=resp)
tempest_lib.exceptions.BadRequest: Bad request
Details: {u'message': u'Server disk was unable to be resized because: Resize to zero disk flavor is not allowed.', u'code': 400}
Traceback from tempest failure: 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28', 'x-compute- request- id': 'req-31c912a3- 315d-4142- 9842-f817041afc 04', 'vary': 'X-OpenStack- Nova-API- Version' , 'connection': 'close', 'x-openstack- nova-api- version' : '2.1', 'date': 'Fri, 19 Feb 2016 02:25:59 GMT', 'content-type': 'application/json'} 19T02:25: 56Z", "hostId": "9c0e68e78ed241 4b91351464d02ca 6867cf9fb7d01f3 d117601e02ab" , "addresses": {}, "links": [{"href": "http:// 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28", "rel": "self"}, {"href": "http:// 10.144. 137.140: 8774/5116bfd6f1 ff4d35a26d266dd 59e6ec9/ servers/ e95f572d- 3484-47eb- adea-082a1979f9 28", "rel": "bookmark"}], "key_name": null, "image": {"id": "2482c8aa- ba09-44d1- b848-63d09a233f 4d", "links": [{"href": "http:// 10.144. 137.140: 8774/5116bfd6f1 ff4d35a26d266dd 59e6ec9/ images/ 2482c8aa- ba09-44d1- b848-63d09a233f 4d", "rel": "bookmark"}]}, "OS-EXT- STS:task_ state": "deleting", "OS-EXT- STS:vm_ state": "active", "OS-SRV- USG:launched_ at": "2016-02- 19T02:25: 54.000000" , "flavor": {"id": "1", "links": [{"href": "http:// 10.144. 137.140: 8774/5116bfd6f1 ff4d35a26d266dd 59e6ec9/ flavors/ 1", "rel": "bookmark"}]}, "id": "e95f572d- 3484-47eb- adea-082a1979f9 28", "OS-SRV- USG:terminated_ at": null, "OS-EXT- AZ:availability _zone": "nova", "user_id": "6b0b64bba0ae47 7d9c8d2cf33bb74 802", "name": "tempest. common. compute- instance- 1106858152" , "created": "2016-02- 19T02:25: 31Z", "tenant_id": "5116bfd6f1ff4d 35a26d266dd59e6 ec9", "OS-DCF: diskConfig" : "MANUAL", "os-extended- volumes: volumes_ attached" : [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT- STS:power_ state": 1, "config_drive": "", "metadata": {}}} lib.common. rest_client] Request (TestServerAdva ncedOps: _run_cleanups) : 200 GET http:// 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28 0.305s lib.common. rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28', 'x-compute- request- id': 'req-5572a149- 5968-409d- a5a0-053836f9d2 85', 'vary': 'X-OpenStack- Nova-API- Version' , 'connection': 'close', 'x-openstack- nova-api- version' : '2.1', 'date': 'Fri, 19 Feb 2016 02:26:00 GMT', 'content-type': 'application/json'} 19T02:26: 00Z", "hostId": "9c0e68e78ed241 4b91351464d02ca 6867cf9fb7d01f3 d117601e02ab" , "addresses": {}, "links": [{"href": "http:// 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28", "rel": "self"}, {"href": "http:// 10.144. 137.140: 8774/5116bfd6f1 ff4d35a26d266dd 59e6ec9/ servers/ e95f572d- 3484-47eb- adea-082a1979f9 28", "rel": "bookmark"}], "key_name": null, "image": {"id": "2482c8aa- ba09-44d1- b848-63d09a233f 4d", "links": [{"href": "http:// 10.144. 137.140: 8774/5116bfd6f1 ff4d35a26d266dd 59e6ec9/ images/ 2482c8aa- ba09-44d1- b848-63d09a233f 4d", "rel": "bookmark"}]}, "OS-EXT- STS:task_ state": null, "OS-EXT- STS:vm_ state": "deleted", "OS-SRV- USG:launched_ at": "2016-02- 19T02:25: 54.000000" , "flavor": {"id": "1", "links": [{"href": "http:// 10.144. 137.140: 8774/5116bfd6f1 ff4d35a26d266dd 59e6ec9/ flavors/ 1", "rel": "bookmark"}]}, "id": "e95f572d- 3484-47eb- adea-082a1979f9 28", "OS-SRV- USG:terminated_ at": "2016-02- 19T02:26: 00.000000" , "OS-EXT- AZ:availability _zone": "nova", "user_id": "6b0b64bba0ae47 7d9c8d2cf33bb74 802", "name": "tempest. common. compute- instance- 1106858152" , "created": "2016-02- 19T02:25: 31Z", "tenant_id": "5116bfd6f1ff4d 35a26d266dd59e6 ec9", "OS-DCF: diskConfig" : "MANUAL", "os-extended- volumes: volumes_ attached" : [], "accessIPv4": "", "accessIPv6": "", "OS-EXT- STS:power_ state": 0, "config_drive": "", "metadata": {}}} lib.common. rest_client] Request (TestServerAdva ncedOps: _run_cleanups) : 404 GET http:// 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28 0.223s lib.common. rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} request- id': 'req-fbc4b06b- 7680-4451- 9a0b-d3e43701ae 45', 'vary': 'X-OpenStack- Nova-API- Version' , 'connection': 'close', 'x-openstack- nova-api- version' : '2.1', 'date': 'Fri, 19 Feb 2016 02:26:01 GMT', 'content-type': 'application/json; charset=UTF-8'} 3484-47eb- adea-082a1979f9 28 could not be found.", "code": 404}} lib.common. rest_client] Request (TestServerAdva ncedOps: _run_cleanups) : 404 GET http:// 10.144. 137.140: 8774/v2. 1/5116bfd6f1ff4 d35a26d266dd59e 6ec9/servers/ e95f572d- 3484-47eb- adea-082a1979f9 28 0.229s lib.common. rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} request- id': 'req-71e13061- 9f89-4a45- abd0-42fb5fd0f0 73', 'vary': 'X-OpenStack- Nova-API- Version' , 'connection': 'close', 'x-openstack- nova-api- version' : '2.1', 'date': 'Fri, 19 Feb 2016 02:26:02 GMT', 'content-type': 'application/json; charset=UTF-8'} 3484-47eb- adea-082a1979f9 28 could not be found.", "code": 404}}
Log:
pythonlogging:'': {{{
Body: None
Response - Headers: {'status': '200', 'content-length': '1419', 'content-location': 'http://
Body: {"server": {"status": "ACTIVE", "updated": "2016-02-
2016-02-18 18:26:03,501 14392 INFO [tempest_
2016-02-18 18:26:03,503 14392 DEBUG [tempest_
Body: None
Response - Headers: {'status': '200', 'content-length': '1424', 'content-location': 'http://
Body: {"server": {"status": "DELETED", "updated": "2016-02-
2016-02-18 18:26:04,745 14392 INFO [tempest_
2016-02-18 18:26:04,746 14392 DEBUG [tempest_
Body: None
Response - Headers: {'status': '404', 'content-length': '111', 'x-compute-
Body: {"itemNotFound": {"message": "Instance e95f572d-
2016-02-18 18:26:04,975 14392 INFO [tempest_
2016-02-18 18:26:04,976 14392 DEBUG [tempest_
Body: None
Response - Headers: {'status': '404', 'content-length': '111', 'x-compute-
Body: {"itemNotFound": {"message": "Instance e95f572d-
}}}
Traceback (most recent call last): tempest/ tempest/ test.py" , line 113, in wrapper tempest/ tempest/ scenario/ test_server_ advanced_ ops.py" , line 61, in test_resize_ server_ confirm servers_ client. resize_ server( instance_ id, resize_flavor) tempest/ .venv/local/ lib/python2. 7/site- packages/ tempest_ lib/services/ compute/ servers_ client. py", line 231, in resize_server server_ id, 'resize', **kwargs) tempest/ .venv/local/ lib/python2. 7/site- packages/ tempest_ lib/services/ compute/ servers_ client. py", line 149, in action tempest/ .venv/local/ lib/python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 259, in post 'POST', url, extra_headers, headers, body) tempest/ .venv/local/ lib/python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 642, in request tempest/ .venv/local/ lib/python2. 7/site- packages/ tempest_ lib/common/ rest_client. py", line 700, in _error_checker BadRequest( resp_body, resp=resp) lib.exceptions. BadRequest: Bad request
File "/root/
return f(self, *func_args, **func_kwargs)
File "/root/
self.
File "/root/
return self.action(
File "/root/
post_body)
File "/root/
return self.request(
File "/root/
resp, resp_body)
File "/root/
raise exceptions.
tempest_
Details: {u'message': u'Server disk was unable to be resized because: Resize to zero disk flavor is not allowed.', u'code': 400}