Create experimental Neutron DVR+HA multinode job

Adding a three node label to nodepool as we need a three node
setup to test DVR+HA with tempest.
Existing Devstack gate will set agent_mode to 'dvr' in both compute
nodes. So it is still a DVR only multinode setup with 3 nodes.
Change[1] in devstack gate submitted to change one compute node's
agent_mode to dvr_snat, to make it DVR+HA.

[1] https://review.openstack.org/#/c/383827/

Change-Id: I370643277a3b23e7f47e413cf880daa9af1eb831
This commit is contained in:
venkata anil 2016-10-07 13:33:57 +00:00
parent 0ca1482db5
commit d6556852ae
4 changed files with 61 additions and 0 deletions

View File

@ -160,6 +160,43 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-dvr-ha-multinode-full-{node-release}{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_CONFIGDRIVE=0
export DEVSTACK_GATE_TEMPEST_FULL=1
# Test DVR works multinode
export DEVSTACK_GATE_NEUTRON_DVR=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-dsvm-functional{python}-{node}{job-suffix}'
node: '{node}'

View File

@ -3846,6 +3846,12 @@
node: ubuntu-xenial-2-node
job-suffix: '-nv'
branch-override: default
- '{pipeline}-tempest-dsvm-neutron-dvr-ha-multinode-full-{node-release}{job-suffix}':
pipeline: gate
node-release: ubuntu-xenial
node: ubuntu-xenial-3-node
job-suffix: '-nv'
branch-override: default
- '{pipeline}-tempest-dsvm-multinode-live-migration-{node-release}{job-suffix}':
pipeline: gate
node-release: ubuntu-xenial

View File

@ -125,6 +125,23 @@ labels:
- name: osic-cloud1-disk
- name: infracloud-vanilla
- name: infracloud-chocolate
- name: ubuntu-xenial-3-node
image: ubuntu-xenial
ready-script: multinode_setup.sh
subnodes: 2
min-ready: 1
providers:
- name: rax-dfw
- name: rax-ord
- name: rax-iad
- name: ovh-gra1
- name: bluebox-sjc1
- name: internap-mtl01
- name: osic-cloud1-s3500
- name: osic-cloud1-s3700
- name: osic-cloud1-disk
- name: infracloud-vanilla
- name: infracloud-chocolate
- name: centos-7
image: centos-7
ready-script: configure_mirror.sh

View File

@ -12256,6 +12256,7 @@ projects:
- gate-tempest-dsvm-neutron-pg-full-ubuntu-trusty
- gate-tempest-dsvm-neutron-pg-full-ubuntu-xenial
- gate-tempest-dsvm-neutron-dvr-multinode-full-centos-7-nv
- gate-tempest-dsvm-neutron-dvr-ha-multinode-full-ubuntu-xenial-nv
- name: openstack/neutron-classifier
template: