whitebox-tempest-plugin/.zuul.yaml
Artom Lifshitz 7f8defa653 Add ensure-pip role
We've recently started getting Ansible pip error as follows:

ModuleNotFoundError: No module named 'pkg_resources'

This happens because we install crudini and iniparse from GitHub
source using Ansible's pip module in our Ansible roles, and Ansible's
pip module needs the system pip to be preconfigured (the exact
details are murkey - why this started happenig now is also a mystery).

This patch fixes that by adding the ensure-pip to our playbook. It
also renamed the plabook to be more consisten with other openstack
projects.

Change-Id: I3645d22afab1006e11cce22f42774ebea164998f
2020-06-19 13:26:58 -04:00

76 lines
2.2 KiB
YAML

# TODO(artom) Once https://review.opendev.org/#/c/679656/ merges, we can unify
# the nodeset names and use the one in Nova. Until then, have a different name
# here.
- nodeset:
name: multi-numa-multinode
nodes:
- name: controller
label: multi-numa-ubuntu-bionic
- name: compute
label: multi-numa-ubuntu-bionic
groups:
# Node where tests are executed and test results collected
- name: tempest
nodes:
- controller
# Nodes running the compute service
- name: compute
nodes:
- controller
- compute
# Nodes that are not the controller
- name: subnode
nodes:
- compute
# Switch node for multinode networking setup
- name: switch
nodes:
- controller
# Peer nodes for multinode networking setup
- name: peers
nodes:
- compute
- job:
name: whitebox-multinode-devstack
nodeset: multi-numa-multinode
parent: tempest-multinode-full-py3
description: |
Devstack multinode job.
required-projects:
openstack/whitebox-tempest-plugin
pre-run: playbooks/whitebox/pre.yaml
irrelevant-files:
- ^test-requirements.txt$
vars:
tox_envlist: all
tempest_concurrency: 1
tempest_test_regex: ^whitebox_tempest_plugin\.
tempest_black_regex: "create_none_instance|virtio_to_none|none_to_virtio"
devstack_plugins:
whitebox-tempest-plugin: https://opendev.org/openstack/whitebox-tempest-plugin.git
devstack_localrc:
MAX_COMPUTE_NODES: 2
LIBVIRT_TYPE: kvm
TEMPEST_PLUGINS: /opt/stack/whitebox-tempest-plugin
WHITEBOX_PRIVKEY_PATH: /home/tempest/.ssh/id_rsa
group-vars:
subnode:
num_hugepages: 2048
devstack_localrc:
LIBVIRT_TYPE: kvm
tempest:
num_hugepages: 512
- project:
templates:
- openstack-python-jobs
- openstack-python36-jobs
- openstack-python37-jobs
check:
jobs:
- whitebox-multinode-devstack
gate:
jobs:
- whitebox-multinode-devstack