openstack dashboard 登录闪退


创建完成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 服务,有问题就重启一下
阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页