事件网址位置:https://docs.openstack.org/ocata/zh_CN/install-guide-rdo/keystone-install.html
事件操作记录:启动 Apache HTTP 服务并配置其随系统启动(systemctl start httpd.service)
事件错误提示
查看日志进行提示:journalctl -xe
(1).node1 httpd[13109]: AH00526: Syntax error on line 5 of /etc/httpd/conf.d/wsgi-keystone.conf
(2).Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module not included in the server configuration
(3).node1 polkitd[621]: Unregistered Authentication Agent for unix-process:13103:1406263 (system bus name :1.129, object path /org/freedesk
启动httpd服务提示:[root@node1 /]# systemctl restart httpd
(1)Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
事件问题分析
(1)从日志进行查看分析得到是由于无法进行认证导致,当启动httpd之后就会产生无法启动的情况。当不执行[root@node1 ~]# ln -s /usr/share/keystone/wsgi-keystone.conf /etc/httpd/conf.d/这条命令时,重新启动Httpd不会出现错误提示。查看发现执行上述命令之后,/etc/httpd/conf.d/的目录下的文件是wsgi-keystone.conf。
(2)查看keystone安全并配置组件过程中的操作发现,在编辑文件 /etc/keystone/keystone.conf的[database]部分,配置数据库访问中connection = mysql+pymysql://keystone:KEYSTONE_DBPASS@controller/keystone
。
注意:这里KEYSTONE_DBPASS这里的这个值是指Mysql数据库的密码。
事件的解决办法
(1)将keystone安全并配置组件过程中的/etc/keystone/keystone.conf的[database]部分,配置数据库访问中connection = mysql+pymysql://keystone:KEYSTONE_DBPASS@controller/keystone中的KEYSTONE_DBPASS的值修改为Mysql的登录密码。

浙公网安备 33010602011771号