docs: fix order of tenks/libvirt workaround on ubuntu

Change-Id: Idd53d689e0e9baad571b2f0f4005f3efa3e21830
This commit is contained in:
Mark Goddard 2022-02-10 14:30:44 +00:00
parent e6da84a094
commit 0ec97ff78d

View File

@ -131,6 +131,11 @@ For a control plane with Ironic enabled, a "bare metal" instance can be
deployed. We can use the `Tenks <https://tenks.readthedocs.io/en/latest/>`__
project to create fake bare metal nodes.
On Ubuntu, the ``nova_libvirt`` image does not contain the ``qemu-utils``
package necessary for image operations used by Tenks. Install it as follows::
sudo docker exec -u root nova_libvirt bash -c 'apt update && apt -y install qemu-utils'
Clone the tenks repository::
git clone https://opendev.org/openstack/tenks.git
@ -155,11 +160,6 @@ services::
./dev/configure-firewall.sh
On Ubuntu, the ``nova_libvirt`` image does not contain the ``qemu-utils``
package necessary for image operations used by Tenks. Install it as follows::
sudo docker exec -u root nova_libvirt bash -c 'apt update && apt -y install qemu-utils'
We are now ready to run the ``dev/overcloud-test-baremetal.sh`` script. This
will run the ``init-runonce`` setup script provided by Kolla Ansible that
registers images, networks, flavors etc. It will then deploy a bare metal