Octaiva Load Balancing CI

This patch adds the octavia CI and removes the legacy neutron
load balancing ci, which is not working properly previously

Change-Id: I78ebf57edcdd9d686ab74ee620c71bd5dfe6e551
Signed-off-by: Lucas H. Xu <hanxu@redhat.com>
This commit is contained in:
Lucas H. Xu 2019-06-13 16:51:19 +00:00
parent 40690f07a4
commit 45cb0bf10a
5 changed files with 34 additions and 54 deletions

View File

@ -1,34 +0,0 @@
- job:
name: rally-task-load-balancing
description: A Rally job for checking Octavia plugins and legacy LbaasV2
parent: rally-task-at-devstack
required-projects:
- name: openstack/devstack
- name: openstack/devstack-gate
- name: openstack/rally
- name: openstack/rally-openstack
- name: openstack/neutron-lbaas
- name: openstack/octavia
vars:
devstack_plugins:
rally-openstack: https://opendev.org/openstack/rally-openstack
neutron-lbaas: https://opendev.org/openstack/neutron-lbaas
octavia: https://opendev.org/openstack/octavia
devstack_services:
neutron-lbaas: true
octavia: true
o-api: true
o-cw: true
o-hm: true
o-hk: true
# disable redundant services for the job
ceilometer-acentral: false
ceilometer-acompute: false
ceilometer-alarm-evaluator: false
ceilometer-alarm-notifier: false
ceilometer-anotification: false
ceilometer-api: false
ceilometer-collector: false
horizon: false
tempest: false
rally_task: rally-jobs/load-balancing.yaml

View File

@ -0,0 +1,31 @@
- job:
name: rally-task-octavia
description: A Rally job for checking Octavia Plugin
parent: rally-task-at-devstack
required-projects:
- name: openstack/devstack-gate
- name: openstack/diskimage-builder
- name: openstack/octavia
- name: openstack/octavia-lib
- name: openstack/python-octaviaclient
- name: openstack/barbican
- name: openstack/python-barbicanclient
vars:
devstack_plugins:
rally-openstack: https://opendev.org/openstack/rally-openstack
octavia: https://opendev.org/openstack/octavia
neutron: https://opendev.org/openstack/neutron
barbican: https://opendev.org/openstack/barbican
devstack_services:
nova: true
glance: true
placement: true
octavia: true
barvican: true
o-api: true
o-cw: true
o-hk: true
o-hm: true
o-da: true
rally_task: rally-jobs/octavia.yaml

View File

@ -34,8 +34,7 @@
voting: false
- rally-task-ironic
- rally-task-keystone-glance-swift
- rally-task-load-balancing:
voting: false
- rally-task-octavia
- rally-task-magnum:
voting: false
files:
@ -86,6 +85,7 @@
#- rally-task-heat
- rally-task-ironic
- rally-task-keystone-glance-swift
- rally-task-octavia
- rally-task-mistral
- rally-task-murano
- rally-task-neutron

View File

@ -50,7 +50,6 @@ config:
features: [cinder-mn-grenade-sub-bak]
neutron_dvr:
features: [neutron-dvr]
branches:
# The value of ""default" is the name of the "trunk" branch
default: master

View File

@ -1,25 +1,9 @@
---
version: 2
title: Task for rally-task-load-balancing job
title: Task for rally-task-octavia job
description: >
This task contains various scenarios for testing load balancing
subtasks:
-
title: Test Legacy lbaas neutron extension
scenario:
NeutronLoadbalancerV2.create_and_list_loadbalancers:
lb_create_args: {}
runner:
constant:
times: 2
concurrency: 2
contexts:
users:
tenants: 2
network: {}
sla:
failure_rate:
max: 0
-
title: Octavia.create_and_list_loadbalancers
workloads: