From 0ec97ff78d46b02cdb38117f3dd358ce1b940635 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 10 Feb 2022 14:30:44 +0000 Subject: [PATCH] docs: fix order of tenks/libvirt workaround on ubuntu Change-Id: Idd53d689e0e9baad571b2f0f4005f3efa3e21830 --- doc/source/contributor/automated.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/contributor/automated.rst b/doc/source/contributor/automated.rst index cc7c61ab6..8e71d1cf7 100644 --- a/doc/source/contributor/automated.rst +++ b/doc/source/contributor/automated.rst @@ -131,6 +131,11 @@ For a control plane with Ironic enabled, a "bare metal" instance can be deployed. We can use the `Tenks `__ 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