首页 > 解决方案 > 错误:nutanix_openstack.vnc.wsgi_prism_websocket_proxy:使用 Prism 进行身份验证成功,但没有 JSESSIONID [OpenStack + Nutanix 集成]

问题描述

当我使用 OpenStack + Nutanix 集成并尝试通过 OpenStack 使用 vnc 时,我的 noVNC 出现了一些问题,如下所示。

**Command line** for enable vnc on OpenStack : /usr/bin/prism_vnc_proxy --bind_address=0.0.0.0 --bind_port=6080 --prism_hostname=[My-IP] --prism_username=[My-Username] --prism_password=[My-Password] --docroot=/usr/share/nutanix_openstack/vnc/static &
_________________________________________________________________________

/var/log/prism_vnc_proxy.out

INFO:nutanix_openstack.vnc.wsgi_prism_websocket_proxy:Authenticating with Prism at [My_Cluster_IP]
WARNING:py.warnings:/var/lib/kolla/venv/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)

WARNING:py.warnings:/var/lib/kolla/venv/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)

ERROR:nutanix_openstack.vnc.wsgi_prism_websocket_proxy:Authentication with Prism successful, but no JSESSIONID

铬调试

WebSocket connection to 'wss://[My_Compute_IP]:6080/proxy/214f9044-65db-40f9-accc-e5e6c730d386?token=2af56a36-bdec-4fba-8f29-866baa578362' failed:

在此处输入图像描述


卷曲调试

curl -k -v https://[My_Cluster_IP]:9440/PrismGateway/j_spring_security_check?j_username=[My_Username]&j_password=[My_Password]

在此处输入图像描述


我想念什么?

我的环境

OpenStack 版本:Queens.1 [3.14.3] - nutanix_openstack-queens-1.noarch.rpm

AOS 版本:5.15.4 LTS 参考文档:https ://portal.nutanix.com/page/documents/details?targetId=OpenStack-Integration-Solution-Guide-Driver-Mode-Queens:ope-openstack-configure-nova-服务-多集群-t.html

自动化工具:kolla-ansible

标签: integrationopenstack

解决方案


推荐阅读