Packstack安装openstack–V版 centos 8
本文最后更新于72 天前,其中的信息可能已经过时,如有错误请发送邮件到2639131093@qq.com

安装openstack图形化操作界面

准备

1.虚拟化平台版本 VMware Workstation 16.2.0

2.虚拟机版本Centos 8

3.环境配置

主机名IP网关DNSCPU/内存磁盘角色子网掩码备注
controller192.168.100.128192.168.100.2114.114.114.1144c8g100g控制/网络/计算节点24必须开启虚拟化引擎
compute192.168.100.129192.168.100.2114.114.114.1144c8g100g计算节点24必须开启虚拟化引擎

系统环境配置

网络配置

当前环境中控制节点及计算节点网卡类型为 NAT(需要ping通外网)

控制节点

网卡设置

[root@controller ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens160 
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=ens160
UUID=a2ca76ea-90e8-4baa-9b70-d18f8c385ab3
DEVICE=ens160
ONBOOT=yes
IPADDR=192.168.100.128
PREFIX=24
GATEWAY=192.168.100.2
DNS1=114.114.114.114

重启网络

ifdown ens160 && ifup ens160         ##若采用左上角模式修改则不需要此操作

关闭防火墙

[root@controller ~]# systemctl stop firewalld.service 
[root@controller ~]# systemctl disable firewalld.service 
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

关闭selinux

[root@controller ~]# setenforce 0
[root@controller ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config

注意需要重启,第二条条命令的作用是将系统中 SELinux 的配置从 “enforcing”(强制模式)修改为 “disabled”(禁用模式),若不熟悉,打开/etc/selinux/config将 ‘enforcing改为’ ‘disabled’

再次查看selinux

[root@controller 桌面]# cat /etc/selinux/config 

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected. 
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

由于Networkmanager会和openstack的网络组建产生冲突,需要关闭Networkmanager

[root@controller 桌面]# systemctl stop NetworkManager
[root@controller 桌面]# systemctl disable NetworkManager
Removed /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.
请注意,关闭Networkmanager后ip操作会关闭,请在这之前将网络相关配置好,若需要继续配置网络,需再次打开Networkmanager

计算节点

网卡设置

[root@compute ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens160 
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=ens160
UUID=a2ca76ea-90e8-4baa-9b70-d18f8c385ab3
DEVICE=ens160
ONBOOT=yes
IPADDR=192.168.100.129
PREFIX=24
GATEWAY=192.168.100.2
DNS1=114.114.114.114

重启网卡

ifdown ens160 && ifup ens160         ##若采用左上角模式修改则不需要此操作

关闭防火墙

[root@compute ~]# systemctl stop firewalld.service 
[root@compute ~]# systemctl disable firewalld.service 
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

关闭selinux

[root@compute ~]# setenforce 0
[root@compute ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config

与控制节点一样,需要重启,不在多叙述

再次查看

[root@compute 桌面]# cat /etc/selinux/config 

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected. 
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

关闭Networkmanager

[root@compute 桌面]# systemctl stop NetworkManager
[root@compute 桌面]# systemctl disable NetworkManager
Removed /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.

ip及主机名设置(映射)

控制节点

[root@controller 桌面]# echo '192.168.100.128  controller' >> /etc/hosts
[root@controller 桌面]# echo '192.168.100.129  compute' >> /etc/hosts
[root@controller 桌面]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.100.128  controller
192.168.100.129  compute
使用重定向符符输入,不熟悉可打开/etc/hosts输入

拷贝至计算节点

[root@controller 桌面]# scp /etc/hosts root@compute:/etc/
The authenticity of host 'compute (192.168.100.129)' can't be established.
ECDSA key fingerprint is SHA256:wn7IgQYnbfjnnrX6pvEPCEIRYpSJtyblJWN5BZtVot8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'compute,192.168.100.129' (ECDSA) to the list of known hosts.
root@compute's password: 
hosts                                         100%  211    74.0KB/s   00:00 

ping 计算节点 ping外网(阿里云)

[root@controller 桌面]# ping compute
PING compute (192.168.100.129) 56(84) bytes of data.
64 bytes from compute (192.168.100.129): icmp_seq=1 ttl=64 time=2.55 ms
64 bytes from compute (192.168.100.129): icmp_seq=2 ttl=64 time=1.30 ms
^C
--- compute ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.302/1.923/2.545/0.623 ms
[root@controller 桌面]# ping aliyun.com
PING aliyun.com (106.11.248.146) 56(84) bytes of data.
64 bytes from 106.11.248.146 (106.11.248.146): icmp_seq=1 ttl=128 time=50.6 ms
64 bytes from 106.11.248.146 (106.11.248.146): icmp_seq=2 ttl=128 time=30.10 ms
^C
--- aliyun.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 30.973/40.768/50.563/9.795 ms
若阿里云ping不通请检查你的网络配置,网卡是否为nat,dns是否为114.114.114.114或者国内其他dns

计算节点

查看hosts设置,ping控制节点与外网

[root@compute 桌面]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.100.128  controller
192.168.100.129  compute
[root@compute 桌面]# ping controller
PING controller (192.168.100.128) 56(84) bytes of data.
64 bytes from controller (192.168.100.128): icmp_seq=1 ttl=64 time=1.09 ms
64 bytes from controller (192.168.100.128): icmp_seq=2 ttl=64 time=1.92 ms
^C
--- controller ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 1.086/1.502/1.919/0.418 ms
[root@compute 桌面]# ping aliyun.com
PING aliyun.com (106.11.253.83) 56(84) bytes of data.
64 bytes from 106.11.253.83 (106.11.253.83): icmp_seq=1 ttl=128 time=35.10 ms
64 bytes from 106.11.253.83 (106.11.253.83): icmp_seq=2 ttl=128 time=34.1 ms
^C
--- aliyun.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 34.148/35.062/35.977/0.933 ms

NTP时间配置

clinux 8 版本开始默认不再支持 ntpdate 工具,换用 chronyd 进行同步

控制节点

更改两处

vim /etc/chrony.conf

# Please consider joining the pool (http://www.pool.ntp.org/join.html).
pool 2.centos.pool.ntp.org iburst
server ntp.aliyun.com iburst                          ##第一处 添加指定ntp为阿里云服务器时间

# Allow NTP client access from local network.
#allow 192.168.0.0/16
allow 192.168.100.0/24                              ##第二处  允许网络时间控制的ip

启动服务

[root@controller 桌面]# systemctl start chronyd.service
[root@controller 桌面]# systemctl enable chronyd.service

计算节点

更改一处

vim /etc/chrony.conf


# Please consider joining the pool (http://www.pool.ntp.org/join.html).
pool 2.centos.pool.ntp.org iburst
server controller  iburst                                  ##指定ntp服务器为控制节点

测试时间同步

[root@compute ~]# date
2024年 08月 23日 星期五 00:54:54 EDT
[root@compute ~]# date -s 2008-08-08
2008年 08月 08日 星期五 00:00:00 EDT
[root@compute ~]# date
2008年 08月 08日 星期五 00:00:07 EDT
[root@compute ~]# chronyd -q "server controller iburst"
2008-08-08T04:00:30Z chronyd version 4.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 +DEBUG)
2008-08-08T04:00:30Z Fatal error : Another chronyd may already be running (pid=1025), check /run/chrony/chronyd.pid
[root@compute ~]# kill 1025
[root@compute ~]# chronyd -q "server controller iburst"
2008-08-08T04:00:40Z chronyd version 4.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 +DEBUG)
2008-08-08T04:00:40Z Initial frequency -4.869 ppm
^C2008-08-08T04:00:48Z chronyd exiting

若出现 ‘Another chronyd may already be running (pid=1025), check /run/chrony/chronyd.pid‘ , kill 此pid,例如: kill 1025

启动服务

[root@compute ~]# systemctl start chronyd.service
[root@compute ~]# systemctl enable chronyd.service

yum源配置

此处教程为阿里云永久在线源,请再次注意需要联通外网

控制节点

[root@controller ~]# cd /etc/yum.repos.d/
[root@controller yum.repos.d]# ll
总用量 48
-rw-r--r--. 1 root root  719 9月  14 2021 CentOS-Linux-AppStream.repo
-rw-r--r--. 1 root root  704 9月  14 2021 CentOS-Linux-BaseOS.repo
-rw-r--r--. 1 root root 1130 9月  14 2021 CentOS-Linux-ContinuousRelease.repo
-rw-r--r--. 1 root root  318 9月  14 2021 CentOS-Linux-Debuginfo.repo
-rw-r--r--. 1 root root  732 9月  14 2021 CentOS-Linux-Devel.repo
-rw-r--r--. 1 root root  704 9月  14 2021 CentOS-Linux-Extras.repo
-rw-r--r--. 1 root root  719 9月  14 2021 CentOS-Linux-FastTrack.repo
-rw-r--r--. 1 root root  740 9月  14 2021 CentOS-Linux-HighAvailability.repo
-rw-r--r--. 1 root root  693 9月  14 2021 CentOS-Linux-Media.repo
-rw-r--r--. 1 root root  706 9月  14 2021 CentOS-Linux-Plus.repo
-rw-r--r--. 1 root root  724 9月  14 2021 CentOS-Linux-PowerTools.repo
-rw-r--r--. 1 root root 1124 9月  14 2021 CentOS-Linux-Sources.repo
[root@controller yum.repos.d]# rm -rf *
[root@controller yum.repos.d]# ll
总用量 0
[root@controller yum.repos.d]# vim chencuo.repo
##以下在线源都需要,复制即可

[base]
name=CentOS-8.4.2105 - Base - mirrors.aliyun.com
baseurl=http://mirrors.aliyun.com/centos-vault/8.4.2105/BaseOS/$basearch/os/
        http://mirrors.aliyuncs.com/centos-vault/8.4.2105/BaseOS/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos-vault/8.4.2105/BaseOS/$basearch/os/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official

[extras]
name=CentOS-8.4.2105 - Extras - mirrors.aliyun.com
baseurl=http://mirrors.aliyun.com/centos-vault/8.4.2105/extras/$basearch/os/
        http://mirrors.aliyuncs.com/centos-vault/8.4.2105/extras/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos-vault/8.4.2105/extras/$basearch/os/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
 
[PowerTools]
name=CentOS-8.4.2105 - PowerTools - mirrors.aliyun.com
baseurl=http://mirrors.aliyun.com/centos-vault/8.4.2105/PowerTools/$basearch/os/
        http://mirrors.aliyuncs.com/centos-vault/8.4.2105/PowerTools/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos-vault/8.4.2105/PowerTools/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official

[AppStream]
name=CentOS-8.4.2105 - AppStream - mirrors.aliyun.com
baseurl=http://mirrors.aliyun.com/centos-vault/8.4.2105/AppStream/$basearch/os/
        http://mirrors.aliyuncs.com/centos-vault/8.4.2105/AppStream/$basearch/os/
        http://mirrors.cloud.aliyuncs.com/centos-vault/8.4.2105/AppStream/$basearch/os/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official

[centos-advanced-virtualization]
name=CentOS-$releasever - Advanced Virtualization
baseurl=https://mirrors.aliyun.com/centos-vault/8.4.2105/virt/x86_64/advanced-virtualization/
gpgcheck=1
enabled=1
module_hotfixes=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization

[centos-ceph-nautilus]
name=CentOS-$releasever - Ceph Nautilus
baseurl=https://mirrors.aliyun.com/centos-vault/8.4.2105/storage/x86_64/ceph-nautilus/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage

[centos-rabbitmq-38]
name=CentOS-8 - RabbitMQ 38
baseurl=https://mirrors.aliyun.com/centos-vault/8.4.2105/messaging/x86_64/rabbitmq-38/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Messaging

[centos-nfv-openvswitch]
name=CentOS-$releasever - NFV OpenvSwitch
baseurl=https://mirrors.aliyun.com/centos-vault/8.4.2105/nfv/x86_64/openvswitch-2/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-NFV
module_hotfixes=1

[centos-openstack-victoria]
name=CentOS-$releasever - OpenStack victoria
baseurl=https://mirrors.aliyun.com/centos-vault/8.4.2105/cloud/x86_64/openstack-victoria/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
module_hotfixes=1

查看源列表,少一个都不行!!!

[root@controller yum.repos.d]# yum clean all
0 文件已删除
[root@controller yum.repos.d]# yum repolist all
仓库 id                        仓库名称                                     状态
AppStream                      CentOS-8.4.2105 - AppStream - mirrors.aliyun 启用
PowerTools                     CentOS-8.4.2105 - PowerTools - mirrors.aliyu 启用
base                           CentOS-8.4.2105 - Base - mirrors.aliyun.com  启用
centos-advanced-virtualization CentOS-8 - Advanced Virtualization           启用
centos-ceph-nautilus           CentOS-8 - Ceph Nautilus                     启用
centos-nfv-openvswitch         CentOS-8 - NFV OpenvSwitch                   启用
centos-openstack-victoria      CentOS-8 - OpenStack victoria                启用
centos-rabbitmq-38             CentOS-8 - RabbitMQ 38                       启用
extras                         CentOS-8.4.2105 - Extras - mirrors.aliyun.co 启用

因为在线安装需要用到一些 RPM-GPG 包,通过命令 yum install -y centos-release-openstack-victoria.noarch 会下载相关 REPO 文件及对应的 RPM-GPG 包还有额外的repo文件,需要删除这些不需要的repo文件

[root@controller yum.repos.d]# ls /etc/pki/rpm-gpg/          ##查看当前rpm包
RPM-GPG-KEY-centosofficial  RPM-GPG-KEY-redhat-release
RPM-GPG-KEY-centostesting
[root@controller yum.repos.d]# yum install -y centos-release-openstack-victoria.noarch   
CentOS-8.4.2105 - Base - mirrors.aliyun.com     731 kB/s | 8.5 MB     00:11    
CentOS-8.4.2105 - Extras - mirrors.aliyun.com    20 kB/s |  10 kB     00:00    
CentOS-8.4.2105 - PowerTools - mirrors.aliyun.c 514 kB/s | 2.4 MB     00:04    
CentOS-8.4.2105 - AppStream - mirrors.aliyun.co 531 kB/s | 9.6 MB     00:18    
CentOS-8 - Advanced Virtualization              172 kB/s | 227 kB     00:01    
CentOS-8 - Ceph Nautilus                        286 kB/s | 549 kB     00:01    
CentOS-8 - RabbitMQ 38                          171 kB/s | 137 kB     00:00    
CentOS-8 - NFV OpenvSwitch                       90 kB/s |  61 kB     00:00    
CentOS-8 - OpenStack victoria                   472 kB/s | 3.7 MB     00:07    
依赖关系解决。
================================================================================
 软件包                                   架构     版本          仓库      大小
================================================================================
安装:
 centos-release-openstack-victoria        noarch   1-2.el8       extras    10 k
安装依赖关系:
 centos-release-advanced-virtualization   noarch   1.0-3.el8     extras    16 k
 centos-release-ceph-nautilus             noarch   1.2-2.el8     extras   8.8 k
 centos-release-messaging                 noarch   1-2.el8       extras   9.4 k
 centos-release-nfv-common                noarch   1-3.el8       extras   9.3 k
 centos-release-nfv-openvswitch           noarch   1-3.el8       extras   8.6 k
 centos-release-rabbitmq-38               noarch   1-2.el8       extras   8.3 k
 centos-release-storage-common            noarch   2-2.el8       extras   9.4 k
 centos-release-virt-common               noarch   1-2.el8       extras   8.9 k

事务概要
================================================================================
安装  9 软件包

总下载:89 k
安装大小:33 k
下载软件包:
(1/9): centos-release-advanced-virtualization-1  78 kB/s |  16 kB     00:00    
(2/9): centos-release-ceph-nautilus-1.2-2.el8.n  41 kB/s | 8.8 kB     00:00    
(3/9): centos-release-messaging-1-2.el8.noarch.  39 kB/s | 9.4 kB     00:00    
(4/9): centos-release-nfv-openvswitch-1-3.el8.n  63 kB/s | 8.6 kB     00:00    
(5/9): centos-release-nfv-common-1-3.el8.noarch  54 kB/s | 9.3 kB     00:00    
(6/9): centos-release-openstack-victoria-1-2.el  68 kB/s |  10 kB     00:00    
(7/9): centos-release-rabbitmq-38-1-2.el8.noarc  95 kB/s | 8.3 kB     00:00    
(8/9): centos-release-storage-common-2-2.el8.no  89 kB/s | 9.4 kB     00:00    
(9/9): centos-release-virt-common-1-2.el8.noarc  77 kB/s | 8.9 kB     00:00    
--------------------------------------------------------------------------------
总计                                            173 kB/s |  89 kB     00:00     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1 
  安装    : centos-release-virt-common-1-2.el8.noarch                       1/9 
  安装    : centos-release-advanced-virtualization-1.0-3.el8.noarch         2/9 
  运行脚本: centos-release-advanced-virtualization-1.0-3.el8.noarch         2/9 
  安装    : centos-release-storage-common-2-2.el8.noarch                    3/9 
  安装    : centos-release-ceph-nautilus-1.2-2.el8.noarch                   4/9 
  运行脚本: centos-release-ceph-nautilus-1.2-2.el8.noarch                   4/9 
  安装    : centos-release-nfv-common-1-3.el8.noarch                        5/9 
  运行脚本: centos-release-nfv-common-1-3.el8.noarch                        5/9 
  安装    : centos-release-nfv-openvswitch-1-3.el8.noarch                   6/9 
  安装    : centos-release-messaging-1-2.el8.noarch                         7/9 
  安装    : centos-release-rabbitmq-38-1-2.el8.noarch                       8/9 
  安装    : centos-release-openstack-victoria-1-2.el8.noarch                9/9 
  运行脚本: centos-release-openstack-victoria-1-2.el8.noarch                9/9 
  验证    : centos-release-advanced-virtualization-1.0-3.el8.noarch         1/9 
  验证    : centos-release-ceph-nautilus-1.2-2.el8.noarch                   2/9 
  验证    : centos-release-messaging-1-2.el8.noarch                         3/9 
  验证    : centos-release-nfv-common-1-3.el8.noarch                        4/9 
  验证    : centos-release-nfv-openvswitch-1-3.el8.noarch                   5/9 
  验证    : centos-release-openstack-victoria-1-2.el8.noarch                6/9 
  验证    : centos-release-rabbitmq-38-1-2.el8.noarch                       7/9 
  验证    : centos-release-storage-common-2-2.el8.noarch                    8/9 
  验证    : centos-release-virt-common-1-2.el8.noarch                       9/9 

已安装:
  centos-release-advanced-virtualization-1.0-3.el8.noarch                       
  centos-release-ceph-nautilus-1.2-2.el8.noarch                                 
  centos-release-messaging-1-2.el8.noarch                                       
  centos-release-nfv-common-1-3.el8.noarch                                      
  centos-release-nfv-openvswitch-1-3.el8.noarch                                 
  centos-release-openstack-victoria-1-2.el8.noarch                              
  centos-release-rabbitmq-38-1-2.el8.noarch                                     
  centos-release-storage-common-2-2.el8.noarch                                  
  centos-release-virt-common-1-2.el8.noarch                                     

完毕!

删除不需要的repo文件

[root@controller yum.repos.d]# ls /etc/pki/rpm-gpg/
RPM-GPG-KEY-centosofficial        RPM-GPG-KEY-CentOS-SIG-Storage
RPM-GPG-KEY-CentOS-SIG-Cloud      RPM-GPG-KEY-CentOS-SIG-Virtualization
RPM-GPG-KEY-CentOS-SIG-Messaging  RPM-GPG-KEY-centostesting
RPM-GPG-KEY-CentOS-SIG-NFV        RPM-GPG-KEY-redhat-release
[root@controller yum.repos.d]# ll
总用量 32
-rw-r--r-- 1 root root 1225 6月  11 2021 CentOS-Advanced-Virtualization.repo
-rw-r--r-- 1 root root  956 5月  18 2020 CentOS-Ceph-Nautilus.repo
-rw-r--r-- 1 root root  957 4月  14 2020 CentOS-Messaging-rabbitmq.repo
-rw-r--r-- 1 root root 1180 4月  15 2021 CentOS-NFV-OpenvSwitch.repo
-rw-r--r-- 1 root root 4640 3月   8 2021 CentOS-OpenStack-victoria.repo
-rw-r--r-- 1 root root  353 3月  19 2020 CentOS-Storage-common.repo
-rw-r--r-- 1 root root 2818 8月  23 01:06 chencuo.repo

[root@controller yum.repos.d]# rm -rf CentOS-*
[root@controller yum.repos.d]# ll
总用量 4
-rw-r--r-- 1 root root 2818 8月  23 01:26 chencuo.repo

计算节点

将控制节点的 REPO 文件拷贝至计算节点,其他操作与配置控制节点几乎一样

[root@compute ~]# cd /etc/yum.repos.d/
[root@compute yum.repos.d]# ll
总用量 48
-rw-r--r--. 1 root root  719 9月  14 2021 CentOS-Linux-AppStream.repo
-rw-r--r--. 1 root root  704 9月  14 2021 CentOS-Linux-BaseOS.repo
-rw-r--r--. 1 root root 1130 9月  14 2021 CentOS-Linux-ContinuousRelease.repo
-rw-r--r--. 1 root root  318 9月  14 2021 CentOS-Linux-Debuginfo.repo
-rw-r--r--. 1 root root  732 9月  14 2021 CentOS-Linux-Devel.repo
-rw-r--r--. 1 root root  704 9月  14 2021 CentOS-Linux-Extras.repo
-rw-r--r--. 1 root root  719 9月  14 2021 CentOS-Linux-FastTrack.repo
-rw-r--r--. 1 root root  740 9月  14 2021 CentOS-Linux-HighAvailability.repo
-rw-r--r--. 1 root root  693 9月  14 2021 CentOS-Linux-Media.repo
-rw-r--r--. 1 root root  706 9月  14 2021 CentOS-Linux-Plus.repo
-rw-r--r--. 1 root root  724 9月  14 2021 CentOS-Linux-PowerTools.repo
-rw-r--r--. 1 root root 1124 9月  14 2021 CentOS-Linux-Sources.repo
[root@compute yum.repos.d]# rm -rf *
[root@compute yum.repos.d]# ll
总用量 0
[root@compute yum.repos.d]# scp root@controller:/etc/yum.repos.d/chencuo.repo .
The authenticity of host 'controller (192.168.100.128)' can't be established.
ECDSA key fingerprint is SHA256:wn7IgQYnbfjnnrX6pvEPCEIRYpSJtyblJWN5BZtVot8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'controller,192.168.100.128' (ECDSA) to the list of known hosts.
root@controller's password: 
chencuo.repo                                  100% 2818   550.7KB/s   00:00    
[root@compute yum.repos.d]# ll
总用量 4
-rw-r--r-- 1 root root 2818 8月  23 01:32 chencuo.repo
[root@compute yum.repos.d]# yum clean all
0 文件已删除
[root@compute yum.repos.d]# yum repolist all
仓库 id                        仓库名称                                     状态
AppStream                      CentOS-8.4.2105 - AppStream - mirrors.aliyun 启用
PowerTools                     CentOS-8.4.2105 - PowerTools - mirrors.aliyu 启用
base                           CentOS-8.4.2105 - Base - mirrors.aliyun.com  启用
centos-advanced-virtualization CentOS-8 - Advanced Virtualization           启用
centos-ceph-nautilus           CentOS-8 - Ceph Nautilus                     启用
centos-nfv-openvswitch         CentOS-8 - NFV OpenvSwitch                   启用
centos-openstack-victoria      CentOS-8 - OpenStack victoria                启用
centos-rabbitmq-38             CentOS-8 - RabbitMQ 38                       启用
extras                         CentOS-8.4.2105 - Extras - mirrors.aliyun.co 启用

一样的,删除不需要的repo文件

[root@compute yum.repos.d]# ls /etc/pki/rpm-gpg/
RPM-GPG-KEY-centosofficial  RPM-GPG-KEY-redhat-release
RPM-GPG-KEY-centostesting
[root@compute yum.repos.d]# yum -y install centos-release-openstack-victoria.noarch
CentOS-8.4.2105 - Base - mirrors.aliyun.com     717 kB/s | 8.5 MB     00:12    
CentOS-8.4.2105 - Extras - mirrors.aliyun.com    28 kB/s |  10 kB     00:00    
CentOS-8.4.2105 - PowerTools - mirrors.aliyun.c 452 kB/s | 2.4 MB     00:05    
CentOS-8.4.2105 - AppStream - mirrors.aliyun.co 507 kB/s | 9.6 MB     00:19    
CentOS-8 - Advanced Virtualization              230 kB/s | 227 kB     00:00    
CentOS-8 - Ceph Nautilus                        312 kB/s | 549 kB     00:01    
CentOS-8 - RabbitMQ 38                           95 kB/s | 137 kB     00:01    
CentOS-8 - NFV OpenvSwitch                       90 kB/s |  61 kB     00:00    
CentOS-8 - OpenStack victoria                   403 kB/s | 3.7 MB     00:09    
依赖关系解决。
================================================================================
 软件包                                   架构     版本          仓库      大小
================================================================================
安装:
 centos-release-openstack-victoria        noarch   1-2.el8       extras    10 k
安装依赖关系:
 centos-release-advanced-virtualization   noarch   1.0-3.el8     extras    16 k
 centos-release-ceph-nautilus             noarch   1.2-2.el8     extras   8.8 k
 centos-release-messaging                 noarch   1-2.el8       extras   9.4 k
 centos-release-nfv-common                noarch   1-3.el8       extras   9.3 k
 centos-release-nfv-openvswitch           noarch   1-3.el8       extras   8.6 k
 centos-release-rabbitmq-38               noarch   1-2.el8       extras   8.3 k
 centos-release-storage-common            noarch   2-2.el8       extras   9.4 k
 centos-release-virt-common               noarch   1-2.el8       extras   8.9 k

事务概要
================================================================================
安装  9 软件包

总下载:89 k
安装大小:33 k
下载软件包:
(1/9): centos-release-ceph-nautilus-1.2-2.el8.n  81 kB/s | 8.8 kB     00:00    
(2/9): centos-release-advanced-virtualization-1 134 kB/s |  16 kB     00:00    
(3/9): centos-release-messaging-1-2.el8.noarch.  74 kB/s | 9.4 kB     00:00    
(4/9): centos-release-nfv-common-1-3.el8.noarch 196 kB/s | 9.3 kB     00:00    
(5/9): centos-release-nfv-openvswitch-1-3.el8.n 106 kB/s | 8.6 kB     00:00    
(6/9): centos-release-openstack-victoria-1-2.el 117 kB/s |  10 kB     00:00    
(7/9): centos-release-rabbitmq-38-1-2.el8.noarc 136 kB/s | 8.3 kB     00:00    
(8/9): centos-release-storage-common-2-2.el8.no 190 kB/s | 9.4 kB     00:00    
(9/9): centos-release-virt-common-1-2.el8.noarc 171 kB/s | 8.9 kB     00:00    
--------------------------------------------------------------------------------
总计                                            323 kB/s |  89 kB     00:00     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1 
  安装    : centos-release-virt-common-1-2.el8.noarch                       1/9 
  安装    : centos-release-advanced-virtualization-1.0-3.el8.noarch         2/9 
  运行脚本: centos-release-advanced-virtualization-1.0-3.el8.noarch         2/9 
  安装    : centos-release-storage-common-2-2.el8.noarch                    3/9 
  安装    : centos-release-ceph-nautilus-1.2-2.el8.noarch                   4/9 
  运行脚本: centos-release-ceph-nautilus-1.2-2.el8.noarch                   4/9 
  安装    : centos-release-nfv-common-1-3.el8.noarch                        5/9 
  运行脚本: centos-release-nfv-common-1-3.el8.noarch                        5/9 
  安装    : centos-release-nfv-openvswitch-1-3.el8.noarch                   6/9 
  安装    : centos-release-messaging-1-2.el8.noarch                         7/9 
  安装    : centos-release-rabbitmq-38-1-2.el8.noarch                       8/9 
  安装    : centos-release-openstack-victoria-1-2.el8.noarch                9/9 
  运行脚本: centos-release-openstack-victoria-1-2.el8.noarch                9/9 
  验证    : centos-release-advanced-virtualization-1.0-3.el8.noarch         1/9 
  验证    : centos-release-ceph-nautilus-1.2-2.el8.noarch                   2/9 
  验证    : centos-release-messaging-1-2.el8.noarch                         3/9 
  验证    : centos-release-nfv-common-1-3.el8.noarch                        4/9 
  验证    : centos-release-nfv-openvswitch-1-3.el8.noarch                   5/9 
  验证    : centos-release-openstack-victoria-1-2.el8.noarch                6/9 
  验证    : centos-release-rabbitmq-38-1-2.el8.noarch                       7/9 
  验证    : centos-release-storage-common-2-2.el8.noarch                    8/9 
  验证    : centos-release-virt-common-1-2.el8.noarch                       9/9 

已安装:
  centos-release-advanced-virtualization-1.0-3.el8.noarch                       
  centos-release-ceph-nautilus-1.2-2.el8.noarch                                 
  centos-release-messaging-1-2.el8.noarch                                       
  centos-release-nfv-common-1-3.el8.noarch                                      
  centos-release-nfv-openvswitch-1-3.el8.noarch                                 
  centos-release-openstack-victoria-1-2.el8.noarch                              
  centos-release-rabbitmq-38-1-2.el8.noarch                                     
  centos-release-storage-common-2-2.el8.noarch                                  
  centos-release-virt-common-1-2.el8.noarch                                     

完毕!

[root@compute yum.repos.d]# ls /etc/pki/rpm-gpg/
RPM-GPG-KEY-centosofficial        RPM-GPG-KEY-CentOS-SIG-Storage
RPM-GPG-KEY-CentOS-SIG-Cloud      RPM-GPG-KEY-CentOS-SIG-Virtualization
RPM-GPG-KEY-CentOS-SIG-Messaging  RPM-GPG-KEY-centostesting
RPM-GPG-KEY-CentOS-SIG-NFV        RPM-GPG-KEY-redhat-release
[root@compute yum.repos.d]# ll
总用量 32
-rw-r--r-- 1 root root 1225 6月  11 2021 CentOS-Advanced-Virtualization.repo
-rw-r--r-- 1 root root  956 5月  18 2020 CentOS-Ceph-Nautilus.repo
-rw-r--r-- 1 root root  957 4月  14 2020 CentOS-Messaging-rabbitmq.repo
-rw-r--r-- 1 root root 1180 4月  15 2021 CentOS-NFV-OpenvSwitch.repo
-rw-r--r-- 1 root root 4640 3月   8 2021 CentOS-OpenStack-victoria.repo
-rw-r--r-- 1 root root  353 3月  19 2020 CentOS-Storage-common.repo
-rw-r--r-- 1 root root 2818 8月  23 01:32 chencuo.repo
[root@compute yum.repos.d]# rm -rf CentOS-*
[root@compute yum.repos.d]# ll
总用量 4
-rw-r--r-- 1 root root 2818 8月  23 01:32 chencuo.repo

安装配置

控制节点安装 PackStack 工具

由于太长我只展示安装了什么,注意此为最后一步操作,且只需要在控制节点配置

 yum install -y openstack-packstack
已安装:
  boost-filesystem-1.66.0-10.el8.x86_64                                         
  boost-locale-1.66.0-10.el8.x86_64                                             
  boost-log-1.66.0-10.el8.x86_64                                                
  cpp-hocon-0.2.1-1.el8.x86_64                                                  
  facter-1:3.14.2-2.el8.x86_64                                                  
  git-core-2.27.0-1.el8.x86_64                                                  
  hiera-3.6.0-1.el8.noarch                                                      
  leatherman-1.6.1-2.el8.x86_64                                                 
  libselinux-ruby-2.9-5.el8.x86_64                                              
  openstack-packstack-1:17.0.0-0.3.0rc2.el8.noarch                              
  openstack-packstack-puppet-1:17.0.0-0.3.0rc2.el8.noarch                       
  puppet-6.14.0-2.el8.noarch                                                    
  puppet-aodh-17.5.0-2.el8.noarch                                               
  puppet-apache-5.5.0-1.afbaf19git.el8.noarch                                   
  puppet-archive-4.6.1-0.1.0rc0.49f66f9git.el8.noarch                           
  puppet-ceilometer-17.4.0-2.el8.noarch                                         
  puppet-certmonger-2.6.0-1.el8.noarch                                          
  puppet-cinder-17.4.0-2.el8.noarch                                             
  puppet-concat-6.2.0-2.dfeabb9git.el8.noarch                                   
  puppet-corosync-7.0.1-0.1.0rc0.3d62076git.el8.noarch                          
  puppet-firewall-2.5.0-1.71a1773git.el8.noarch                                 
  puppet-glance-17.6.0-1.el8.noarch                                             
  puppet-gnocchi-17.4.0-2.el8.noarch                                            
  puppet-headless-6.14.0-2.el8.noarch                                           
  puppet-heat-17.4.0-2.el8.noarch                                               
  puppet-horizon-17.4.0-2.el8.noarch                                            
  puppet-inifile-4.2.0-1.df46d2agit.el8.noarch                                  
  puppet-ironic-17.4.0-2.el8.noarch                                             
  puppet-keystone-17.4.0-2.el8.noarch                                           
  puppet-magnum-17.4.0-2.el8.noarch                                             
  puppet-manila-17.4.0-2.el8.noarch                                             
  puppet-memcached-6.0.0-1.el8.noarch                                           
  puppet-mysql-10.6.0-1.937d044git.el8.noarch                                   
  puppet-neutron-17.6.0-1.el8.noarch                                            
  puppet-nova-17.6.0-1.el8.noarch                                               
  puppet-nssdb-1.0.1-1.2ed2a2dgit.el8.noarch                                    
  puppet-openstack_extras-17.4.0-2.el8.noarch                                   
  puppet-openstacklib-17.4.0-2.el8.noarch                                       
  puppet-oslo-17.4.0-2.el8.noarch                                               
  puppet-ovn-17.5.0-1.el8.noarch                                                
  puppet-panko-17.5.0-2.el8.noarch                                              
  puppet-placement-4.4.0-2.el8.noarch                                           
  puppet-rabbitmq-10.1.2-0.1.0rc0.f6b3a8fgit.el8.noarch                         
  puppet-redis-6.1.1-0.1.0rc0.d443861git.el8.noarch                             
  puppet-remote-10.0.0-1.7420908git.el8.noarch                                  
  puppet-rsync-1.1.3-1.b3ee352git.el8.noarch                                    
  puppet-sahara-17.4.1-2.el8.noarch                                             
  puppet-ssh-6.2.0-1.6e0f430git.el8.noarch                                      
  puppet-staging-1.0.4-1.b466d93git.el8.noarch                                  
  puppet-stdlib-6.3.0-2.7c1ae25git.el8.noarch                                   
  puppet-swift-17.4.1-2.el8.noarch                                              
  puppet-sysctl-0.0.12-1.a3d160dgit.el8.noarch                                  
  puppet-systemd-2.10.0-1.el8.noarch                                            
  puppet-tempest-17.4.0-2.el8.noarch                                            
  puppet-trove-17.4.0-2.el8.noarch                                              
  puppet-vcsrepo-3.1.0-2.a36ee18git.el8.noarch                                  
  puppet-vswitch-13.4.0-2.el8.noarch                                            
  puppet-xinetd-3.3.0-2.8d460c4git.el8.noarch                                   
  python3-cffi-1.13.2-1.el8.x86_64                                              
  python3-cryptography-3.2.1-4.el8.x86_64                                       
  python3-docutils-0.14-12.module_el8.4.0+666+456f5f48.noarch                   
  python3-netaddr-0.7.19-8.el8.noarch                                           
  python3-netifaces-0.10.6-4.el8.x86_64                                         
  python3-pbr-5.4.3-2.el8.noarch                                                
  python3-pyOpenSSL-19.0.0-1.el8.noarch                                         
  python3-pycparser-2.14-14.el8.noarch                                          
  ruby-2.5.9-107.module_el8.4.0+847+ee687b6c.x86_64                             
  ruby-augeas-0.5.0-23.el8.x86_64                                               
  ruby-facter-1:3.14.2-2.el8.x86_64                                             
  ruby-irb-2.5.9-107.module_el8.4.0+847+ee687b6c.noarch                         
  ruby-libs-2.5.9-107.module_el8.4.0+847+ee687b6c.x86_64                        
  rubygem-bigdecimal-1.3.4-107.module_el8.4.0+847+ee687b6c.x86_64               
  rubygem-cane-3.0.0-1.el8.noarch                                               
  rubygem-concurrent-ruby-1.1.5-2.el8.noarch                                    
  rubygem-deep_merge-1.2.1-4.el8.noarch                                         
  rubygem-did_you_mean-1.2.0-107.module_el8.4.0+847+ee687b6c.noarch             
  rubygem-diff-lcs-1.3-4.el8.noarch                                             
  rubygem-docile-1.1.5-10.el8.noarch                                            
  rubygem-fast_gettext-1.2.0-9.el8.noarch                                       
  rubygem-hocon-1.3.0-1.el8.noarch                                              
  rubygem-io-console-0.4.6-107.module_el8.4.0+847+ee687b6c.x86_64               
  rubygem-json-2.1.0-107.module_el8.4.0+847+ee687b6c.x86_64                     
  rubygem-multi_json-1.13.1-4.el8.noarch                                        
  rubygem-openssl-2.1.2-107.module_el8.4.0+847+ee687b6c.x86_64                  
  rubygem-parallel-1.12.1-5.el8.noarch                                          
  rubygem-pathspec-0.2.1-5.el8.noarch                                           
  rubygem-psych-3.0.2-107.module_el8.4.0+847+ee687b6c.x86_64                    
  rubygem-puppet-resource_api-1.8.12-1.el8.noarch                               
  rubygem-rake-12.3.3-107.module_el8.4.0+847+ee687b6c.noarch                    
  rubygem-rdoc-6.0.1.1-107.module_el8.4.0+847+ee687b6c.noarch                   
  rubygem-redcarpet-3.3.2-16.1.el8.x86_64                                       
  rubygem-rgen-0.8.4-2.el8.noarch                                               
  rubygem-rspec-3.7.0-2.el8.noarch                                              
  rubygem-rspec-core-3.7.1-5.el8.noarch                                         
  rubygem-rspec-expectations-3.7.0-4.el8.noarch                                 
  rubygem-rspec-fire-1.3.0-1.el8.noarch                                         
  rubygem-rspec-mocks-3.7.0-4.el8.noarch                                        
  rubygem-rspec-support-3.7.1-2.el8.noarch                                      
  rubygem-ruby-shadow-2.5.0-12.el8.x86_64                                       
  rubygem-semantic_puppet-1.0.2-1.el8.noarch                                    
  rubygem-simplecov-0.13.0-7.el8.1.noarch                                       
  rubygem-simplecov-html-0.10.0-8.el8.noarch                                    
  rubygem-yard-0.9.12-8.el8.noarch                                              
  rubygems-2.7.6.3-107.module_el8.4.0+847+ee687b6c.noarch                       
  yaml-cpp-0.6.3-1.el8.x86_64                                                   

完毕!

生成答应文件

[root@controller yum.repos.d]# packstack -h |grep ans
  --gen-answer-file=GEN_ANSWER_FILE
                        Generate a template of an answer file.
  --validate-answer-file=VALIDATE_ANSWER_FILE
                        Check if answerfile contains unexpected options.
  --answer-file=ANSWER_FILE
                        answerfile will also be generated and should be used
  -o, --options         Print details on options available in answer file(rst
                        Packstack a second time with the same answer file and
                        attribute where "y" means an account is disabled.
    --manila-netapp-transport-type=MANILA_NETAPP_TRANSPORT_TYPE
                        The transport protocol used when communicating with
[root@controller yum.repos.d]# packstack --gen-answer-file=chencuo.txt
Packstack changed given value  to required value /root/.ssh/id_rsa.pub
Additional information:
 * Parameter CONFIG_NEUTRON_L2_AGENT: You have chosen OVN Neutron backend. Note that this backend does not support the VPNaaS plugin. Geneve will be used as the encapsulation method for tenant networks

编辑答应文件

vim chencuo.top

### 由于太多,难以寻找,你可以进入文件后按':'+shift进入底线命令模式,输入/你要搜索的环境,回车即可
###编辑以下环境:
CONFIG_COMPUTE_HOSTS=192.168.100.128,192.168.100.129    ###指定主机ip
CONFIG_KEYSTONE_ADMIN_PW=redhat                         ###管理员密码
CONFIG_PROVISION_DEMO=n                                 ###不进行演示环境的配置
CONFIG_HEAT_INSTALL=y                                   ###安装 Heat

执行应答文件进行安装

此步骤就在考验你的电脑了,我所给的配置是最低配置,此处生成controller.pp文件耗时就在吃你的电脑配置昂,我给的6c6g,一个多小时

[root@controller yum.repos.d]# packstack --answer-file=chencuo.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20240823-015551-m4xro_su/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
root@192.168.100.128's password: 
root@192.168.100.129's password: 
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 API entries                        [ DONE ]
Preparing Neutron L3 entries                         [ DONE ]
Preparing Neutron L2 Agent entries                   [ DONE ]
Preparing Neutron DHCP Agent entries                 [ DONE ]
Preparing Neutron Metering Agent entries             [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Preparing OpenStack Client entries                   [ DONE ]
Preparing Horizon entries                            [ DONE ]
Preparing Swift builder entries                      [ DONE ]
Preparing Swift proxy entries                        [ DONE ]
Preparing Swift storage entries                      [ DONE ]
Preparing Heat entries                               [ DONE ]
Preparing Heat CloudFormation API entries            [ DONE ]
Preparing Gnocchi entries                            [ DONE ]
Preparing Redis entries                              [ DONE ]
Preparing Ceilometer entries                         [ DONE ]
Preparing Aodh entries                               [ DONE ]
Preparing Puppet manifests                           [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.100.128_controller.pp
192.168.100.128_controller.pp:                       [ DONE ]            
Applying 192.168.100.128_network.pp
192.168.100.128_network.pp:                          [ DONE ]         
Applying 192.168.100.129_compute.pp
Applying 192.168.100.128_compute.pp
192.168.100.128_compute.pp:                          [ DONE ]         
Testing if puppet apply is finished: 192.168.100.129_compute.pp  [ / ]
192.168.100.129_compute.pp:                          [ DONE ]         
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******

Additional information:
 * Parameter CONFIG_NEUTRON_L2_AGENT: You have chosen OVN Neutron backend. Note that this backend does not support the VPNaaS plugin. Geneve will be used as the encapsulation method for tenant networks
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.100.128. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.100.128/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * The installation log file is available at: /var/tmp/packstack/20240823-015551-m4xro_su/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20240823-015551-m4xro_su/manifests

安装完成

打开http://192.168.100.128/dashboard,输入用户密码,也许你发现了在编辑答应文件时

CONFIG_KEYSTONE_ADMIN_PW=redhat 指定了管理员密码,上面指定了管理员账号为admin

进入此页面,安装成功

文末附加内容

评论

  1. cc
    Windows Edge
    3 月前
    2024-9-04 20:51:37

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇