-
Notifications
You must be signed in to change notification settings - Fork 2
/
local.conf
86 lines (71 loc) · 3.28 KB
/
local.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# PUBLIC_INTERFACE, HOST_IP and FLOATING_RANGE in the diagram
# refer to settings in this local.conf file.
#
# +---------------- Physical host -----------------+
# | |
# | |
# | +------ Devstack server (a KVM VM) ----------+ |
# | | | |
# | | +------------+ +------------+ | |
# | | | K8s master | | K8s worker | | |
# | | +------\-----+ +------/-----+ | |
# | | \ / | |
# | | -----\ /--------- | |
# | | | | | |
# | | /-------\ | |
# | | | br-ex | | |
# | | \-------/ | |
# | | | | |
# | +------------- Virtual NIC ------------------+ |
# | (PUBLIC_INTERFACE with HOST_IP) |
# | | |
# | /-------------\ |
# | | Linuxbridge | |
# | \-------------/ |
# | | |
# +-----------------Physical NIC-------------------+
# |
# _____External Network__|__(FLOATING_RANGE)_____
#
#
# Replace the text between >> and << with your local configuration.
[[local|localrc]]
HOST_IP=>>Your Devstack server's IP address on the external network<<
SERVICE_HOST=$HOST_IP
MYSQL_HOST=$HOST_IP
RABBIT_HOST=$HOST_IP
ADMIN_PASSWORD=pw
DATABASE_PASSWORD=pw
RABBIT_PASSWORD=pw
SERVICE_PASSWORD=pw
## Neutron options
Q_USE_SECGROUP=True
# The following five settings connect the cloud to the external network.
FLOATING_RANGE=>>External network CIDR, e.g. 192.168.1.0/24<<
# START and END are the first and last IP address of a range that can be used
# for allocating floating IPs. I.e. this range is not used in your network.
Q_FLOATING_ALLOCATION_POOL=start=>>START<<,end=>>END<<
PUBLIC_NETWORK_GATEWAY=>>External network router, e.g. 192.168.1.1<<
PUBLIC_INTERFACE=>>Name of Devstack server's NIC, e.g. enp1s0<<
Q_ASSIGN_GATEWAY_TO_PUBLIC_BRIDGE=FALSE
# End of external network configuration
# Open vSwitch provider networking configuration
Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex
# Install the Magnum service (K8s cluster manager) and its GUI
# Magnum requires the Heat service (cloud application orchestration)
enable_plugin heat https://github.com/openstack/heat stable/ussuri
enable_plugin magnum https://github.com/openstack/magnum stable/ussuri
enable_plugin magnum-ui https://github.com/openstack/magnum-ui stable/ussuri
# Install the Octavia service (load balancer) and its GUI
# Barbican (service for storing secrets) is probably optional.
enable_plugin barbican https://opendev.org/openstack/barbican stable/ussuri
enable_plugin octavia https://opendev.org/openstack/octavia stable/ussuri
LIBS_FROM_GIT+=python-octaviaclient
ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk,o-da
# End of Octavia
LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=14
LOG_COLOR=False