标签:dashboard
controller:
yum install memcached python-memcached mod_wsgi openstack-dashboard
vim /etc/openstack-dashboard/local_setting
CACHES = {
‘default‘: {
‘BACKEND‘ : ‘django.core.cache.backends.memcached.MemcachedCache‘,
‘LOCATION‘ : ‘127.0.0.1:11211‘
}
}
TIME_ZONE = "UTC"
ALLOWED_HOSTS = [‘localhost‘, ‘my-desktop‘]
OPENSTACK_HOST = "controller"
(设置selunux策略允许访问 httpserver
tsebool -P httpd_can_network_connect on)
重启服务,并且加入到开机启动
service httpd start
service memcached start
chkconfig httpd on
chkconfig memcached on
访问:http://controller/dashboard
访问的页面打不开,
解决方案:把原先的CACHES部分删除掉,而不是注释掉。
本文出自 “gaogaozi” 博客,请务必保留此出处http://hangtiangazi.blog.51cto.com/8584103/1675952
标签:dashboard
原文地址:http://hangtiangazi.blog.51cto.com/8584103/1675952