openstack报错AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'的解决办法
今天使用devstack安装的opensack,但是在重启虚拟机后报错
root@ubuntu2004-moban:~# su - stack
stack@ubuntu2004-moban:~$ . admin-openrc
stack@ubuntu2004-moban:~$ openstack server list
Failed to discover available identity versions when contacting http://192.168.105.12/identity. Attempting to parse version from URL.
Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Internal Server Error (HTTP 500)
登录dashboard界面也无法登录,看报错信息是api认证不通过导致。但是密码明明是正确的。通过查看日志发现horizon服务有报错。报错如下:
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
从日志中可以看出和OpenSSL这个module有关系,于是更新pyOpenSSL后问题解决:
python3 -m pip install --upgrade pyOpenSSL
安装完如果还是不行的话就重启下服务或者服务器就可以完美解决了啦。
有其他问题欢迎加入QQ群一起讨论哦。
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。