登录DashBoard显示服务器报错
查看报错日志: [root@controller ~]# cat /var/log/httpd/error_log 发现: "Unable to create a new session key. " [Sat Jun 03 17:18:37.172359 2023] [:error] [pid 22541] RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.
[root@controller ~]# vi /etc/openstack-dashboard/local_settings 修改openstack-dashboard本地配置:
把/etc/openstack-dashboard/local_settings 中
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
改为 SESSION_ENGINE = 'django.contrib.sessions.backends.file'
重启:
成功登录!