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

126 lines
3.8 KiB
Plaintext

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=${ADMIN_PASSWORD}
RABBIT_PASSWORD=${ADMIN_PASSWORD}
SERVICE_PASSWORD=${ADMIN_PASSWORD}
DATABASE_TYPE=mysql
LOGFILE=/opt/stack/devstack/stack.log
VERBOSE=True
LOG_COLOR=True
MULTI_HOST=1
IP_VERSION=4
HOST_IP={{ devstack_host_ip }}
# FLOATING_RANGE=192.168.56.128/25
SERVICE_HOST={{ devstack_primary_host_ip }}
MYSQL_HOST=${SERVICE_HOST}
RABBIT_HOST=${SERVICE_HOST}
GLANCE_HOSTPORT=${SERVICE_HOST}:9292
# ENABLE_CHASSIS_AS_GW=True
ENABLE_TLS=False
ML2_L3_PLUGIN=ovn-router,trunk
OVN_BUILD_MODULES=False
OVN_DBS_LOG_LEVEL=dbg
OVN_IGMP_SNOOPING_ENABLE=True
OVN_L3_CREATE_PUBLIC_NETWORK=True
# PHYSICAL_NETWORK=public
# PUBLIC_INTERFACE={{ devstack_public_interface }}
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
Q_USE_PROVIDERNET_FOR_PUBLIC=True
# Whether or not to build custom openvswitch kernel modules from the ovs git
# tree. This is disabled by default. This is required unless your distro kernel
# includes ovs+conntrack support. This support was first released in Linux 4.3,
# and will likely be backported by some distros.
# NOTE(mjozefcz): We need to compile the module for Ubuntu Bionic, because default
# shipped kernel module doesn't openflow meter action support.
OVN_BUILD_MODULES=False
GLANCE_ENABLE_QUOTAS=False
TOBIKO_NEUTRON_IPV4_DNS_NAMESERVERS=1.1.1.1,8.8.8.8
{% if devstack_primary %}
# Devstack primary node =======================================================
# 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 s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
disable_service tempest
disable_service tls-proxy
# 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 neutron-segments
enable_service ovn-controller
enable_service ovn-northd
enable_service ovs-vswitchd
enable_service ovsdb-server
enable_service q-dns
enable_service q-log
enable_service q-ovn-metadata-agent
enable_service q-port-forwarding
enable_service q-qos
enable_service q-svc
enable_service q-trunk
# Disable Neutron agents not used with OVN.
disable_service q-agt
disable_service q-l3
disable_service q-dhcp
disable_service q-meta
# Configure Horizon -----------------------------------------------------------
disable_service horizon
# Configure Glance ------------------------------------------------------------
enable_service g-api
# Configure Cinder ------------------------------------------------------------
enable_service c-api
disable_service c-bak
enable_service c-sch
enable_service 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
{% elif devstack_secondary %}
# Devstack secondary node =====================================================
enable_plugin neutron https://opendev.org/openstack/neutron.git
ENABLED_SERVICES=n-cpu,c-vol,placement-client,ovn-controller,ovs-vswitchd,ovsdb-server,q-ovn-metadata-agent
{% endif %}