57c9b6f2f5
Tempest had switched to ecdsa keys by default to avoid paramiko issue with the current cirros image used in the CI [1] [1] https://review.opendev.org/c/openstack/tempest/+/838753 Change-Id: I2773c6a4a667a1602f6fd95ec9b23c0d0078144b
36 lines
1.5 KiB
YAML
36 lines
1.5 KiB
YAML
---
|
|
- hosts: all
|
|
roles:
|
|
# the role is inherited from openstack/devstack project
|
|
- run-devstack
|
|
|
|
- hosts: tempest
|
|
vars:
|
|
devstack_base_dir: "/opt/stack"
|
|
tasks:
|
|
# NOTE: devstack jobs are failing on Run Tempest task
|
|
# it is because tox command is not found. Adding 'ensure-tox'
|
|
# role here to make sure that tox is installed and it
|
|
# will not break the tempest tests.
|
|
- name: Ensure tox is installed
|
|
include_role:
|
|
name: ensure-tox
|
|
vars:
|
|
ensure_global_symlinks: true
|
|
when: refstack_client_ensure_tox is not defined or (refstack_client_ensure_tox is defined and refstack_client_ensure_tox)
|
|
|
|
- include_vars: ../defaults/main.yaml
|
|
|
|
- name: Run ansible-role-refstack-client
|
|
include_tasks: ../tasks/main.yaml
|
|
vars:
|
|
refstack_client_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}"
|
|
tempestconf_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/python-tempestconf'].src_dir }}"
|
|
source_credentials: "{{ devstack_base_dir }}/devstack/openrc demo demo"
|
|
source_admin_credentials: "{{ devstack_base_dir }}/devstack/openrc admin admin"
|
|
# not all backends support shrinking shares, LVM one which is used in
|
|
# this job does not support the shrinking feature
|
|
additional_tempestconf_params: >-
|
|
auth.tempest_roles Member object-storage.operator_role Member
|
|
share.run_shrink_tests False validation.ssh_key_type ecdsa
|