OpenStack问题记录和syslog问题记录

来源:互联网 发布:网络直播模式 编辑:程序博客网 时间:2024/04/30 07:44
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掉就好了。
当初没有深入探究。。留待以后遇到类似问题了在归档吧