Centos7搭建OpenStack——Liberty遇到的问题与解决
admin_token = openstack
1. Controller Node
yum install rabbitmq-server报错:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
erlang-sd_notify-0.1-1.el7.x86 FAILED
解决:yum install deltarpm
2. Controller Node
su -s /bin/sh -c "keystone-manage db_sync" keystone报错:
No handlers could be found for logger "oslo_config.cfg"
解决:vim /etc/keystone/keystone.conf
# verbose = True
3. Controller Node
openstack service create --name keystone --description "OpenStack Identity" identity报错:
"An unexpected error prevented the server from fulfilling your request.HTTP 500"
解决:http://docs.openstack.org/liberty/install-guide-rdo/environment-sql-database.html此处配置最后一项未运行 mysql_secure_installation脚本
4. Controller Node
su -s /bin/sh -c "glance-manage db_sync" glance报错:
No handlers could be found for logger "oslo_config.cfg"
忽略
5. Compute1 Node
systemctl start libvirtd.service openstack-nova-compute.service无响应,查看/var/log/nova/nova-compute.log发现:
AMQP server on controller:5672 is unreachable
解决:在Controller Node上进行防火墙配置:
iptables -A IN_public_allow -p tcp -m tcp --dport 5672 -m conntrack --ctstate NEW -j ACCEPT