Browse Source

Fix virtualization detection for Fedora jobs

Previously, the facter detection for virtual machines could fail
to detect an OpenStack VM as such, creating issues in CI jobs because
we selected KVM virtualization instead of QEMU.

This can be fixed by adding the virt-what binary, which is used by
facter to detect if a machine is virtual or not [1].

[1] - 2aa2d1cd64/lib/src/facts/linux/virtualization_resolver.cc (L62-L64)

Change-Id: I9278887bfdbca209e7f3498273b85edd8efd987f
Javier Pena 5 months ago
parent
commit
fd11a9d531
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      playbooks/packstack-fedora-pre.yaml

+ 1
- 1
playbooks/packstack-fedora-pre.yaml View File

@@ -20,7 +20,7 @@
20 20
           dnf clean all
21 21
           sudo sed -i '/^exclude.*/d' /etc/dnf/dnf.conf
22 22
           dnf -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
23
-          dnf -y install gcc gettext diffstat doxygen patch patchutils subversion systemtap git python-setuptools wget redhat-lsb-core libselinux-python yum-plugin-priorities dnf-yum
23
+          dnf -y install gcc gettext diffstat doxygen patch patchutils subversion systemtap git python-setuptools wget redhat-lsb-core libselinux-python yum-plugin-priorities dnf-yum virt-what
24 24
           pip uninstall requests -y || true
25 25
         executable: /bin/bash
26 26
         chdir: '{{ ansible_user_dir }}/workspace'

Loading…
Cancel
Save