分享

dashboard连不上去

nuaaxuhao 发表于 2016-10-14 17:08:08 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 11 44173
superyongzhe 发表于 2017-2-23 23:33:05
我解决了,按照这个方法就可以了:

1) open the dashboard configuration file:

#gedit /etc/apache2/conf-available/openstack-dashboard.conf


2) Add the following line to the configturation:

WSGIApplicationGroup %{GLOBAL}


3) Reload the Apache

#service apache2 reload


BOOM! enjoy the horizon.

参考:
https://ask.openstack.org/en/que ... wton/?answer=100867
回复

使用道具 举报

superyongzhe 发表于 2017-2-24 18:31:15
如果还是不行,可以用这种方法:

$ vi /etc/openstack-dashboard/local_settings.py
#SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

$ service apache2 reload


# https://ask.openstack.org/en/que ... -a-new-session-key/

或者

$ vi /etc/openstack-dashboard/local_settings.py
SESSION_ENGINE = 'django.contrib.sessions.backends.file'

$ systemctl restart apache2.service memcached.service


# http://www.2cto.com/net/201702/600066.html

I was getting this error running a local, development version of a Django project, because it was periodically having trouble connecting to a non-local cache. I realized that I could change my session backend to a file-based session to address the issue .

In the settings file for this local, development version of Django, I simply set the following value:

SESSION_ENGINE = 'django.contrib.sessions.backends.file'
This is not the solution I would use in a production environment, and not the solution I would suggest to the original poster, but it took me a few minutes to figure out what the issue was and this is one of the only results that appeared when I Googled, so I figured I'd post here possibly to help out others with a similar issue.


# https://ask.openstack.org/en/que ... have-made-requires/

# http://stackoverflow.com/questio ... e-a-new-session-key

# https://bugs.launchpad.net/openstack-manuals/+bug/1585473

回复

使用道具 举报

12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条