A few differences from the nodepool based testsing:
* Don't set ELEMENTS_PATH in default_diskimage_environment
Setting the ELEMENTS_PATH isn't helpful as it generates a number of
warnings like:
Element </home/zuul/src/opendev.org/openstack/diskimage-builder/diskimage_builder/elements/block-device-gpt>
overrides </home/zuul/dib/lib/python3.12/site-packages/diskimage_builder/elements/block-device-gpt>
We install DIB from the source via the ensure-dib role so the elements
in site-packages will be installed from source anyway.
* Do not use opendev opensuse mirror
We removed this in Ib5d15ce800ff0620187345e1cfec0b7b5d65bee5 which is
causing the build to fail in nodepool anyway. It's possible this is
masking another deeper error but let's find out.
* The gentoo build works in nodepool, but not under devstack. The gentoo
image being built runs out of space.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Change-Id: If989c1b04963348fd16121c1c698b75e0e94b22a
19 lines
526 B
YAML
19 lines
526 B
YAML
- hosts: all
|
|
roles:
|
|
- name: run-devstack
|
|
tasks:
|
|
- name: Copy the cpu-level script into place
|
|
copy:
|
|
src: cpu-level.sh
|
|
dest: /tmp/cpu-level.sh
|
|
mode:
|
|
- name: Collect CPU flags for node
|
|
command: bash /tmp/cpu-level.sh
|
|
# NOTE(tonyb): This is interesting as QEMU gains the ability to emuluate
|
|
# newer machine types for example 7.2 is needed for haswell.
|
|
- name: Collect QEMU version
|
|
ignore_errors: true
|
|
shell: |-
|
|
qemu-kvm --version
|
|
qemu-system-$(arch) --version
|