Openstack : 17、在vmware的centos7虚拟机中通过packstack安装openstack queen版本

目标:


1研究核心组件nova,neutron,cinder,ironic原理
2安装openstack queen版本

零、环境


1)win10中安装VMware-workstation-full-15.0.2
2)VMware中通过CentOS-7-x86_64-DVD-1511.iso安装Centos虚机
该Centos虚机配置信息如下面截图所示:

Openstack : 17、在vmware的centos7虚拟机中通过packstack安装openstack queen版本_第1张图片


3)在该Centos虚机中通过packstack安装openstack queen版本  


一、安装openstack

1 设置语言环境

vi /etc/environment 添加如下内容

LANG=en_US.utf-8
LC_ALL=en_US.utf-8

2 设置网络相关信息


禁用firewalld、NetworkManager 

sudo systemctl disable firewalld
sudo systemctl stop firewalld
sudo systemctl disable NetworkManager
sudo systemctl stop NetworkManager
sudo systemctl enable network
sudo systemctl start network


sudo vi /etc/selinux/config 修改SELINUX=disabled
sudo setenfore 0


3 安装openstack queens版本


yum install -y centos-release-openstack-queens
yum install -y epel-release 
yum -y install openstack-packstack python-pip
packstack --allinone

参考:
https://www.cnblogs.com/chenpengzi/p/9993477.html
https://blog.csdn.net/wh211212/article/details/80858083

4 安装成功信息


4.1 安装日志


[root@localhost yum.repos.d]# systemctl stop firewalld && systemctl disable firewalld
[root@localhost yum.repos.d]# systemctl stop NetworkManager && systemctl disable NetworkManager
[root@localhost yum.repos.d]# packstack --allinone
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20210219-193942-w19R6O/openstack-setup.log

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-install entries                        [ DONE ]
Setting up CACERT                                    [ DONE ]
Preparing AMQP entries                               [ DONE ]
Preparing MariaDB entries                            [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Preparing Keystone entries                           [ DONE ]
Preparing Glance entries                             [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Preparing Cinder entries                             [ DONE ]
Preparing Nova API entries                           [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Preparing Nova Compute entries                       [ DONE ]
Preparing Nova Scheduler entries                     [ DONE ]
Preparing Nova VNC Proxy entries                     [ DONE ]
Preparing OpenStack Network-related Nova entries     [ DONE ]
Preparing Nova Common entries                        [ DONE ]
Preparing Neutron LBaaS Agent entries                [ DONE ]
Preparing Neutron API entries                        [ DONE ]
Preparing Neutron L3 entries                         [ DONE ]
Preparing Neutron L2 Agent entries                   [ DONE ]
Preparing Neutron DHCP Agent entries          

你可能感兴趣的:(openstack)