openstack -dashboard浏览器404

  • Post author:
  • Post category:其他




openstack -dashboard浏览器404



安装部署好openstack,在centos8中都能启动,但是在浏览器打不开

尝试了各种方法,

比如在/ect/httpd/conf.d/openstack-dashboard.conf 文件添加

WSGIApplicationGroup %{GLOBAL}


发现部署时已经改好,仍打不开

最后依旧修改此配置文件,把这两行前面路径的dashboard删除

WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /static /usr/share/openstack-dashboard/static

最终的openstack-dashboard.conf文件内容:

WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi

WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /static /usr/share/openstack-dashboard/static

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  Options All
  AllowOverride All
  Require all granted
</Directory>

<Directory /usr/share/openstack-dashboard/static>
  Options All
  AllowOverride All
  Require all granted
</Directory>

重启

systemctl restart httpd


浏览器输入ip/dashboard,解决问题。



版权声明:本文为elejhnq原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。