Openstack问题汇总
1.Yum install 不行
Could not resolve host: mirrorlist.centos.org?
vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 10.0.6.61
/etc/init.d/network restart
reboot
2.rabbitmq出错?
vi /etc/rabbitmq/rabbitmq-env.conf
在文件里面添加这一行:NODENAME=rabbit@localhost,保存
service rabbitmq-server start
3. 创建连接,开机启动
systemctl enable mariadb.service
systemctl start mariadb.service
4.重启rabbitmq,
systemctl start rabbitmq-server.service
5.查看日志
tail /var/log/keystone/keystone.log
vim /var/log/mariadb/mariadb.log
cat /var/log/httpd/error_log
vim /var/log/nova/nova-api.log
6./usr/sbin/setenforce 0 立刻关闭 SELINUX
1立即开启
7.Rabbitmq删除用户
rabbitmqctl delete_user Username
8.查看端口8774:
ss -ntl | grep 8774
9.重启nova-computer
systemctl restart openstack-nova-compute.service
20190124
以上