devstack-plugin-tobiko/playbooks/vagrant/octavia/local.conf
Slawek Kaplonski 310eddd59b Always create keystone admin endpoint when tobiko is used
Tobiko requires keystone admin endpoint to be created. It was disabled
to be created by default in Devstack by [1].
This patch forces this option to be enabled when tobiko is going to be
installed by devstack.

[1] b538b3267c

Change-Id: I62a25e3de2db8b0aab42eac34bc881822177db15
2023-04-03 09:58:16 +02:00

116 lines
3.4 KiB
Plaintext

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
LOGFILE=/opt/stack/devstack/stack.log
VERBOSE=True
LOG_COLOR=True
# Enable required services ----------------------------------------------------
enable_service key
enable_service mysql
enable_service placement-api
enable_service placement-client
enable_service rabbit
# Disable unrequired services -------------------------------------------------
disable_service horizon
disable_service tempest
# Configure Nova --------------------------------------------------------------
enable_service n-api
enable_service n-api-meta
enable_service n-cond
enable_service n-cpu
enable_service n-crt
enable_service n-sch
enable_service n-sproxy
# Configure Neutron -----------------------------------------------------------
enable_plugin neutron https://opendev.org/openstack/neutron.git
enable_service neutron
enable_service ovn-northd
enable_service ovn-controller
enable_service q-ovn-metadata-agent
enable_service q-svc
disable_service q-agt
disable_service q-l3
disable_service q-dhcp
disable_service q-meta
enable_service q-trunk
enable_service q-dns
#enable_service q-qos
HOST_IP=192.168.56.10
IP_VERSION=4
# Q_PLUGIN=ml2
Q_AGENT=ovn
Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger
Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve
Q_ML2_TENANT_NETWORK_TYPE=geneve
# ENABLE_TENANT_TUNNELS=True
# ENABLE_TENANT_VLANS=True
# Configure Glance ------------------------------------------------------------
enable_service g-api
# Configure Cinder ------------------------------------------------------------
disable_service cinder c-sch c-api c-vol
# Configure Heat --------------------------------------------------------------
enable_plugin heat https://opendev.org/openstack/heat.git
# Configure Tobiko ------------------------------------------------------------
enable_plugin devstack-plugin-tobiko https://opendev.org/x/devstack-plugin-tobiko.git
TOBIKO_NEUTRON_IPV4_DNS_NAMESERVERS=1.1.1.1,8.8.8.8
# Configure Octavia ----------------------------------------------------------
OCTAVIA_NODE=standalone
LIBVIRT_TYPE=kvm
LIBVIRT_CPU_MODE=host-passthrough
enable_plugin barbican https://opendev.org/openstack/barbican.git
enable_plugin octavia https://opendev.org/openstack/octavia.git
enable_plugin octavia-dashboard https://opendev.org/openstack/octavia-dashboard.git
enable_plugin ovn-octavia-provider https://opendev.org/openstack/ovn-octavia-provider.git
LIBS_FROM_GIT+=python-octaviaclient
enable_service octavia
enable_service o-api
enable_service o-cw
enable_service o-da
enable_service o-hk
enable_service o-hm
[[post-config|$OCTAVIA_CONF]]
[amphora_agent]
forward_all_logs = True
[controller_worker]
loadbalancer_topology = SINGLE
[haproxy_amphora]
build_active_retries = 300
connection_max_retries = 1200
[[post-config|$NOVA_CONF]]
[scheduler]
discover_hosts_in_cells_interval = 2
# OVN octavia provider plugin -------------------------------------------------
enable_plugin ovn-octavia-provider https://opendev.org/openstack/ovn-octavia-provider.git
# Configure designate --------------------------------------------------------
enable_plugin designate https://opendev.org/openstack/designate.git
enable_service designate
enable_service designate-central
enable_service designate-api
enable_service designate-worker
enable_service designate-producer
enable_service designate-mdns