ca770736ed
This commit enables basic support for IPv6 pod and service subnet. Also two gates are added - an OVS and OVN one, both as non-voting at the moment. The DevStack changes are mostly about putting correct --ethertype on SGs, using ip6tables and IPv6 subnetpool. The Kuryr change required putting IPv6 address of K8s API in brackets. Please note that this unblocks just the most basic use case, network policy support will still not work with IPv6. Depends-On: https://review.opendev.org/#/c/707103/ Implements: blueprint kuryr-ipv6-support Change-Id: Id56b622a5038d8e5c072aa00a9f38a2418e6268f
166 lines
5.3 KiB
YAML
166 lines
5.3 KiB
YAML
# Copyright 2018 Red Hat, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest
|
|
parent: kuryr-kubernetes-tempest-base
|
|
description: |
|
|
Kuryr-Kubernetes tempest job using octavia
|
|
required-projects:
|
|
- openstack/barbican
|
|
- openstack/octavia
|
|
- openstack/python-barbicanclient
|
|
- openstack/python-octaviaclient
|
|
pre-run: playbooks/get_amphora_tarball.yaml
|
|
host-vars:
|
|
controller:
|
|
devstack_plugins:
|
|
octavia: https://opendev.org/openstack/octavia
|
|
barbican: https://opendev.org/openstack/barbican
|
|
vars:
|
|
devstack_localrc:
|
|
OCTAVIA_AMP_IMAGE_FILE: "/tmp/test-only-amphora-x64-haproxy-ubuntu-bionic.qcow2"
|
|
OCTAVIA_AMP_IMAGE_SIZE: 3
|
|
OCTAVIA_AMP_IMAGE_NAME: "test-only-amphora-x64-haproxy-ubuntu-bionic"
|
|
devstack_local_conf:
|
|
post-config:
|
|
$OCTAVIA_CONF:
|
|
controller_worker:
|
|
amp_active_retries: 9999
|
|
devstack_services:
|
|
octavia: true
|
|
o-api: true
|
|
o-cw: true
|
|
o-hk: true
|
|
o-hm: true
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-centos-7
|
|
parent: kuryr-kubernetes-tempest
|
|
nodeset: openstack-centos-7-single-node
|
|
voting: false
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized
|
|
parent: kuryr-kubernetes-tempest
|
|
description: |
|
|
Kuryr-Kubernetes tempest job running kuryr containerized
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-ipv6
|
|
parent: kuryr-kubernetes-tempest-containerized
|
|
description: |
|
|
Kuryr-Kubernetes tempest job running kuryr containerized with IPv6 pod
|
|
and service networks
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_IPV6: true
|
|
voting: false
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-lower-constraints
|
|
parent: kuryr-kubernetes-tempest-containerized
|
|
description: |
|
|
Kuryr-Kubernetes tempest job running kuryr containerized with
|
|
requirments from lower-constraints.txt
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_CONTAINERS_USE_LOWER_CONSTRAINTS: true
|
|
voting: false
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-l2
|
|
parent: kuryr-kubernetes-tempest-containerized
|
|
description: |
|
|
Kuryr-Kubernetes tempest job using octavia in l2 mode, kuryr containerized
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_K8S_OCTAVIA_MEMBER_MODE: L2
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-openshift
|
|
parent: kuryr-kubernetes-tempest
|
|
description: |
|
|
Kuryr-Kubernetes tempest job using OpenShift
|
|
vars:
|
|
devstack_localrc:
|
|
DOCKER_CGROUP_DRIVER: "systemd"
|
|
KURYR_ENABLED_HANDLERS: vif,lb,lbaasspec,namespace,pod_label,policy,kuryrnetpolicy
|
|
KURYR_SG_DRIVER: policy
|
|
KURYR_SUBNET_DRIVER: namespace
|
|
devstack_services:
|
|
kubernetes-api: false
|
|
kubernetes-controller-manager: false
|
|
kubernetes-scheduler: false
|
|
kubelet: false
|
|
coredns: true
|
|
openshift-master: true
|
|
openshift-node: true
|
|
voting: false
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-pools-namespace
|
|
description: |
|
|
Tempest with containers, port pools and namespace subnet driver
|
|
parent: kuryr-kubernetes-tempest-containerized
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_SUBNET_DRIVER: namespace
|
|
KURYR_ENABLED_HANDLERS: vif,lb,lbaasspec,namespace,pod_label,policy,kuryrnetpolicy
|
|
KURYR_SG_DRIVER: policy
|
|
KURYR_USE_PORT_POOLS: true
|
|
KURYR_POD_VIF_DRIVER: neutron-vif
|
|
KURYR_VIF_POOL_DRIVER: neutron
|
|
KURYR_CONFIGMAP_MODIFIABLE: true
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-network-policy
|
|
description: |
|
|
Tempest with Octavia, containers and network policy driver
|
|
parent: kuryr-kubernetes-tempest-containerized
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_ENABLED_HANDLERS: vif,lb,lbaasspec,namespace,pod_label,policy,kuryrnetpolicy
|
|
KURYR_SG_DRIVER: policy
|
|
KURYR_SUBNET_DRIVER: namespace
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-openshift
|
|
description: Tempest with containers and OpenShift
|
|
parent: kuryr-kubernetes-tempest-openshift
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-openshift-serial
|
|
description: Tempest running in serial, containers and OpenShift
|
|
parent: kuryr-kubernetes-tempest-containerized-openshift
|
|
vars:
|
|
devstack_localrc:
|
|
KURYR_K8S_SERIAL_TESTS: True
|
|
tempest_concurrency: 1
|
|
|
|
- job:
|
|
name: kuryr-kubernetes-tempest-containerized-crio
|
|
parent: kuryr-kubernetes-tempest-containerized
|
|
nodeset: openstack-single-node-bionic
|
|
vars:
|
|
devstack_localrc:
|
|
CONTAINER_ENGINE: crio
|
|
voting: false
|