Skip to content

Commit b23dfe8

Browse files
authored
Merge pull request #948 from stackhpc/nova-libvirt-container
docs: guide for migrating to containerized libvirt in R8/R9 migration
2 parents ce21220 + 880d0b2 commit b23dfe8

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

doc/source/operations/rocky-linux-9.rst

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,33 @@ Full procedure for one batch of hosts
443443
444444
kayobe overcloud provision -l <hostname>
445445
446-
5. Host configure:
446+
5. If the compute node is using Libvirt on the Host, and one wants to transition to containerized Libvirt.
447+
448+
1. Update kolla.yml
449+
450+
.. code-block:: yaml
451+
452+
kolla_enable_nova_libvirt_container: "{{ inventory_hostname != 'localhost' and ansible_facts.distribution_major_version == '9' }}"
453+
454+
2. Update kolla/globals.yml
455+
456+
.. code-block:: yaml
457+
458+
enable_nova_libvirt_container: "{% raw %}{{ ansible_facts.distribution_major_version == '9' }}{% endraw %}"
459+
460+
.. note::
461+
462+
Those settings are needed only for the timeframe of migration to Rocky Linux 9,
463+
when CentOS Stream 8 or Rocky Linux 8 hosts with Libvirt on the hosts exists
464+
in the environment.
465+
466+
6. Host configure:
447467

448468
.. code:: console
449469
450470
kayobe overcloud host configure -l <hostname> -kl <hostname>
451471
452-
6. If the compute node is running Ceph OSD services:
472+
7. If the compute node is running Ceph OSD services:
453473

454474
1. Make sure the cephadm public key is in ``authorized_keys`` for stack or
455475
root user - depends on your setup. For example, your SSH key may
@@ -474,13 +494,13 @@ Full procedure for one batch of hosts
474494
ceph -s
475495
ceph -w
476496
477-
7. Service deploy:
497+
8. Service deploy:
478498

479499
.. code:: console
480500
481501
kayobe overcloud service deploy -kl <hostname>
482502
483-
8. If you are using Wazuh, you will need to deploy the agent again.
503+
9. If you are using Wazuh, you will need to deploy the agent again.
484504
Note that CIS benchmarks do not run on RL9 out-the-box. See
485505
`our Wazuh docs <https://stackhpc-kayobe-config.readthedocs.io/en/stackhpc-yoga/configuration/wazuh.html#custom-sca-policies-optional>`__
486506
for details.
@@ -489,7 +509,7 @@ Full procedure for one batch of hosts
489509
490510
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/wazuh-agent.yml -l <hostname>
491511
492-
9. Restore the system to full health.
512+
10. Restore the system to full health.
493513

494514
1. If any VMs were powered off, they may now be powered back on.
495515

0 commit comments

Comments
 (0)