Fix neutron with extensions job

* Extend neutron-with-extensions job with a proper required_projects
  section. It allows to launch all neutron extensions which we have
  in legacy job (except openstack/neutron-fwaas which has
  broken/uncompatible devstack plugin)
* Move load-balancing checks to the separate job

Change-Id: Iafa8950c3140987af7141a156e972eee1379f5d9
This commit is contained in:
Andrey Kurilin 2018-03-12 12:06:53 +02:00
parent ebaae2415b
commit 047d6cec82
4 changed files with 72 additions and 8 deletions

View File

@ -0,0 +1,34 @@
- 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-dev/devstack
- name: openstack-infra/devstack-gate
- name: openstack/rally
- name: openstack/rally-openstack
- name: openstack/neutron-lbaas
- name: openstack/octavia
vars:
devstack_plugins:
rally-openstack: https://git.openstack.org/openstack/rally-openstack
neutron-lbaas: git://git.openstack.org/openstack/neutron-lbaas
octavia: https://git.openstack.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

@ -1,20 +1,28 @@
- job:
name: rally-task-neutron-with-extensions
parent: rally-task-at-devstack
required-projects:
- name: openstack-dev/devstack
- name: openstack-infra/devstack-gate
- name: openstack/rally
- name: openstack/rally-openstack
- name: openstack/networking-bgpvpn
# NOTE(andreykurilin): this neutron plugin uses an old naming of
# devstack neutron services. The wrong check triggers call of
# an old (legacy) neutron devstack plugin and turns off all neutron
# services except q-svc
#- name: openstack/neutron-fwaas
- name: openstack/neutron-vpnaas
vars:
devstack_plugins:
rally-openstack: https://git.openstack.org/openstack/rally-openstack
networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
neutron-fwaas: https://git.openstack.org/openstack/neutron-fwaas
neutron-lbaas: git://git.openstack.org/openstack/neutron-lbaas
#neutron-fwaas: https://git.openstack.org/openstack/neutron-fwaas
neutron-vpnaas: https://git.openstack.org/openstack/neutron-vpnaas
octavia: https://git.openstack.org/openstack/octavia
devstack_services:
networking-bgpvpn: true
neutron-fwaas: true
neutron-lbaas: true
#neutron-fwaas: true
neutron-vpnaas: true
octavia: true
# disable redundant services for the job
ceilometer-acentral: false
ceilometer-acompute: false

View File

@ -44,6 +44,8 @@
- rally-task-heat
- rally-task-ironic
- rally-task-keystone-glance-swift
- rally-task-load-balancing:
voting: false
- rally-task-magnum:
voting: false
# NOTE(andreykurilin): manila requires some specific configuration.
@ -57,10 +59,8 @@
- rally-task-murano
- rally-task-neutron
- rally-task-neutron-with-extensions:
# more services should be enabled
voting: false
- rally-task-nova:
# should fail due to novaclient release
voting: false
# it did not work for a long time
#- rally-task-senlin

View File

@ -0,0 +1,22 @@
---
version: 2
title: Task for rally-task-load-balancing 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