Tempest tests test_auto_allocate_network.AutoAllocateNetworkTest fail with Unsupported API version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
Anna Babich |
Bug Description
The bug has been reproduced against env with MOS 9.1, snapshot #261:
[root@nailgun ~]# fuel node
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---+---
3 | ready | Untitled (59:4c) | 1 | 10.109.16.5 | 4a:be:b7:a2:ff:6a | cinder, compute | | 1 | 1
1 | ready | Untitled (7c:9a) | 1 | 10.109.16.4 | 64:ec:36:4c:7c:9a | controller | | 1 | 1
2 | ready | Untitled (1b:7c) | 1 | 10.109.16.3 | 64:1b:28:cd:1b:7c | cinder, compute | | 1 | 1
[root@nailgun ~]#
The maximum available API version:
root@node-1:~# nova version-list | awk '/Maximum version/{print $3}'
2.25
The settings in tempest.conf:
[compute]
min_compute_nodes = 2
min_microversion = 2.1
max_microversion = latest
...
When running the tempest.
FAIL: tempest.
Time: 0.033
-------
Traceback (most recent call last):
File "tempest/
min_count=3)
File "tempest/
**kwargs)
File "tempest/
resp, body = self.post(
File "tempest/
return self.request(
File "tempest/
method, url, extra_headers, headers, body, chunked)
File "tempest/
resp, resp_body)
File "tempest/
resp=resp)
tempest.
Details: 406
tempest.log:
2016-09-19 11:51:16.401 200 INFO tempest.
2016-09-19 11:51:16.401 200 DEBUG tempest.
Body: {"server": {"min_count": 3, "flavorRef": "0e28b496-
Response - Headers: {'status': '406', 'content-length': '123', 'content-location': 'http://
Body: {"computeFault": {"message": "Version 2.37 is not supported by the API. Minimum is 2.1 and maximum is 2.25.", "code": 406}} _log_request_full tempest/
Investigation of Tempest configurations and Tempest tests' results against upstream gate jobs (gate-tempest-
After replacing 'max_microversion = latest' with 'max_microversion = 2.25', the tests were skipped correctly. So, we need to carry actual maximum version of microversion API from Nova to tempest.conf
Changed in mos: | |
importance: | Undecided → Medium |
https:/ /review. gerrithub. io/#/c/ 294973/