0d29292e00
This patch replaces the "kuryr-kubernetes" handling used by tacker's FT to build the k8s environment with "devstack-plugin-container". Also, with the update of devstack-plugin-container, k8s, cri-o and helm will be upgraded. k8s: 1.26.8 -> 1.30.5 crio: 1.26 -> 1.30.5 helm: 3.11.3 -> 3.15.4 The following is a summary of the fixes in this patch. * Remove plugins and settings related to kuryr-kubernetes * Rename parameters with "kuryr" * Modify devstack-plugin-container to be used in FT k8s environment build * Add parameters required by devstack-plugin-container Also, the following is a list of problems that occurred when setting up the k8s environment with devstack-plugin-container and how to fix them. Cannot get bearer_token value: - modified file: roles/setup-default-vim/tasks/main.yaml - The task "Get admin token from described secret" of the Ansible role "setup-default-vim" failed to obtain the value of bearer_token, which is set as a parameter when creating vim, causing an error. Retrying to obtain token fixed the problem. Unknown error in "Create clusterrolebinding on k8s server" task: - modified file: roles/setup-k8s-nodes/tasks/main.yaml - In task "Create clusterrolebinding on k8s server" in Ansible role "setup-k8s-oidc", `failed to download openapi: unknown;` error occurred. The cause was that the pod status of kube-apiserver was "Pending" after executing the previous "Wait for k8s apiserver to restart" task. The error was fixed by waiting for the Pod status to reach the "Running" state. "cni0" is not assigned the intended IP address: - added file: roles/restart-kubelet-service/tasks/main.yaml - When using devstack-plugin-container to create a k8s environment and deploy a Pod, the Pod deployment fails with the error `network: failed to set bridge addr: "cni0" already has an IP address different from 10.x.x.x`. Removing the associated interface and restarting the service cleared the error. Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-container/+/926709 Change-Id: I596a2339f6a3c78fee99b92d7bfb65a6b0244901
848 lines
29 KiB
YAML
848 lines
29 KiB
YAML
- nodeset:
|
|
name: openstack-4-nodes-jammy
|
|
nodes:
|
|
- name: controller
|
|
label: ubuntu-jammy
|
|
- name: controller-tacker
|
|
label: ubuntu-jammy
|
|
- name: compute1
|
|
label: ubuntu-jammy
|
|
- name: compute2
|
|
label: ubuntu-jammy
|
|
groups:
|
|
# Nodes running the compute service
|
|
- name: compute
|
|
nodes:
|
|
- compute1
|
|
- compute2
|
|
# Nodes that are not the controller
|
|
- name: subnode
|
|
nodes:
|
|
- controller-tacker
|
|
- compute1
|
|
- compute2
|
|
# Switch node for multinode networking setup
|
|
- name: switch
|
|
nodes:
|
|
- controller
|
|
# Peer nodes for multinode networking setup
|
|
- name: peers
|
|
nodes:
|
|
- controller-tacker
|
|
- compute1
|
|
- compute2
|
|
|
|
- nodeset:
|
|
name: openstack-k8s-3-nodes-jammy
|
|
nodes:
|
|
- name: controller
|
|
label: ubuntu-jammy
|
|
- name: controller-tacker
|
|
label: ubuntu-jammy
|
|
- name: controller-k8s
|
|
label: ubuntu-jammy
|
|
groups:
|
|
- name: subnode
|
|
nodes:
|
|
- controller-tacker
|
|
- controller-k8s
|
|
- name: switch
|
|
nodes:
|
|
- controller
|
|
- name: peers
|
|
nodes:
|
|
- controller-tacker
|
|
- controller-k8s
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-parent
|
|
parent: devstack
|
|
description: |
|
|
Abstraction multinodes job for SOL devstack-based functional tests
|
|
nodeset: openstack-4-nodes-jammy
|
|
pre-run: playbooks/devstack/pre.yaml
|
|
run: playbooks/devstack/run.yaml
|
|
post-run: playbooks/devstack/post.yaml
|
|
roles:
|
|
- zuul: openstack-infra/devstack
|
|
timeout: 10800
|
|
required-projects:
|
|
- openstack/cinder
|
|
- openstack/glance
|
|
- openstack/keystone
|
|
- openstack/neutron
|
|
- openstack/nova
|
|
- openstack/placement
|
|
- openstack/aodh
|
|
- openstack/horizon
|
|
- openstack/barbican
|
|
- openstack/heat
|
|
- openstack/networking-sfc
|
|
- openstack/python-barbicanclient
|
|
- openstack/python-tackerclient
|
|
- openstack/tacker
|
|
- openstack/tacker-horizon
|
|
vars:
|
|
devstack_localrc:
|
|
CELLSV2_SETUP: singleconductor
|
|
PHYSICAL_NETWORK: mgmtphysnet0
|
|
OVS_BRIDGE_MAPPINGS: public:br-ex,mgmtphysnet0:br-infra
|
|
DATABASE_TYPE: mysql
|
|
KEYSTONE_SERVICE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
MYSQL_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
GNOCCHI_SERVICE_HOST: "{{ hostvars['controller-tacker']['nodepool']['private_ipv4'] }}"
|
|
Q_SERVICE_PLUGIN_CLASSES: ovn-router,networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin,neutron.services.qos.qos_plugin.QoSPlugin,qos
|
|
L2_AGENT_EXTENSIONS: qos
|
|
DEVSTACK_PARALLEL: True
|
|
OVN_L3_CREATE_PUBLIC_NETWORK: true
|
|
OVN_DBS_LOG_LEVEL: dbg
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
test_matrix_configs: [neutron]
|
|
zuul_work_dir: src/opendev.org/openstack/tacker
|
|
host-vars:
|
|
controller:
|
|
devstack_local_conf:
|
|
post-config:
|
|
# NOTE: workaround for Heat timeout due to communication
|
|
# problem between nova and neutron.
|
|
$NEUTRON_CONF:
|
|
DEFAULT:
|
|
client_socket_timeout: 60
|
|
$NEUTRON_DHCP_CONF:
|
|
DEFAULT:
|
|
enable_isolated_metadata: True
|
|
# NOTE: workaround for Cinder image volume cache problem.
|
|
# https://bugs.launchpad.net/cinder/+bug/1953704
|
|
$CINDER_CONF:
|
|
lvmdriver-1:
|
|
image_volume_cache_enabled: False
|
|
devstack_plugins:
|
|
heat: https://opendev.org/openstack/heat
|
|
networking-sfc: https://opendev.org/openstack/networking-sfc
|
|
aodh: https://opendev.org/openstack/aodh
|
|
barbican: https://opendev.org/openstack/barbican
|
|
devstack_services:
|
|
# Core services enabled for this branch.
|
|
# This list replaces the test-matrix.
|
|
# Shared services
|
|
mysql: true
|
|
rabbit: true
|
|
tls-proxy: false
|
|
# Keystone services
|
|
key: true
|
|
# Glance services
|
|
g-api: true
|
|
# Nova services
|
|
n-api: true
|
|
n-api-meta: true
|
|
n-cond: true
|
|
n-cpu: false
|
|
n-novnc: true
|
|
n-sch: true
|
|
placement-api: true
|
|
# OVN services
|
|
ovn-controller: true
|
|
ovn-northd: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
# Neutron services
|
|
q-svc: true
|
|
q-qos: true
|
|
q-ovn-metadata-agent: true
|
|
# Cinder services
|
|
c-api: true
|
|
c-sch: true
|
|
c-vol: true
|
|
cinder: true
|
|
# Services we don't need.
|
|
# This section is not really needed, it's for readability.
|
|
horizon: false
|
|
tempest: false
|
|
swift: false
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
c-bak: false
|
|
tox_install_siblings: false
|
|
controller-tacker:
|
|
devstack_plugins:
|
|
tacker: https://opendev.org/openstack/tacker
|
|
devstack_services:
|
|
# OVN services
|
|
ovn-controller: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
# Neutron services
|
|
q-ovn-metadata-agent: true
|
|
# Tacker services
|
|
tacker: true
|
|
tacker-conductor: true
|
|
group-vars:
|
|
compute:
|
|
# Since a VirtualInterfaceCreateException occurs during a test,
|
|
# the setting of network-vif-plugged is changed by the reference of
|
|
# the following URL.
|
|
# https://bugs.launchpad.net/heat/+bug/1694371
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NOVA_CONF:
|
|
DEFAULT:
|
|
vif_plugging_is_fatal: False
|
|
subnode:
|
|
devstack_localrc:
|
|
CELLSV2_SETUP: singleconductor
|
|
PHYSICAL_NETWORK: mgmtphysnet0
|
|
OVS_BRIDGE_MAPPINGS: public:br-ex,mgmtphysnet0:br-infra
|
|
DATABASE_TYPE: mysql
|
|
KEYSTONE_SERVICE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
MYSQL_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
GNOCCHI_SERVICE_HOST: "{{ hostvars['controller-tacker']['nodepool']['private_ipv4'] }}"
|
|
TACKER_HOST: "{{ hostvars['controller-tacker']['nodepool']['private_ipv4'] }}"
|
|
TACKER_MODE: standalone
|
|
IS_ZUUL_FT: True
|
|
Q_SERVICE_PLUGIN_CLASSES: "qos,\
|
|
networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin,\
|
|
neutron.services.qos.qos_plugin.QoSPlugin,\
|
|
ovn-router"
|
|
L2_AGENT_EXTENSIONS: qos
|
|
ENABLE_CHASSIS_AS_GW: false
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
devstack_services:
|
|
# To override the parent job's definitions.
|
|
tls-proxy: false
|
|
# OVN services
|
|
ovn-controller: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
# Neutron services
|
|
q-ovn-metadata-agent: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-legacy-nfvo
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests for legacy_nfvo
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-sol-legacy-nfvo
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-vnflcm
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests for vnflcm
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
database:
|
|
max_pool_size: 0
|
|
tox_envlist: dsvm-functional-sol-vnflcm
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-vnflcm-userdata
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests for vnflcm with userdata
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
database:
|
|
max_pool_size: 0
|
|
tox_envlist: dsvm-functional-sol-vnflcm-userdata
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-vnfpkgm
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests for vnfpkgm
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-sol-vnfpkgm
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-v2-basic
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL V2 devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
server_notification:
|
|
server_notification: true
|
|
prometheus_plugin:
|
|
auto_scaling: true
|
|
auto_healing: true
|
|
v2_vnfm:
|
|
# Notes: The List API will return 'Link' Header in response
|
|
# body only if page_size is not 0. This job will check 'Link'
|
|
# Header, so these page_size parameters are set to 1.
|
|
vnf_instance_page_size: 1
|
|
lcm_op_occ_page_size: 1
|
|
tox_envlist: dsvm-functional-sol-v2-basic
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-v2-vnflcm
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL V2 devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
server_notification:
|
|
server_notification: true
|
|
prometheus_plugin:
|
|
auto_scaling: true
|
|
auto_healing: true
|
|
tox_envlist: dsvm-functional-sol-v2-vnflcm
|
|
voting: false
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-v2-notification
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL V2 devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
server_notification:
|
|
server_notification: true
|
|
tox_envlist: dsvm-functional-sol-v2-notification
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-v2-prometheus
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL V2 devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
prometheus_plugin:
|
|
auto_scaling: true
|
|
auto_healing: true
|
|
tox_envlist: dsvm-functional-sol-v2-prometheus
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-multi-tenant
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL Multi tenant devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-sol-multi-tenant
|
|
vars:
|
|
setup_multi_tenant: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-separated-nfvo
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests
|
|
with separated NFVO
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
connect_vnf_packages:
|
|
base_url: http://127.0.0.1:9990/vnfpkgm/v1/vnf_packages
|
|
pipeline: package_content,vnfd,artifacts
|
|
connect_grant:
|
|
base_url: http://127.0.0.1:9990/grant/v1/grants
|
|
openstack_vim:
|
|
stack_retries: 120
|
|
tox_envlist: dsvm-functional-sol-separated-nfvo
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-separated-nfvo-v2
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests
|
|
with separated V2 NFVO
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
v2_nfvo:
|
|
use_external_nfvo: True
|
|
endpoint: http://127.0.0.1:9990
|
|
token_endpoint: http://127.0.0.1:9990/token
|
|
client_id: 229ec984de7547b2b662e968961af5a4
|
|
client_password: devstack
|
|
use_client_secret_basic: True
|
|
tox_envlist: dsvm-functional-sol-separated-nfvo-v2
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-v2-individual-vnfc-mgmt
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinode job for SOL V2 devstack-based individual vnfc mgmt functional
|
|
tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
v2_vnfm:
|
|
# Notes: The List API will return 'Link' Header in response
|
|
# body only if page_size is not 0. This job will check 'Link'
|
|
# Header, so these page_size parameters are set to 1.
|
|
vnf_instance_page_size: 1
|
|
lcm_op_occ_page_size: 1
|
|
tox_envlist: dsvm-functional-sol-v2-individual-vnfc-mgmt
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-kubernetes-parent
|
|
parent: devstack
|
|
description: |
|
|
Abstraction multinodes job for SOL devstack-based kubernetes functional
|
|
tests
|
|
nodeset: openstack-k8s-3-nodes-jammy
|
|
pre-run: playbooks/devstack/pre.yaml
|
|
run: playbooks/devstack/run.yaml
|
|
post-run: playbooks/devstack/post.yaml
|
|
roles:
|
|
- zuul: openstack-infra/devstack
|
|
timeout: 10800
|
|
required-projects:
|
|
- openstack/barbican
|
|
- openstack/cinder
|
|
- openstack/devstack-plugin-container
|
|
- openstack/glance
|
|
- openstack/heat
|
|
- openstack/horizon
|
|
- openstack/keystone
|
|
- openstack/neutron
|
|
- openstack/nova
|
|
- openstack/placement
|
|
- openstack/python-barbicanclient
|
|
- openstack/python-tackerclient
|
|
- openstack/tacker
|
|
- openstack/tacker-horizon
|
|
host-vars:
|
|
controller:
|
|
devstack_plugins:
|
|
barbican: https://opendev.org/openstack/barbican
|
|
heat: https://opendev.org/openstack/heat
|
|
neutron: https://opendev.org/openstack/neutron
|
|
devstack_services:
|
|
base: false
|
|
c-api: true
|
|
c-bak: false
|
|
c-sch: true
|
|
c-vol: true
|
|
cinder: true
|
|
coredns: false
|
|
etcd3: true
|
|
g-api: true
|
|
g-reg: true
|
|
horizon: false
|
|
key: true
|
|
mysql: true
|
|
n-api-meta: true
|
|
n-api: true
|
|
n-cond: true
|
|
n-cpu: false
|
|
n-novnc: true
|
|
n-sch: true
|
|
neutron: true
|
|
placement-api: true
|
|
placement-client: true
|
|
ovn-controller: true
|
|
ovn-northd: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
q-qos: true
|
|
q-svc: true
|
|
q-ovn-metadata-agent: true
|
|
rabbit: true
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
swift: false
|
|
tempest: false
|
|
tls-proxy: false
|
|
tox_install_siblings: false
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
kubernetes_vim:
|
|
stack_retries: 120
|
|
devstack_services:
|
|
ovn-controller: true
|
|
ovn-northd: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
q-ovn-metadata-agent: true
|
|
tacker: true
|
|
tacker-conductor: true
|
|
devstack_plugins:
|
|
tacker: https://opendev.org/openstack/tacker
|
|
controller-k8s:
|
|
devstack_local_conf: {}
|
|
devstack_plugins:
|
|
devstack-plugin-container: https://opendev.org/openstack/devstack-plugin-container
|
|
devstack_services:
|
|
etcd3: false
|
|
ovn-controller: true
|
|
ovn-northd: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
q-ovn-metadata-agent: true
|
|
container: true
|
|
k8s-master: true
|
|
tox_install_siblings: false
|
|
group-vars:
|
|
subnode:
|
|
devstack_localrc:
|
|
CELLSV2_SETUP: singleconductor
|
|
DATABASE_TYPE: mysql
|
|
IS_ZUUL_FT: True
|
|
K8S_API_SERVER_IP: "{{ hostvars['controller-k8s']['nodepool']['private_ipv4'] }}"
|
|
KEYSTONE_SERVICE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
CONTAINER_ENGINE: crio
|
|
K8S_VERSION: "1.30.5"
|
|
CRIO_VERSION: "1.30.5"
|
|
MYSQL_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
OVS_BRIDGE_MAPPINGS: public:br-ex,mgmtphysnet0:br-infra
|
|
PHYSICAL_NETWORK: mgmtphysnet0
|
|
TACKER_HOST: "{{ hostvars['controller-tacker']['nodepool']['private_ipv4'] }}"
|
|
TACKER_MODE: standalone
|
|
USE_PYTHON3: true
|
|
ENABLE_CHASSIS_AS_GW: false
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
# TODO(ueha): Remove this workarround if the Zuul jobs succeed with GLOBAL_VENV=true
|
|
GLOBAL_VENV: false
|
|
K8S_TOKEN: "9agf12.zsu5uh2m4pzt3qba"
|
|
devstack_services:
|
|
dstat: false
|
|
horizon: false
|
|
n-api-meta: false
|
|
n-api: false
|
|
n-cauth: false
|
|
n-cond: false
|
|
n-cpu: true
|
|
n-novnc: false
|
|
n-obj: false
|
|
n-sch: false
|
|
ovn-controller: true
|
|
ovs-vswitchd: true
|
|
ovsdb-server: true
|
|
q-ovn-metadata-agent: true
|
|
tls-proxy: false
|
|
vars:
|
|
devstack_localrc:
|
|
CELLSV2_SETUP: singleconductor
|
|
DATABASE_TYPE: mysql
|
|
ETCD_USE_RAMDISK: true
|
|
IS_ZUUL_FT: True
|
|
KEYSTONE_SERVICE_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
L2_AGENT_EXTENSIONS: qos
|
|
MYSQL_HOST: "{{ hostvars['controller']['nodepool']['private_ipv4'] }}"
|
|
OVS_BRIDGE_MAPPINGS: public:br-ex,mgmtphysnet0:br-infra
|
|
PHYSICAL_NETWORK: mgmtphysnet0
|
|
Q_SERVICE_PLUGIN_CLASSES: ovn-router,neutron.services.qos.qos_plugin.QoSPlugin,qos
|
|
TACKER_HOST: "{{ hostvars['controller-tacker']['nodepool']['private_ipv4'] }}"
|
|
TACKER_MODE: standalone
|
|
USE_PYTHON3: true
|
|
DEVSTACK_PARALLEL: True
|
|
OVN_L3_CREATE_PUBLIC_NETWORK: true
|
|
OVN_DBS_LOG_LEVEL: dbg
|
|
Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
|
|
# TODO(ueha): Remove this workarround if the Zuul jobs succeed with GLOBAL_VENV=true
|
|
GLOBAL_VENV: false
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_DHCP_CONF:
|
|
DEFAULT:
|
|
enable_isolated_metadata: True
|
|
k8s_api_url: "https://{{ hostvars['controller-k8s']['nodepool']['private_ipv4'] }}:6443"
|
|
k8s_ssl_verify: true
|
|
helm_version: "3.15.4"
|
|
test_matrix_configs: [neutron]
|
|
zuul_work_dir: src/opendev.org/openstack/tacker
|
|
zuul_copy_output:
|
|
'{{ devstack_log_dir }}/kubernetes': 'logs'
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-kubernetes
|
|
parent: tacker-functional-devstack-multinode-sol-kubernetes-parent
|
|
description: |
|
|
Multinodes job for SOL Kubernetes Multi tenant devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
database:
|
|
max_pool_size: 0
|
|
tox_envlist: dsvm-functional-sol-kubernetes
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-kubernetes-multi-tenant
|
|
parent: tacker-functional-devstack-multinode-sol-kubernetes-parent
|
|
description: |
|
|
Multinodes job for SOL Kubernetes Multi tenant devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-sol-kubernetes-multi-tenant
|
|
vars:
|
|
setup_multi_tenant: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-kubernetes-v2
|
|
parent: tacker-functional-devstack-multinode-sol-kubernetes-parent
|
|
description: |
|
|
Multinodes job for SOL Kubernetes V2 devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
v2_vnfm:
|
|
kubernetes_vim_rsc_wait_timeout: 800
|
|
prometheus_plugin:
|
|
fault_management: true
|
|
performance_management: true
|
|
auto_scaling: true
|
|
auto_healing: true
|
|
test_rule_with_promtool: true
|
|
tox_envlist: dsvm-functional-sol-kubernetes-v2
|
|
vars:
|
|
prometheus_setup: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-https-v2
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests
|
|
with https request
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
v2_vnfm:
|
|
notification_verify_cert: true
|
|
notification_ca_cert_file: /etc/https_server/ssl/ca.crt
|
|
use_oauth2_mtls_for_heat: false
|
|
heat_verify_cert: true
|
|
heat_ca_cert_file: /etc/https_server/ssl/ca.crt
|
|
prometheus_plugin:
|
|
fault_management: true
|
|
performance_management: true
|
|
auto_scaling: true
|
|
performance_management_package: tacker.sol_refactored.common.monitoring_plugin_base
|
|
performance_management_class: MonitoringPluginStub
|
|
v2_nfvo:
|
|
use_external_nfvo: true
|
|
endpoint: https://localhost:9990
|
|
token_endpoint: https://localhost:9990/token
|
|
client_id: 229ec984de7547b2b662e968961af5a4
|
|
client_password: devstack
|
|
nfvo_verify_cert: true
|
|
nfvo_ca_cert_file: /etc/https_server/ssl/ca.crt
|
|
use_client_secret_basic: true
|
|
tox_envlist: dsvm-functional-sol-https-v2
|
|
vars:
|
|
https_setup: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-encrypt-cred-barbican
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests
|
|
with encrypt credentials
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
DEFAULT:
|
|
use_credential_encryption: true
|
|
keymanager_type: "barbican"
|
|
v2_nfvo:
|
|
use_external_nfvo: true
|
|
endpoint: https://localhost:9990
|
|
token_endpoint: https://localhost:9990/token
|
|
client_id: 229ec984de7547b2b662e968961af5a4
|
|
client_password: devstack
|
|
nfvo_ca_cert_file: /etc/https_server/ssl/ca.crt
|
|
nfvo_verify_cert: true
|
|
use_client_secret_basic: true
|
|
tox_envlist: dsvm-functional-sol-encrypt-cred-barbican
|
|
vars:
|
|
https_setup: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-encrypt-cred-local
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based functional tests
|
|
with encrypt credentials
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
DEFAULT:
|
|
use_credential_encryption: true
|
|
keymanager_type: "local"
|
|
crypt_key_dir: "/etc/tacker/crypt/fernet_keys"
|
|
v2_nfvo:
|
|
use_external_nfvo: true
|
|
endpoint: https://localhost:9990
|
|
token_endpoint: https://localhost:9990/token
|
|
client_id: 229ec984de7547b2b662e968961af5a4
|
|
client_password: devstack
|
|
nfvo_ca_cert_file: /etc/https_server/ssl/ca.crt
|
|
nfvo_verify_cert: true
|
|
use_client_secret_basic: true
|
|
tox_envlist: dsvm-functional-sol-encrypt-cred-local
|
|
vars:
|
|
https_setup: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-kubernetes-oidc-auth
|
|
parent: tacker-functional-devstack-multinode-sol-kubernetes-v2
|
|
description: |
|
|
Multinodes job for Kubernetes OIDC Auth tests
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-sol_kubernetes_oidc_auth
|
|
vars:
|
|
keycloak_host: "{{ hostvars['controller-k8s']['nodepool']['private_ipv4'] }}"
|
|
keycloak_http_port: 8080
|
|
keycloak_https_port: 8443
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-v2-az-retry
|
|
parent: tacker-functional-devstack-multinode-sol-v2
|
|
description: |
|
|
Multinodes job for retry of AZ selection in SOL V2 devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
v2_nfvo:
|
|
test_grant_zone_list: az-1
|
|
v2_vnfm:
|
|
placement_fallback_best_effort: true
|
|
enable_rollback_stack: true
|
|
devstack_services:
|
|
n-cpu: true
|
|
placement-client: true
|
|
tox_envlist: dsvm-functional-sol-v2-az-retry
|
|
vars:
|
|
setup_multi_az: true
|
|
controller_tacker_hostname: "{{ hostvars['controller-tacker']['ansible_hostname'] }}"
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-enhanced-policy-sol
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Enhanced policy job for SOL devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-enhanced-policy-sol
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
oslo_policy:
|
|
enhanced_tacker_policy: True
|
|
vars:
|
|
config_enhanced_policy: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-enhanced-policy-sol-kubernetes
|
|
parent: tacker-functional-devstack-multinode-sol-kubernetes-v2
|
|
description: |
|
|
Enhanced policy job for SOL Kubernetes devstack-based functional tests
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-enhanced-policy-sol-kubernetes
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
oslo_policy:
|
|
enhanced_tacker_policy: True
|
|
vars:
|
|
config_enhanced_policy: true
|
|
|
|
- job:
|
|
name: tacker-functional-devstack-multinode-sol-terraform-v2
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL Terraform devstack-based functional tests
|
|
attempts: 1
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-functional-sol-terraform-v2
|
|
devstack_local_conf:
|
|
post-config:
|
|
$TACKER_CONF:
|
|
v2_vnfm:
|
|
tf_file_dir: /tmp/tacker/terraform
|
|
vars:
|
|
terraform_setup: true
|
|
|
|
- job:
|
|
name: tacker-compliance-devstack-multinode-sol
|
|
parent: tacker-functional-devstack-multinode-sol-parent
|
|
description: |
|
|
Multinodes job for SOL devstack-based compliance tests
|
|
host-vars:
|
|
controller-tacker:
|
|
tox_envlist: dsvm-compliance-sol-api
|
|
voting: false
|
|
|
|
- project:
|
|
templates:
|
|
- check-requirements
|
|
- openstack-cover-jobs
|
|
- openstack-python3-jobs
|
|
- publish-openstack-docs-pti
|
|
- release-notes-jobs-python3
|
|
check:
|
|
jobs:
|
|
- tacker-functional-devstack-multinode-sol-legacy-nfvo
|
|
- tacker-functional-devstack-multinode-sol-vnflcm
|
|
- tacker-functional-devstack-multinode-sol-vnflcm-userdata
|
|
- tacker-functional-devstack-multinode-sol-vnfpkgm
|
|
- tacker-functional-devstack-multinode-sol-separated-nfvo
|
|
- tacker-functional-devstack-multinode-sol-kubernetes
|
|
- tacker-functional-devstack-multinode-sol-v2-basic
|
|
- tacker-functional-devstack-multinode-sol-v2-vnflcm
|
|
- tacker-functional-devstack-multinode-sol-v2-notification
|
|
- tacker-functional-devstack-multinode-sol-v2-prometheus
|
|
- tacker-functional-devstack-multinode-sol-separated-nfvo-v2
|
|
- tacker-functional-devstack-multinode-sol-v2-individual-vnfc-mgmt
|
|
- tacker-functional-devstack-multinode-sol-kubernetes-v2
|
|
- tacker-functional-devstack-multinode-sol-multi-tenant
|
|
- tacker-functional-devstack-multinode-sol-https-v2
|
|
- tacker-functional-devstack-multinode-sol-encrypt-cred-barbican
|
|
- tacker-functional-devstack-multinode-sol-encrypt-cred-local
|
|
- tacker-functional-devstack-multinode-sol-kubernetes-multi-tenant
|
|
- tacker-functional-devstack-kubernetes-oidc-auth
|
|
- tacker-functional-devstack-multinode-sol-v2-az-retry
|
|
- tacker-functional-devstack-enhanced-policy-sol
|
|
- tacker-functional-devstack-enhanced-policy-sol-kubernetes
|
|
- tacker-compliance-devstack-multinode-sol
|
|
- tacker-functional-devstack-multinode-sol-terraform-v2
|