2014-12-23 317 views
0

我在全新安裝的Fedora 21上安裝了packstack。當我運行無法啓動keystone服務

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[[email protected]]: 
Dependency Service[keystone] has failures: true 
Warning: /Stage[main]/Cinder::Keystone::Auth/Keystone_user_role[[email protected]]: 
Skipping because of failed dependencies 
Notice: Finished catalog run in 13.02 seconds 

隨着systemctl狀態的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

由於缺少策略,SELinux avc拒絕可能會發生這種情況。 你可以嘗試把SELinux的permissive模式:

# setenforce 0 

A similar bug