centos7 packstack安装openstack rocky
实验环境
-
控制节点:192.168.26.71 4c8g Centos7 200G硬盘
-
计算节点:192.168.26.72 4c8g Centos7 200G硬盘
初始化(所有节点)
添加hosts
vi /etc/hosts
#添加
192.168.26.71 vms71
192.168.26.72 vms72
关闭防火墙和SELinux
firewall-cmd --set-default-zone=trusted
sed -i '/SELINUX=/cSELINUX=disabled' /etc/sysconfig/selinux
setenforce 0
禁用NetworkManager
systemctl stop NetworkManager
systemctl disable NetworkManager
添加阿里源
yum install wget
wget https://xiebo.pro/tools/openstack/ali.repo -P /etc/yum.repos.d/
yum clean all
手动上传安装缺少的依赖
https://xiebo-pro/tools/openstack/python2-pyngus-2.3.0-1.el7.noarch.rpm
https://xiebo-pro/tools/openstack/python2-qpid-proton-0.31.0-3.el7.x86_64.rpm
https://xiebo-pro/tools/openstack/qpid-proton-c-0.31.0-3.el7.x86_64.rpm
将以上三个包上传,进入到上传目录
yum install * -y