美文网首页
Openstack Dashboard无法访问

Openstack Dashboard无法访问

作者: 跑腿打杂临时工 | 来源:发表于2021-05-19 14:22 被阅读0次

    背景

    最近在测试openstack T版的vxlan模式,新搭建了一套openstack,在部署到dashboard时发现访问web异常(The requested URL /auth/login/ was not found on this server),页面报错如下:


    image.png

    访问错误日志如下:

    [Wed May 19 13:58:41.275674 2021] [authz_core:error] [pid 18088] [client 10.17.70.20:52306] AH01630: client denied by server configuration: /usr/bin/keystone-wsgi-public, referer: http://test-controller/dashboard/identity/
    [Wed May 19 13:58:41.579432 2021] [:error] [pid 18034] WARNING:root:Use of this 'djano.wsgi' file has been deprecated since the Rocky release in favor of 'wsgi.py' in the 'openstack_dashboard' module. This file is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is now the default. This file will be removed in the T release cycle.
    

    解决办法

    在openstack的官方文档中并没有提示说明,需要修改配置文件/etc/openstack-dashboard/local_settings

    #在配置文件当中添加一行
    WEBROOT = '/dashboard/'
    
    #重启服务
    systemctl restart httpd.service memcached.service
    

    重新进入登陆页面OK

    相关文章

      网友评论

          本文标题:Openstack Dashboard无法访问

          本文链接:https://www.haomeiwen.com/subject/zzjpjltx.html