990370a367
This requires disabling libvirt_vm_trust_guest_rx_filters, which when enabled triggers the following errors when booting baremetal instances with Tenks on Libvirt 9 (and most likely since 8.9.0): Cannot set interface flags on 'macvtap1': Value too large for defined data type This is apparently triggered by a Libvirt commit refreshing rx-filters more often [1]. As explained in I71a2051d8acd63379bd70bc1287a059d4a7f6387, this setting was added to allow traffic destined for other MAC addresses to reach VMs when using a macvtap interface. This will prevent multicast from working, but we don't need it for baremetal tests in CI. This setting will be enabled again once the issue is resolved in either Libvirt or Tenks. This reverts commit21c68bbfaf
. Also increase timeout of upgrade jobs which is too short now due to the added delay added by bare metal testing. [1]060d4c83ef
Change-Id: I2cfd2667abb1ae8988b7a7fd9761b75c20a0eaa4
44 lines
1.7 KiB
YAML
44 lines
1.7 KiB
YAML
---
|
|
- hosts: primary
|
|
environment:
|
|
KAYOBE_CONFIG_SOURCE_PATH: "{{ kayobe_config_src_dir }}"
|
|
KAYOBE_OVERCLOUD_GENERATE_CERTIFICATES: "{{ tls_enabled | ternary(1, 0) }}"
|
|
KAYOBE_VAULT_PASSWORD: 'test-password'
|
|
# TODO(mgoddard): Remove this when libvirt on host is used by default.
|
|
TENKS_CONFIG_PATH: "dev/tenks-deploy-config-compute{% if tls_enabled %}-libvirt-on-host{% endif %}.yml"
|
|
tasks:
|
|
- name: Ensure overcloud is deployed
|
|
shell:
|
|
cmd: "{{ kayobe_src_dir }}/dev/overcloud-deploy.sh &> {{ logs_dir }}/ansible/overcloud-deploy"
|
|
executable: /bin/bash
|
|
|
|
# Check that passwords are Vault encrypted.
|
|
- name: View passwords.yml using Ansible Vault
|
|
vars:
|
|
kayobe_venv: "{{ ansible_env.HOME }}/kayobe-venv"
|
|
command: >-
|
|
{{ kayobe_venv }}/bin/ansible-vault
|
|
view
|
|
--vault-password-file {{ kayobe_venv }}/bin/kayobe-vault-password-helper
|
|
{{ kayobe_config_src_dir }}/etc/kayobe/kolla/passwords.yml
|
|
|
|
- name: Ensure test Tenks cluster is deployed
|
|
shell:
|
|
# Pass absolute source directory, since otherwise the `chdir` will
|
|
# cause this to fail.
|
|
cmd: dev/tenks-deploy-compute.sh '{{ tenks_src_dir }}' &> {{ logs_dir }}/ansible/tenks-deploy
|
|
chdir: "{{ kayobe_src_dir }}"
|
|
executable: /bin/bash
|
|
|
|
- name: Perform testing of the virtualized machines
|
|
shell:
|
|
cmd: dev/overcloud-test-vm.sh &> {{ logs_dir }}/ansible/overcloud-test-vm
|
|
chdir: "{{ kayobe_src_dir }}"
|
|
executable: /bin/bash
|
|
|
|
- name: Perform testing of the baremetal machines
|
|
shell:
|
|
cmd: dev/overcloud-test-baremetal.sh &> {{ logs_dir }}/ansible/overcloud-test-baremetal
|
|
chdir: "{{ kayobe_src_dir }}"
|
|
executable: /bin/bash
|