diff --git a/.zuul.yaml b/.zuul.yaml index a8fbf958582f..f2e1125738da 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -211,6 +211,70 @@ - openstack/nova irrelevant-files: *live-migration-irrelevant-files +- job: + name: nova-multi-cell + parent: tempest-multinode-full-py3 + description: | + Multi-node python3 job which runs with two nodes and two non-cell0 + cells. The compute on the controller runs in cell1 and the compute + on the subnode runs in cell2. + irrelevant-files: *dsvm-irrelevant-files + # TODO(mriedem): Make this job voting and gating once we're happy with + # its relative stability. + voting: false + vars: + # We use the "all" environment for tempest_test_regex and + # tempest_test_blacklist. + tox_envlist: all + # Run compute API and scenario tests. + tempest_test_regex: ^tempest\.(scenario|(api\.compute)) + tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/nova"].src_dir }}/devstack/nova-multi-cell-blacklist.txt' + devstack_local_conf: + test-config: + $TEMPEST_CONFIG: + compute-feature-enabled: + # TODO(mriedem): Enable cold migration once cross-cell resize is + # supported. We cannot enable it until then because this job has + # one compute in each cell and with + # allow_resize_to_same_host=True cold migrate will try to migrate + # on the same host which is not supported by the libvirt driver. + cold_migration: false + devstack_services: + # Disable n-novnc until bug 1822873 is fixed. + n-novnc: false + # Disable other non-essential services that we don't need for this job. + c-bak: false + devstack_localrc: + # Setup two non-cell0 cells (cell1 and cell2). + NOVA_NUM_CELLS: 2 + # Resize to the same host is supported for now since we only have + # two computes and they are in different cells. + # TODO(mriedem): Disable resize to the same host once cross-cell resize + # is supported so all resizes will move across cells. + NOVA_ALLOW_MOVE_TO_SAME_HOST: true + # We only have two computes and we don't yet support cross-cell live + # migration. + LIVE_MIGRATION_AVAILABLE: false + # Disable n-novnc until bug 1822873 is fixed. + NOVA_VNC_ENABLED: false + group-vars: + peers: + devstack_localrc: + NOVA_ALLOW_MOVE_TO_SAME_HOST: true + LIVE_MIGRATION_AVAILABLE: false + subnode: + devstack_localrc: + # The subnode compute will get registered with cell2. + NOVA_CPU_CELL: 2 + # Disable n-novnc until bug 1822873 is fixed. + NOVA_VNC_ENABLED: false + devstack_services: + # Disable n-novnc until bug 1822873 is fixed. + n-novnc: false + # Disable other non-essential services that we don't need for this + # job. + c-bak: false + - project: # Please try to keep the list of job names sorted alphabetically. templates: @@ -246,6 +310,7 @@ - nova-grenade-live-migration - nova-live-migration - nova-lvm + - nova-multi-cell - nova-next - nova-tox-functional - nova-tox-functional-py36 diff --git a/devstack/nova-multi-cell-blacklist.txt b/devstack/nova-multi-cell-blacklist.txt new file mode 100644 index 000000000000..87f07be42603 --- /dev/null +++ b/devstack/nova-multi-cell-blacklist.txt @@ -0,0 +1,9 @@ +# --blacklist-file contents for the nova-multi-cell job defined in .zuul.yaml +# See: https://stestr.readthedocs.io/en/latest/MANUAL.html#test-selection + +# Exclude tempest.scenario.test_network tests since they are slow and +# only test advanced neutron features, unrelated to multi-cell testing. +^tempest.scenario.test_network + +# Disable associate floating IP tests until bug 1826472 is fixed. +tempest.api.compute.floating_ips.test_floating_ips_actions.FloatingIPsAssociationTestJSON