问题描述
我按照此处的安装指南安装了 OpenStack Dashboard: https://docs.openstack.org/horizon/wallaby/install/install-rdo.html
不是很复杂,但 Dashboad 不起作用。第一次访问后,只有“禁止”
url http://localhost/dashboard/ 的状态。然后我调查了 /etc/httpd/conf.d/openstack-dashboard.conf 文件(它的内容如下)并注意到系统上缺少整个 wsgi
目录。我试图将 WsgiSriptAlias
更正到 /usr/share/openstack-dashboard 目录结构中的另一个位置(例如,我尝试使用 /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py)但它然后状态是 Not Found 并且 URL 被重定向到 http://localhost/auth/login/?next=/dashboard/。
我对 web 开发不是很熟悉,所以我不完全理解它的意思,但之后我试图在互联网上找到一些解决方案,我在 Ask OpenStack 上找到了这个: https://ask.openstack.org/en/question/13952/horizon-apache-launch-error/
我尝试了该解决方案,但这都没有帮助我,根据该页面配置服务器后,页面上没有任何显示,只有“未找到”。请有人帮我找到解决这个问题的方法吗? 谢谢。
这里是原始 /etc/httpd/conf.d/openstack-dashboard.conf 文件的内容:
WsgiDaemonProcess dashboard
WsgiProcessGroup dashboard
WsgiSocketPrefix run/wsgi
WsgiApplicationGroup %{GLOBAL}
WsgiScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /dashboard/static /usr/share/openstack-dashboard/static
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
Options All
AllowOverride All
Require all granted
allow from all
</Directory>
<Directory /usr/share/openstack-dashboard/static>
Options All
AllowOverride All
Require all granted
allow from all
</Directory>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)