无法启动keystone服务

时间:2014-12-23 18:07:58

标签: linux puppet fedora openstack keystone

我在新安装的Fedora 21上安装了packstack,包含所有更新。我跑的时候

packstack --allinone我收到了这个错误:

ERROR : Error appeared during Puppet run: 192.168. 1.*_keystone.pp Error:
Could not start Service[keystone]: Execution of '/sbin/service openstack-keystone
start'` returned 1: Redirecting to /bin/systemctl start  openstack-keystone.service 
You will find full trace in log /var/tmp/packstack/20141223-022613-whLvTs/manifests 
/192.168.1.*_keystone.pp.log

这是日志:

Notice: /Stage[main]/Cinder::Keystone::Auth/Keystone_user_role[cinder@services]:
Dependency Service[keystone] has failures: true
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_user_role[cinder@services]:
Skipping because of failed dependencies
Notice: Finished catalog run in 13.02 seconds

使用systemctl status openstack-keystone.service得到:

openstack-keystone.service - OpenStack Identity Service (code-named Keystone)
Loaded: loaded (/usr/lib/systemd/system/openstack-keystone.service; disabled)
Active: failed (Result: start-limit) since Tue 2014-12-23 19:47:36 EET; 1min 59s ago
Process: 22526 ExecStart=/usr/bin/keystone-all (code=exited, status=1/FAILURE)
Main PID: 22526 (code=exited, status=1/FAILURE)

    Dec 23 19:47:35 localhost.localdomain systemd[1]: Failed to start OpenStack...
    Dec 23 19:47:35 localhost.localdomain systemd[1]: Unit openstack-keystone.s...
    Dec 23 19:47:35 localhost.localdomain systemd[1]: openstack-keystone.servic...
    Dec 23 19:47:36 localhost.localdomain systemd[1]: start request repeated to...
    Dec 23 19:47:36 localhost.localdomain systemd[1]: Failed to start OpenStack...
    Dec 23 19:47:36 localhost.localdomain systemd[1]: Unit openstack-keystone.s...
    Dec 23 19:47:36 localhost.localdomain systemd[1]: openstack-keystone.servic...

1 个答案:

答案 0 :(得分:-1)

由于缺少政策,SELinux avc拒绝可能会发生这种情况。 您可以尝试将SELinux置于许可模式:

# setenforce 0

A similar bug