9f41cefc15
* Use source images * Need to specify bash for &> syntax Issues worked around: * Manually configuring bridge via ip commands makes ifup fail to bring up the link. Adds a kayobe-network-bootstrap Zuul CI role that adds persistent configuration for the all-in-one network. * bridge not active after interfaces role bounce. Added a pause, similar to https://github.com/michaelrigart/ansible-role-interfaces/pull/31 * fails installing docker python module for kolla user. WARNING: The repository located at mirror-int.ord.rax.opendev.org is not a trusted or secure host and is being ignored ERROR: No matching distribution found for docker===4.4.0 Adding trusted host for PyPI mirror. * Tenks fails to create block devices - missing qemu-img (in qemu-utils) * Tenks qemu emulator is different on Ubuntu Remaining issues: * Bare metal testing is unreliable on Ubuntu - some jobs see IPMI failures such as the following: ipmitool chassis bootdev pxe Error setting Chassis Boot Parameter 5\nError setting Chassis Boot Parameter 0\n Bare metal testing is disabled on Ubuntu for now. Depends-On: https://review.opendev.org/766984 Depends-On: https://review.opendev.org/766958 Story: 2004960 Task: 29393 Change-Id: I1985efae7c18f55c3ff7c27c17d6242523904f3e
51 lines
1.9 KiB
Django/Jinja
51 lines
1.9 KiB
Django/Jinja
---
|
|
# NOTE(mgoddard): Don't reboot after disabling SELinux during CI testing, as
|
|
# Ansible is run directly on the controller.
|
|
disable_selinux_do_reboot: false
|
|
|
|
{% if ansible_os_family == 'Debian' %}
|
|
# On Ubuntu, use 5 seconds delay to allow for interfaces to come up after ifup
|
|
# exits.
|
|
interfaces_pause_time: 5
|
|
{% endif %}
|
|
|
|
# Use the OpenStack infra's Dockerhub mirror.
|
|
docker_registry_mirrors:
|
|
- "http://{{ zuul_site_mirror_fqdn }}:8082/"
|
|
|
|
kolla_base_distro: "{{ ansible_distribution | lower }}"
|
|
kolla_install_type: "{{ 'source' if ansible_distribution == 'Ubuntu' else 'binary' }}"
|
|
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla'].src_dir }}"
|
|
kolla_source_version: "{{ zuul.projects['opendev.org/openstack/kolla'].checkout }}"
|
|
kolla_ansible_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla-ansible'].src_dir }}"
|
|
kolla_ansible_source_version: "{{ zuul.projects['opendev.org/openstack/kolla-ansible'].checkout }}"
|
|
kolla_openstack_logging_debug: True
|
|
pip_upper_constraints_file: "/tmp/upper-constraints.txt"
|
|
|
|
# Use the CI infra's PyPI mirror.
|
|
pip_local_mirror: true
|
|
pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
|
|
pip_trusted_hosts:
|
|
- "{{ zuul_site_mirror_fqdn }}"
|
|
|
|
# NOTE(mgoddard): CentOS 8 removes interfaces from their bridge during ifdown,
|
|
# and removes the bridge if there are no interfaces left. When Kayobe bounces
|
|
# veth links plugged into the bridge, it causes the bridge which has the IP we
|
|
# are using for SSH to be removed. Use a dummy interface.
|
|
aio_bridge_ports:
|
|
- dummy1
|
|
|
|
# Enable ironic for testing baremetal compute.
|
|
kolla_enable_ironic: true
|
|
|
|
{% if tls_enabled %}
|
|
kolla_enable_tls_external: "yes"
|
|
kolla_enable_tls_internal: "yes"
|
|
|
|
# FIXME: ipa-images fails to access OS_CACERT from /home/zuul.
|
|
kayobe_ansible_user: zuul
|
|
|
|
kolla_ironic_pxe_append_params_extra:
|
|
- ipa-insecure=1
|
|
{% endif %}
|