使用 packstack 工具实现一键部署 OpenStack。 通过该安装工具, 只需简单运行一条命令, 即可以快速部署 OpenStack, 省去繁琐的安装步骤, 而直接体验OpenStack 的管理及使用。
环境
CentOS7 4核8G
一:关闭防火墙并且安装RDO软件
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# setenforce 0
[root@localhost ~]# yum -y install http://rdo.fedorapeople.org/rdo-release.rpm
二:安装一个叫packstack的部署包
[root@localhost ~]# yum -y install openstack-packstack
三:一键自动安装
注:这一步需要耐心等待很长一段时间
[root@localhost ~]# packstack --allinone
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20200629-193853-4vIHOw/openstack-setup.log
Packstack changed given value to required value /root/.ssh/id_rsa.pub
Installing:
Clean Up [ DONE ]
Discovering ip protocol version [ DONE ]
Setting up ssh keys [ DONE ]
Preparing servers [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Preparing pre-inst