openstack

CentOS Linux release 7.7.1908 (Core)
virtualbox + br0

Minimal deployment for Rocky

comment

  1. Environment

    • Host networking(all)

    • Network Time Protocol(all)

    • OpenStack packages(all)

    • SQL database(controller)

    • Message queue(controller)

    • Memcached(controller)

    • Etcd(controller)

  2. Install Openstack service (Minimal deployment for Rocky)

    • Identity service(controller)

    • Image service(controller)

    • Compute service(controller, compute1)

    • Networking service(controller, compute1) ## compute1 bug

    • Dashboard(controller)

    • Block Storage service(controller, storage) ## option block1 not configure, because need Object Storage service.

# controller
# 10.0.0.11       controller

# # compute1
# 10.0.0.31       compute1

# # block1
# 10.0.0.41       block1

# # object1
# 10.0.0.51       object1

# # object2
# 10.0.0.52       object2

note:

configure host network (static)
cd /etc/sysconfig/network-scripts/
change:

BOOTPROTO=dhcp

To:

BOOTPROTO=static
At the bottom of that file, add the following:
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=1.0.0.1
DNS2=1.1.1.1
DNS3=8.8.4.4

nmcli con ## 查看网卡的UUID信息

install mongodb

when grant for database, you should grant for 'controler' ('localhost', '%')

and
flush privileges;

you should stop the controller host firewall
systemctl stop firewalld.service

https://docs.openstack.org/neutron/rocky/install/controller-install-option2-rdo.html
PROVIDER_INTERFACE_NAME ## enp0s3
OVERLAY_INTERFACE_IP_ADDRESS ## 192.168.1.11
vim /etc/sysctl.conf

net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1

sysctl -p

modprobe br_netfilter
lsmod | grep bridge

touch an empty file /etc/neutron/plugin.ini on the controller

原文地址:https://www.cnblogs.com/liyugeng/p/12644115.html