openstack train版本部署遇到的几个问题总结
作者 伍增田 Tommy WU
问题一 http://10.80.x.x/dashboard打不开
vi /etc/openstack-dashboard/local_settings 增加:
WEBROOT = ‘/dashboard/’
问题二 vnc打不开
参见: https://blog.csdn.net/qq_41786090/article/details/131366053
[OpenStack noVNC]: Code 400, message Client must support ‘binary’ or ‘base64’
‘binary’,‘base64’
因为协议有问题;需进入 /usr/share/novnc/core/目录,编辑websock.js文件,加入‘binary’ or ‘base64’协议。
问题三 placement服务报错
参见 https://blog.csdn.net/hutiewei2008/article/details/87971379/
vi placement-api.log
You don’t have permission to access /resource_providers
on this server
openstack计算节点没权限
配置计算机的/etc/httpd/conf.d/00-nova-placement-api.conf配置文件
添加下边配置:
<Directory /usr/bin>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
</Directory>