devstack-plugin-tobiko/zuul.d/devstack-tobiko.yaml
Eduardo Olivares 093a3d4642 Multinode jobs use nested-virt nodes
The nodes acting as computes should be nested-virt nodes.
The devstack-tobiko-multinode job is modified to use ML2/OVN instead of
ML2/OVS.

Change-Id: If03d768503c14ee87a091d4c8d86b50519d8b9af
2025-01-22 12:42:24 +01:00

144 lines
4.8 KiB
YAML

---
- project-template:
name: devstack-tobiko
description: |
DevStack jobs intended to gate Tobiko project changes
check: &CHECK
jobs:
- devstack-tobiko
- devstack-tobiko-multinode
gate: &GATE
jobs:
- devstack-tobiko
periodic: *CHECK
# --- STANDALONE -------------------------------------------------------------
- job:
abstract: false
name: devstack-tobiko
parent: devstack-tobiko-minimal
voting: true
description: |
Base Devstack Tobiko Plugin job.
This job provides the base for both the single and multi-node
test setup. To run a multi-node test inherit from devstack-tobiko
job and set the nodeset to a multi-node one.
required-projects:
- openstack/neutron
roles:
- zuul: x/tobiko
timeout: 10800
vars:
configure_swap_size: 8192
devstack_localrc:
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
GLANCE_ENABLE_QUOTAS: false
NETWORK_API_EXTENSIONS: >-
address-scope,agent,allowed-address-pairs,auto-allocated-topology,
availability_zone,binding,default-subnetpools,
dns-domain-ports,dns-integration,dvr,empty-string-filtering,
ext-gw-mode,external-net,extra_dhcp_opt,extraroute,filter-validation,
fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,
logging,metering,multi-provider,net-mtu,
net-mtu-writable,network-ip-availability,network_availability_zone,
pagination,port-security,project-id,provider,qos,
qos-bw-minimum-ingress,qos-fip,quotas,quota_details,rbac-policies,
router,router_availability_zone,security-group,
port-mac-address-regenerate,port-security-groups-filtering,
segment,service-type,sorting,standard-attr-description,
standard-attr-revisions,standard-attr-segment,
standard-attr-timestamp,standard-attr-tag,subnet_allocation,
trunk,trunk-details,uplink-status-propagation
TOBIKO_NEUTRON_IPV4_DNS_NAMESERVERS:
"{{ ipv4_dns_nameservers | join(',') }}"
TOBIKO_NEUTRON_IPV6_DNS_NAMESERVERS:
"{{ ipv6_dns_nameservers | join(',') }}"
devstack_plugins:
neutron: https://opendev.org/openstack/neutron.git
devstack_services:
heat: true
h-api: true
h-api-cfn: true
h-eng: true
n-cpu: true
# NOTE(slaweq): we need to enable it as "legacy" service because for
# Fedora job it has to be disabled. If it would be disabled as
# "neutron-dns: false" then it devstack would consider that
# neutron-legacy isn't used and would not load proper files
q-dns: true
# see bug #1860753 (https://bugs.launchpad.net/devstack/+bug/1860753)
neutron-qos: true
neutron-segments: true
neutron-trunk: true
neutron-uplink-status-propagation: true
# NOTE(slaweq): Swift can't run with python3 currently
s-account: false
s-container: false
s-object: false
s-proxy: false
# NOTE(slaweq): without Swift, c-bak cannot run (in the Gate at least)
c-bak: false
ipv4_dns_nameservers:
- 1.0.0.1
- 8.8.8.8
ipv6_dns_nameservers: []
test_workflow: faults
irrelevant-files:
- ^.*\.rst$
- ^doc/
- ^infrared_plugin/
- ^playbooks/vagrant
- ^releasenotes/
- ^report/
- ^tobiko/tests/functional/
- ^tobiko/tests/unit/
- ^Vagrantfile
# --- MULTINODE --------------------------------------------------------------
- job:
name: devstack-tobiko-multinode
parent: devstack-tobiko
nodeset: devstack-tobiko-multinode
voting: false
description: Base DevStack Tobiko job with multinode.
pre-run: playbooks/multinode-setup.yaml
vars:
topology: multinode
devstack_localrc:
ENABLE_FILE_INJECTION: true
MULTI_HOST: 1
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
NOVA_ALLOW_MOVE_TO_SAME_HOST: false
LIVE_MIGRATION_AVAILABLE: true
USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true
devstack_local_conf:
post-config:
$NOVA_CONF:
workarounds:
skip_cpu_compare_at_startup: true
skip_cpu_compare_on_dest: true
group-vars:
subnode:
devstack_services:
tls-proxy: false
devstack_localrc:
LIBVIRT_TYPE: kvm
LIBVIRT_CPU_MODE: host-passthrough
NOVA_ALLOW_MOVE_TO_SAME_HOST: false
LIVE_MIGRATION_AVAILABLE: true
USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true
devstack_local_conf:
post-config:
$NOVA_CONF:
workarounds:
skip_cpu_compare_at_startup: true
skip_cpu_compare_on_dest: true