建议用NAT模式
临时关闭:setenforce 0
vi /etc/seliunx/config
修改配置文件:将SELINUX=enforcing改为SELNUX=disabled
查看selinux状态:getenforce 0
关闭防火墙:systemctl disable firewalld 开机自动关闭防火墙
systemctl stop firewalld 停止防火墙服务
关闭网络管理服务:systemctl stop NetworkManager
systemctl disable NetworkManager
2 配置OpenStack
安装rpm包并设置openstack-stein库存储:
yum install centos-release-openstack-stein -y
yum源更新:yum update -y
安装openstack-packstack工具
yum install openstack-packstack -y
yum install -y yum openstack-packstack openstack-nova-compute puppet hiera openssh-clients tar nc rubygem-json openstack-nova-conductor openstack-dashboard openstack-swift mongodb-server openstack-ceilometer-central mariadb mariadb-galera-server python-openstackclient openstack-cinder openstack-liberty
通过packstack一键安装openstack
packstack --allinone
出现问题:一直停留在Testing if puppet apply is finished
192.168.159.135_controller.pp[-]
解决方案:等待
packstack --allinone Welcome to the Packstack setup utility
The installation log file is available at: /v