a0b8ca43e4
Devstack IPv6 base job 'devstack-IPv6' setup the IPv6 setting to deploy the services to listen on IPv6 address. Tempest 'devstack-tempest-ipv6' job derived from 'devstack-IPv6' job adds the playbooks to run the tests. As part of Train community goal 'Support IPv6-Only Deployments', we will expand the 'devstack-tempest-ipv6' job to do IPv6-only deployments verification. This commit define the new roles of 'ipv6-only-deployments-verification' which will be invoked as part of run phase of 'devstack-tempest-ipv6' job. This role will do IPv6-only setting and deployments verification via tools/verify-ipv6-only-deployement.sh IPv6 verification script can be extended further to perform more checks and via project specific test case. Those tests will run as part of project specific child jobs. The 'devstack-tempest-ipv6' job will be used as parent for project specific IPv6-only job. Those child job can extend the project specific IPv6 verification by defining new playebook for post-run. That way the base verification done in 'devstack-tempest-ipv6' will still run in addition to project specific verificaiton and tests run. Verification structure will be: - 'devstack-IPv6' deploy the service on IPv6 - 'devstack-tempest-ipv6' run will verify the IPv6-only setting and listen address - Child jobs derived from 'devstack-tempest-ipv6' will run the IPv6 related test case or any further IPv6 deployment verification. This commit also adds the new job 'tempest-ipv6-only' which will run smoke and ipv6 related tests present in Tempest. This job will be used to run on 6 services (Nova, Neutron, Cinder, Keystone, Glance, Swift) deployed by devstack. Story: #2005477 Task: #35923 Change-Id: Ie1e5e5e02ee45ab7a4aae0f35bdb42afc2c3fe2e
25 lines
1.0 KiB
YAML
25 lines
1.0 KiB
YAML
# Changes that run through devstack-tempest-ipv6 are likely to have an impact on
|
|
# the devstack part of the job, so we keep devstack in the main play to
|
|
# avoid zuul retrying on legitimate failures.
|
|
- hosts: all
|
|
roles:
|
|
- orchestrate-devstack
|
|
|
|
# We run tests only on one node, regardless how many nodes are in the system
|
|
- hosts: tempest
|
|
environment:
|
|
# This enviroment variable is used by the optional tempest-gabbi
|
|
# job provided by the gabbi-tempest plugin. It can be safely ignored
|
|
# if that plugin is not being used.
|
|
GABBI_TEMPEST_PATH: "{{ gabbi_tempest_path | default('') }}"
|
|
roles:
|
|
- setup-tempest-run-dir
|
|
- setup-tempest-data-dir
|
|
- acl-devstack-files
|
|
# Verify the IPv6-only deployments. This role will perform check for
|
|
# IPv6 only env for example Devstack IPv6 settings and services listen
|
|
# address is IPv6 etc. This is invoked before tests are run so that we can
|
|
# fail early if anything missing the IPv6 settings or deployments.
|
|
- ipv6-only-deployments-verification
|
|
- run-tempest
|