Skip to content

Commit 9e9c498

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add nova-multi-cell job"
2 parents be1ff91 + d2e58cb commit 9e9c498

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

.zuul.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,70 @@
214214
- openstack/nova
215215
irrelevant-files: *live-migration-irrelevant-files
216216

217+
- job:
218+
name: nova-multi-cell
219+
parent: tempest-multinode-full-py3
220+
description: |
221+
Multi-node python3 job which runs with two nodes and two non-cell0
222+
cells. The compute on the controller runs in cell1 and the compute
223+
on the subnode runs in cell2.
224+
irrelevant-files: *dsvm-irrelevant-files
225+
# TODO(mriedem): Make this job voting and gating once we're happy with
226+
# its relative stability.
227+
voting: false
228+
vars:
229+
# We use the "all" environment for tempest_test_regex and
230+
# tempest_test_blacklist.
231+
tox_envlist: all
232+
# Run compute API and scenario tests.
233+
tempest_test_regex: ^tempest\.(scenario|(api\.compute))
234+
tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-blacklist.txt'
235+
devstack_local_conf:
236+
test-config:
237+
$TEMPEST_CONFIG:
238+
compute-feature-enabled:
239+
# TODO(mriedem): Enable cold migration once cross-cell resize is
240+
# supported. We cannot enable it until then because this job has
241+
# one compute in each cell and with
242+
# allow_resize_to_same_host=True cold migrate will try to migrate
243+
# on the same host which is not supported by the libvirt driver.
244+
cold_migration: false
245+
devstack_services:
246+
# Disable n-novnc until bug 1822873 is fixed.
247+
n-novnc: false
248+
# Disable other non-essential services that we don't need for this job.
249+
c-bak: false
250+
devstack_localrc:
251+
# Setup two non-cell0 cells (cell1 and cell2).
252+
NOVA_NUM_CELLS: 2
253+
# Resize to the same host is supported for now since we only have
254+
# two computes and they are in different cells.
255+
# TODO(mriedem): Disable resize to the same host once cross-cell resize
256+
# is supported so all resizes will move across cells.
257+
NOVA_ALLOW_MOVE_TO_SAME_HOST: true
258+
# We only have two computes and we don't yet support cross-cell live
259+
# migration.
260+
LIVE_MIGRATION_AVAILABLE: false
261+
# Disable n-novnc until bug 1822873 is fixed.
262+
NOVA_VNC_ENABLED: false
263+
group-vars:
264+
peers:
265+
devstack_localrc:
266+
NOVA_ALLOW_MOVE_TO_SAME_HOST: true
267+
LIVE_MIGRATION_AVAILABLE: false
268+
subnode:
269+
devstack_localrc:
270+
# The subnode compute will get registered with cell2.
271+
NOVA_CPU_CELL: 2
272+
# Disable n-novnc until bug 1822873 is fixed.
273+
NOVA_VNC_ENABLED: false
274+
devstack_services:
275+
# Disable n-novnc until bug 1822873 is fixed.
276+
n-novnc: false
277+
# Disable other non-essential services that we don't need for this
278+
# job.
279+
c-bak: false
280+
217281
- project:
218282
# Please try to keep the list of job names sorted alphabetically.
219283
templates:
@@ -249,6 +313,7 @@
249313
- nova-grenade-live-migration
250314
- nova-live-migration
251315
- nova-lvm
316+
- nova-multi-cell
252317
- nova-next
253318
- nova-tox-functional
254319
- nova-tox-functional-py36
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# --blacklist-file contents for the nova-multi-cell job defined in .zuul.yaml
2+
# See: https://stestr.readthedocs.io/en/latest/MANUAL.html#test-selection
3+
4+
# Exclude tempest.scenario.test_network tests since they are slow and
5+
# only test advanced neutron features, unrelated to multi-cell testing.
6+
^tempest.scenario.test_network
7+
8+
# Disable associate floating IP tests until bug 1826472 is fixed.
9+
tempest.api.compute.floating_ips.test_floating_ips_actions.FloatingIPsAssociationTestJSON

0 commit comments

Comments
 (0)