0

我在全新安装的 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...
4

1 回答 1

-1

这可能是由于缺少策略而导致 SELinux avc 拒绝而发生的。您可以尝试将 SELinux 置于许可模式:

# setenforce 0

一个类似的错误

于 2015-01-18T20:15:32.217 回答