Cluster Resize is failing in UI

Bug #2054444 reported by Arunkumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum UI
Invalid
Undecided
Unassigned
magnum-ui (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I tried to resize cluster from UI and getting error "Error: Unable to resize given cluster id:"6d553e2f-74bb-4dbe-9fd1-1a123b76530b. From CLI, resize is working as expected.

Observed below error in openstack-dashboard unit.

[Tue Feb 20 14:46:43.923618 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] DEBUG:magnumclient.common.httpclient:curl -i -X POST -H '
Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-magnumclient' -H 'OpenStack-API-Version: container-infra 1.1' -H 'X-Auth-Token: gAA
AAABl1Ls801PBHuO_0LBcGC7HUyQEd1p3lfoD-vkLJKVzgnUgRICtD4QwjTsAmaTYE0QQhDM2X1nGS7PRixwEnYcVk5AzlVEtqUCnpgH0hL086ZOAPPPuAhEY2zYJPF8n9c-EiGVc60VYiV-4zgkxzZZvP3TxmWRKmLj_Qua
vPtbzypVxPXBj8auf2SOgjtZIweAEwpd7' -d '{"node_count": 2, "nodegroup": "default-worker"}' https://magnum.tcsecp.com:9511/v1/clusters/6d553e2f-74bb-4dbe-9fd1-1a123b76530b
/actions/resize
[Tue Feb 20 14:46:43.974122 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] DEBUG:magnumclient.common.httpclient:
[Tue Feb 20 14:46:43.974179 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] HTTP/1.1 406 Not Acceptable
[Tue Feb 20 14:46:43.974191 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] Date: Tue, 20 Feb 2024 14:46:43 GMT
[Tue Feb 20 14:46:43.974200 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] Server: Werkzeug/0.16.1 Python/3.8.10
[Tue Feb 20 14:46:43.974210 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] Content-Type: application/json
[Tue Feb 20 14:46:43.974242 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] Content-Length: 202
[Tue Feb 20 14:46:43.974252 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] x-openstack-request-id: req-74a37c5c-7152-4e42-89f4-2c668
3e9af9c
[Tue Feb 20 14:46:43.974261 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668]
[Tue Feb 20 14:46:43.974272 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] {"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": []}]}
[Tue Feb 20 14:46:43.974284 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668]
[Tue Feb 20 14:46:43.974484 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] WARNING:magnumclient.common.httpclient:Request returned f
ailure status.
[Tue Feb 20 14:46:43.975073 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] /usr/lib/python3/dist-packages/magnum_ui/api/rest/magnum.
py:258: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
[Tue Feb 20 14:46:43.975091 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] print(e)
[Tue Feb 20 14:46:43.975114 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:39668] 'HTTPResponse' object has no attribute 'json'
[Tue Feb 20 14:50:20.309560 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:43008] DEBUG:magnum_ui.api.magnum:magnumclient connection create
d using the token "gAAAAABl1Ls801PBHuO_0LBcGC7HUyQEd1p3lfoD-vkLJKVzgnUgRICtD4QwjTsAmaTYE0QQhDM2X1nGS7PRixwEnYcVk5AzlVEtqUCnpgH0hL086ZOAPPPuAhEY2zYJPF8n9c-EiGVc60VYiV-4z
gkxzZZvP3TxmWRKmLj_QuavPtbzypVxPXBj8auf2SOgjtZIweAEwpd7" and url"https://magnum.tcsecp.com:9511/v1"
[Tue Feb 20 14:50:20.309854 2024] [wsgi:error] [pid 4133402:tid 140027380696832] [remote 172.31.248.247:43008] DEBUG:magnumclient.common.httpclient:curl -i -X GET -H 'C
ontent-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-magnumclient' -H 'OpenStack-API-Version: container-infra 1.1' -H 'X-Auth-Token: gAAA
AABl1Ls801PBHuO_0LBcGC7HUyQEd1p3lfoD-vkLJKVzgnUgRICtD4QwjTsAmaTYE0QQhDM2X1nGS7PRixwEnYcVk5AzlVEtqUCnpgH0hL086ZOAPPPuAhEY2zYJPF8n9c-EiGVc60VYiV-4zgkxzZZvP3TxmWRKmLj_Quav
PtbzypVxPXBj8auf2SOgjtZIweAEwpd7' https://magnum.tcsecp.com:9511/v1/clusters/6d553e2f-74bb-4dbe-9fd1-1a123b76530b

Arunkumar (arunptra)
information type: Public → Private Security
information type: Private Security → Public
Revision history for this message
Felipe Reyes (freyes) wrote :

Marking magnum-ui (upstream) as invalid since this is an issue found in the ubuntu focal archive.

Changed in magnum-ui:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.