OpenStack问题记录和syslog问题记录

本文记录了在使用OpenStack过程中遇到的‘An error occurred authenticating. Please try again later’的问题,以及如何通过syslog-ng进行日志收集和分析,以解决OpenStack的认证故障。

开发板推荐:天空星STM32F407VET6开发板

超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印

1,昨天OpenStack的服务器重启了,然后今天dashboard就一直登陆不上去,在登陆界面提示error:

“An error occurred authenticating. Please try again later”。

然后在这个网站找到了答案:http://fosshelp.blogspot.com/2013/01/how-to-fix-openstack-login-error-error.html
还有视频。。需要翻墙去看:
* Horizon use keystone to authenticate.
* devstack run all the service in a screen session.
* When you reboot, this screen session is stopped and all the services with it.
* Running "rejoin-stack.sh" relaunch the screen session and the associated
* services (notably keystone).
* Without this script, no keystone => no auth.
* So run the script ./rejoin-stack.sh and login in horizon after.‘
简单说就是重启后screen session没有启动并且和keystone进行关联,要运行一下rejoin-stack.sh,在~/devstack目录下。

2,上次做syslog-ng的实验,suse环境,更改几次配置重启服务后会收到重复的日志,而且后来同一日志会出现三四次。
用ps -aux 查看进程,发现有很多syslog-ng的restart进程,kill掉就好了。
当初没有深入探究。。留待以后遇到类似问题了在归档吧

开发板推荐:天空星STM32F407VET6开发板

超高性价比 STM32主控 | 超高主频 | 一板兼容百芯 | 比赛神器 | 沉金彩色丝印

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值