在CentOS 7上部署OpenStack Juno时遇到的问题总结

随着安装的进度,持续更新 …

更多内容可移驾至我的独立Blog: http://www.justfbt.com/


ISSUES:

1, can not start openstack-keystone service:

Description:

[root@controller01 ~]# systemctl start openstack-keystone  
Job for openstack-keystone.service failed. See 'systemctl status openstack-keystone.service' and 'journalctl -xn' for details. 

[root@controller01 ~]# systemctl status openstack-keystone  
openstack-keystone.service - OpenStack Identity Service (code-named Keystone) 
   Loaded: loaded (/usr/lib/systemd/system/openstack-keystone.service; enabled) 
   Active: failed (Result: start-limit) since Fri 2015-05-22 09:54:23 EDT; 18s ago 
  Process: 25587 ExecStart=/usr/bin/keystone-all (code=exited, status=1/FAILURE) 
 Main PID: 25587 (code=exited, status=1/FAILURE) 
May 22 09:54:23 controller01 systemd[1]: openstack-keystone.service: main process exited, code=exited, status=1/FAILURE 
May 22 09:54:23 controller01 systemd[1]: Failed to start OpenStack Identity Service (code-named Keystone). 
May 22 09:54:23 controller01 systemd[1]: Unit openstack-keystone.service entered failed state. 
May 22 09:54:23 controller01 systemd[1]: openstack-keystone.service holdoff time over, scheduling restart. 
May 22 09:54:23 controller01 systemd[1]: Stopping OpenStack Identity Service (code-named Keystone)... 
May 22 09:54:23 controller01 systemd[1]: Starting OpenStack Identity Service (code-named Keystone)... 
May 22 09:54:23 controller01 systemd[1]: openstack-keystone.service start request repeated too quickly, refusing to start. 
May 22 09:54:23 controller01 systemd[1]: Failed to start OpenStack Identity Service (code-named Keystone). 
May 22 09:54:23 controller01 systemd[1]: Unit openstack-keystone.service entered failed state. 

Solution
Verify keystone correlation file’s privileges and run:

# chown -R keystone:keystone /var/log/keystone
# chown -R keystone:keystone /etc/keystone/ssl

2, can not: run keystone user-list … (keyston correlation commands):

Description:

# keystone tenant-create --name demo --description "Demo Tenant" 
An unexpected error prevented the server from fulfilling your request. (HTTP 500)  
# less /var/log/keystone/keystone.log 
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi  Is the server running on host "controller01" (127.0.0.1) and accepting  
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi  TCP/IP connections on port 5432?  
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi could not connect to server: Permission denied  
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi  Is the server running on host "controller01" (192.168.222.43) and accepting  
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi  TCP/IP connections on port 5432?  
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi  None None  
2015-05-20 02:02:38.766 16464 TRACE keystone.common.wsgi   

Solution

check /etc/hosts,verify this line:
127.0.0.1   localhost

check iptables

check selinux
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值