Deprecate running Kuryr-Kubernetes with lbaasv2

This commit marks the deprecation of the support of neutron-lbaasv2 in
Kuryr-Kubernetes. It adds a deprecation message, release note and
removes the usage of lbaasv2 in the upstream gates.

From now on, the default option for lbaasv2 will always be octavia.

Change-Id: I528fc7c0462445c880d13268435c993c2e2ff00f
This commit is contained in:
Daniel Mellado 2018-06-19 07:12:13 -04:00 committed by Shachar Snapiri
parent c626127e43
commit e9fd1004ab
5 changed files with 23 additions and 74 deletions

View File

@ -35,68 +35,3 @@
vars:
devstack_services:
kuryr-daemon: true
- job:
name: kuryr-kubernetes-tempest-daemon-pools-lbaasv2
parent: kuryr-kubernetes-tempest-daemon-lbaasv2
description: |
Kuryr-Kubernetes tempest job using port-pool feature
vars:
tempest_test_regex: '^(kuryr_tempest_plugin.tests.scenario.test_port_pool.TestPortPoolScenario.test_port_pool)'
devstack_localrc:
KURYR_USE_PORT_POOLS: true
KURYR_POD_VIF_DRIVER: neutron-vif
KURYR_VIF_POOL_DRIVER: neutron
TEMPEST_CONCURRENCY: 1
- job:
name: kuryr-kubernetes-tempest-containerized-lbaasv2
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Tempest with LBaaSV2 and containers
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
parent: kuryr-kubernetes-tempest-daemon-lbaasv2
description: |
Tempest with LBaaSV2, CNI daemon enabled and containers
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
- job:
name: kuryr-kubernetes-tempest-openshift-lbaasv2
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Kuryr-Kubernetes tempest job using lbaasv2 and OpenShift
vars:
devstack_localrc:
DOCKER_CGROUP_DRIVER: "systemd"
devstack_services:
kubernetes-api: false
kubernetes-controller-manager: false
kubernetes-scheduler: false
kubelet: false
openshift-master: true
openshift-node: true
- job:
name: kuryr-kubernetes-tempest-daemon-openshift-lbaasv2
parent: kuryr-kubernetes-tempest-openshift-lbaasv2
description: |
Kuryr-Kubernetes tempest job using lbaasv2, CNI daemon and OpenShift
vars:
devstack_services:
kuryr-daemon: true
voting: false
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-openshift-lbaasv2
description: Tempest with LBaaS v2, CNI daemon enabled, containers and OpenShift
parent: kuryr-kubernetes-tempest-daemon-openshift-lbaasv2
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true

View File

@ -21,10 +21,7 @@
- kuryr-kubernetes-tempest-daemon-octavia
- kuryr-kubernetes-tempest-daemon-openshift-octavia
- kuryr-kubernetes-tempest-daemon-lbaasv2
- kuryr-kubernetes-tempest-daemon-openshift-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-octavia
- kuryr-kubernetes-tempest-multinode-octavia
- kuryr-kubernetes-tempest-octavia-centos-7
- kuryr-kubernetes-tempest-dragonflow
- kuryr-kubernetes-tempest-daemon-containerized-ovn
gate:
@ -37,10 +34,8 @@
- kuryr-kubernetes-tempest-daemon-containerized-octavia
experimental:
jobs:
- kuryr-kubernetes-tempest-containerized-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-openshift-lbaasv2
- kuryr-kubernetes-tempest-daemon-pools-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
- kuryr-kubernetes-tempest-multinode-octavia
- kuryr-kubernetes-tempest-octavia-centos-7
- kuryr-kubernetes-tempest-daemon-containerized-octavia-l2
- kuryr-kubernetes-tempest-daemon-containerized-octavia-namespace
- kuryr-kubernetes-tempest-daemon-ovn

View File

@ -62,7 +62,7 @@
- job:
name: kuryr-kubernetes-tempest-dragonflow
parent: kuryr-kubernetes-tempest-lbaasv2
parent: kuryr-kubernetes-tempest-octavia
description: |
Kuryr-Kubernetes tempest job using Dragonflow
required-projects:

View File

@ -130,7 +130,11 @@ k8s_opts = [
cfg.StrOpt('endpoints_lbaas_driver',
help=_("The driver that provides LoadBalancers for "
"Kubernetes Endpoints"),
default='lbaasv2'),
default='lbaasv2',
deprecated_for_removal=True,
deprecated_reason="Default and supported lbaas endpoint is "
"now Octavia",
deprecated_since="Rocky"),
cfg.StrOpt('vif_pool_driver',
help=_("The driver that manages VIFs pools for "
"Kubernetes Pods"),

View File

@ -0,0 +1,15 @@
---
upgrade:
- |
Legacy Kuryr deployment relying on neutron-lbaas as the LBaaSv2 endpoint is
now deprecated. The possibility of using it as Kuryr's lbaasv2 endpoint
will be totally removed in one of the next releases.
deprecations:
- |
Running Kuryr-Kubernetes with neutron-lbaasv2 is now deprecated. The main
motivation for this is the deprecation of the neutron-lbaas implementation
in favour to Octavia.
Possibility of running Kuryr-Kubernetes with the lbaas handler pointing to
anything but Octavia or SDN lbaas implementations will be removed in
future releases.