Comment 2 for bug 1998509

Revision history for this message
Felipe Reyes (freyes) wrote :

This seems to be the core of this issue:

"Version 1.1 was requested but the requested API resize is not supported for this version."

```
DEBUG:magnumclient.common.httpclient:
HTTP/1.1 406 Not Acceptable
Date: Mon, 30 Jan 2023 16:00:09 GMT
Server: Werkzeug/0.16.1 Python/3.8.10
Content-Type: application/json
Content-Length: 202
x-openstack-request-id: req-843c4d16-288f-4033-bcc5-c401c7ff6e3e

{"errors": [{"request_id": "", "code": "", "status": 406, "title": "Not Acceptable", "detail": "Version 1.1 was requested but the requested API resize is not supported for this version.", "links": []}]}

WARNING:magnumclient.common.httpclient:Request returned failure status.
error invoking apiclient
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/openstack_dashboard/api/rest/utils.py", line 128, in _wrapped
    data = function(self, request, *args, **kw)
  File "/usr/lib/python3/dist-packages/magnum_ui/api/rest/magnum.py", line 251, in post
    return magnum.cluster_resize(
  File "/usr/lib/python3/dist-packages/magnum_ui/api/magnum.py", line 206, in cluster_resize
    return magnumclient(request).clusters.resize(
  File "/usr/lib/python3/dist-packages/magnumclient/v1/clusters.py", line 50, in resize
    resp, resp_body = self.api.json_request("POST", url, body=post_body)
  File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 236, in json_request
    resp, body_iter = self._http_request(url, method, **kwargs)
  File "/usr/lib/python3/dist-packages/magnumclient/common/httpclient.py", line 217, in _http_request
    raise exceptions.from_response(
magnumclient.common.apiclient.exceptions.NotAcceptable: Not Acceptable (HTTP 406)
Internal Server Error: /horizon/api/container_infra/clusters/2995ed65-c78d-4e19-93f9-0e3a4c5258c1/resize
```