zun cli - Requested microversion is unsupported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In current zun facing following errror:
Requested microversion is unsupported
zun --debug list
DEBUG (session:372) REQ: curl -g -i -X POST http://
DEBUG (connectionpool
DEBUG (connectionpool
DEBUG (session:419) RESP: [406] Date: Fri, 08 Sep 2017 05:52:04 GMT Server: Apache/2.4.18 (Ubuntu) OpenStack-
RESP BODY: {"errors": [{"status": 406, "code": "", "links": [], "title": "Requested microversion is unsupported", "detail": "Version 1.7 was requested but the minor version is not supported by this service. The supported version range is: [container 1.1, container 1.6].", "request_id": ""}]}
DEBUG (session:722) POST call to container for http://
DEBUG (shell:698) Requested microversion is unsupported (HTTP 406) (Request-ID: req-b11500c0-
Traceback (most recent call last):
File "/opt/stack/
map(
File "/opt/stack/
args.
File "/opt/stack/
_show_
File "/opt/stack/
return self._create(
File "/opt/stack/
resp, body = self.api.
File "/opt/stack/
resp = self._http_
File "/opt/stack/
error_
NotAcceptable: Requested microversion is unsupported (HTTP 406) (Request-ID: req-b11500c0-
ERROR: Requested microversion is unsupported (HTTP 406) (Request-ID: req-b11500c0-
summary: |
- Requested microversion is unsupported + zun cli - Requested microversion is unsupported |
Changed in zun: | |
assignee: | nobody → cooldharma06 (cooldharma06) |
Changed in zun: | |
assignee: | cooldharma06 (cooldharma06) → nobody |
Changed in zun: | |
status: | Confirmed → Invalid |
The error is caused by using a newer version of python-zunclient with older version of Zun server. I guess the error will disappear by pulling down the latest version of Zun server. In particular, make sure your Zun server have this commit: https:/ /github. com/openstack/ zun/commit/ b6a8b36b1d6ca2b 7642c5d5a5c5435 017f40e8b7 .