openstack dashboard 登录闪退

原创 2018年04月16日 17:51:49


创建完成dashboard 之后 打开web 发现输入用户名和密码之后,出现闪退,查看log  已经successful  to access



但发现有个报错

[:error] [pid 11366] INFO openstack_auth.plugin.base Attempted scope to domain default failed, will attemptto scope to another domain.
[:error] [pid 11366] INFO openstack_auth.forms Login successful for user "admin", remote address 192.168.96.12.

[mpm_prefork:notice] [pid 11361] AH00170: caught SIGWINCH, shutting down gracefully
[suexec:notice] [pid 21201] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[auth_digest:notice] [pid 21201] AH01757: generating secret for digest authentication ...
[lbmethod_heartbeat:notice] [pid 21201] AH02282: No slotmem from mod_heartmonitor
[mpm_prefork:notice] [pid 21201] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[core:notice] [pid 21201] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND
##提示默认域访问 失败,应该是 keystone 的问题

####检查openstack-status  服务

#  openstack-dashboard  uncontactable   

openstack-dashboard  uncontactable   
[root@controller13 ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 inactive  (disabled on boot)
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             active
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    uncontactable
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-linuxbridge-agent:              active
== Support services ==
mariadb:                                active    (disabled on boot)
dbus:                                   active
rabbitmq-server:                        active    (disabled on boot)
memcached:                              active
解决方法

### 重启httpd memcached rabbitmq-server 和neutron服务,还是 无法修复

### 查看keystone
openstack service list   没发现有重复的 demain

### 重启控制节点 节点无法修复

### 最后清空keystone 数据库

重新安装keystone 、glance、nova、neutron、cinder、所有的服务且同步每个组件的数据库

重启各种服务
###因为neutron服务异常也影响dashboard 服务

systemctl restart rabbitmq-server.service
systemctl restart neutron-server.service                 
systemctl daemon-reload
systemctl stop httpd.service memcached
最后搞定


 心得:由于本环境是多控节点,rabbitmq-server 集群 没有优化,出现故障较多,建议如果发现有amqp 相关报错,先检查 rabbitmq 服务,有问题就重启一下

排错经历:openstack搭建dashboard进入输入帐号密码登录后报错

650) this.width=650;" src="http://s5.51cto.com/wyfs02/M02/88/E8/wKioL1gAb2bCRAaBAABIHvWLrBc283.png-w...
  • hjxzt1
  • hjxzt1
  • 2017-06-26 16:38:28
  • 1252

openstack dashboard登录出错

这几天在重新配置openstack环境,正在对实例进行操作的时候,服务器报错了,如下图,一直重新登录也没用。忽然有点不知所措,于是去查看apache服务器的日志 /var/log/httpd/erro...
  • LS7011846
  • LS7011846
  • 2016-09-22 20:01:28
  • 4667

openstack dashboard invalid credentials

身份验证出现问题,检查keystone安装 检查user create是否成功 检查Default大小写...
  • Sherry_zh2017
  • Sherry_zh2017
  • 2017-07-11 11:42:00
  • 665

kilo版openstack的dashboard在session超时后重新登录报错解决办法

作者:【吴业亮】云计算开发工程师 博客:http://blog.csdn.net 1、现象描述: kilo版本的openstack在正常登陆后长时间不做任何操作,dashboard会超时...
  • wylfengyujiancheng
  • wylfengyujiancheng
  • 2016-01-15 14:09:11
  • 3072

由session cookie引起的openstack dashboard登录问题一例

当django session key长度超过浏览器对cookie长度的限制,导致opensatck dashboard的keystone用户登录失败。...
  • wanghuiict
  • wanghuiict
  • 2016-10-15 10:31:28
  • 1490

openstack dashboard实例连接失败的解决办法

https://ask.openstack.org/en/question/66752/debugging-novnc-problem-error-1006111/ 修改compute节点下的/et...
  • pengdake300
  • pengdake300
  • 2016-01-22 09:57:12
  • 285

OpenStack的dashboard界面展示

一 三个节点开启虚拟机的计算节点(computer)、控制节点(controller)和存储节点(cinder)二 登录界面三 登录成功界面四 Project项目面板五 Admin的Identity ...
  • chengqiuming
  • chengqiuming
  • 2018-02-10 10:39:08
  • 99

问题:登陆Openstack dashboard ,页面出错,Something went wrong!

登陆Openstack dashboard ,页面出错,信息如下: Something went wrong! An unexpected error has occurred. Try refr...
  • gokeibi
  • gokeibi
  • 2014-12-11 15:38:36
  • 4474

OpenStack运行变慢处理

问题OpenStack运行一段时间后变慢了。登陆horizon变的很慢,与现有硬件环境差距太大,效果甚不理想。首先,,查看了下apache2日志没什么报错,感觉是认证的问题。执行了keystone u...
  • violet_echo_0908
  • violet_echo_0908
  • 2016-11-25 23:38:14
  • 2312
收藏助手
不良信息举报
您举报文章:openstack dashboard 登录闪退
举报原因:
原因补充:

(最多只允许输入30个字)