问题点:

安装完pike后发现只能使用 ip:80 登录到http的主页面 不能使用 http://controller_ip:80/dashboard 登录openstack登录页面。如下图

重启httpd 服务

systemctl restart httpd

查看日志 /var/log/httpd/error_log

 [core:error] [pid ] [client 192.168.70.1:] End of script output before headers: django.wsgi
[autoindex:error] [pid ] [client 192.168.70.1:]
AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found,
and server-generated directory index forbidden by Options directive
[core:error] [pid ] [client 192.168.70.1:] Script timed out before returning headers: django.wsgi

查了一下   这个horizon的一个bug:

https://bugs.launchpad.net/horizon/+bug/1737092

具体解决方法:

fix bug:
Resolvent: ../httpd/conf.d/openstack-dashboard.conf add a line:
-------------------------------------
WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi
WSGIApplicationGroup %{GLOBAL} <======== add a line WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /dashboard/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 Because there is no time to look at the code, give the solution for the time being

vim /etc/httpd/conf.d/openstack-dashboard.conf

重启httpd 服务

systemctl restart httpd

最新文章

  1. WinForm设置控件焦点focus
  2. 1Z0-053 争议题目解析707
  3. IOS - Create Push Segue Animation Without UINavigationController
  4. git 使用笔记
  5. CollectionView 简用
  6. 2014 Super Training #8 B Consecutive Blocks --排序+贪心
  7. OpenJudge 2809 计算2的N次方
  8. wuzhicms访问统计实现方法
  9. 各种div+css居中方式调整(转载)
  10. (模拟 打好基础)nyoj1363-计划日
  11. awk 同时指定多个分隔符
  12. 双列集合Map
  13. linux的centos如何查看java的安装路径
  14. python中的函数嵌套
  15. DevOps - CI - SVN
  16. 英语笔记-some words about description of girl
  17. [leetcode]278. First Bad Version首个坏版本
  18. ES6躬行记(22)——Promise
  19. JavaScript进阶--慕课网学习笔记
  20. javascript制作公式编辑器,函数编辑器和图形绘制

热门文章

  1. pygame 笔记-10 摩擦力与屏幕环绕
  2. mvn -N和-U的用法
  3. 转: 关于linux用户时间与系统时间的说明
  4. (2):Mysql 查看、创建、更改 数据库和表
  5. CentOS7本地安装MySQL5.7
  6. 使用pyenv安装多个Python版本
  7. 十进制转为x进制的递归代码
  8. webstorm11.0下载地址和webstorm11.0破解程序patcher.exe下载使用方法说明 前端IDE工具的利器
  9. 单片机成长之路(51基础篇) - 006 在Linux下搭建51单片机的开发烧写环境
  10. MySQL技术内幕读书笔记(八)——事务