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

最佳答案

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

# setenforce 0


A similar bug

关于linux - 无法启动梯形失真校正服务,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/27625752/

10-16 02:02