Skip to content

Commit c8c2193

Browse files
Merge pull request #1071 from klgill/docs-systemd-container-updates
systemd-container edits
2 parents 955322f + e96c81e commit c8c2193

2 files changed

Lines changed: 53 additions & 4 deletions

File tree

‎docs_user/modules/con_adoption-prerequisites.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Compute::
4848
+
4949
* Upgrade your Compute nodes to Red Hat Enterprise Linux {rhel_prev_ver}. For more information, see link:https://docs.redhat.com/en/documentation/red_hat_openstack_platform/17.1/html-single/framework_for_upgrades_16.2_to_17.1/index#upgrading-compute-nodes_upgrading-the-compute-node-operating-system[Upgrading all Compute nodes to RHEL 9.2] in _Framework for upgrades (16.2 to 17.1)_.
5050
* Perform a minor update to the latest {OpenStackShort} version. For more information, see link:https://docs.redhat.com/en/documentation/red_hat_openstack_platform/17.1/html/performing_a_minor_update_of_red_hat_openstack_platform/index[Performing a minor update of Red Hat OpenStack Platform].
51-
* Install the `systemd-container` package on your Compute hosts. For more information, see xref:installing-the-systemd-container-package-on-compute-hosts_{context}[Installing the `systemd-container` package on Compute hosts].
51+
* On your Compute hosts, the `systemd-container` package must be installed and the `systemd-machined` service must be running. For more information about how to verify that the package is installed and that the service is running, see xref:installing-the-systemd-container-package-on-compute-hosts_{context}[Installing the `systemd-container` package on Compute hosts].
5252

5353
ML2/OVS::
5454
+

‎docs_user/modules/proc_installing-the-systemd-container-package-on-compute-hosts.adoc‎

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,60 @@
44
= Installing the `systemd-container` package on Compute hosts
55

66
[role="_abstract"]
7-
Before you adopt the {rhos_long} data plane, you must install the `systemd-container` package on all the hypervisors on your Compute hosts. This procedure must be performed on one Compute host at a time.
7+
Before you adopt the {rhos_long} data plane, you must verify that the `systemd-container` package is installed and that `systemd-machined` is running on all the Compute hosts. You must install the `systemd-container` package on each Compute host that does not have this package.
88

99
.Procedure
1010

11-
. If your Compute host is running a virtual machine, live migrate the virtual machine from the host. For more information about live migration, see link:https://docs.redhat.com/en/documentation/red_hat_openstack_platform/17.1/html/performing_a_minor_update_of_red_hat_openstack_platform/assembly_rebooting-the-overcloud_keeping-updated#proc_rebooting-compute-nodes_rebooting-the-overcloud[Rebooting Compute nodes] in _Performing a minor update of Red Hat OpenStack Platform_.
11+
. Log in to the Compute node host as a user with the appropriate permissions.
12+
13+
. List the instances that are running on the host:
14+
+
15+
----
16+
$ sudo machinectl list
17+
----
18+
+
19+
Sample output::
20+
+
21+
----
22+
MACHINE CLASS SERVICE OS VERSION ADDRESSES
23+
qemu-1-instance-000000b9 vm libvirt-qemu - - -
24+
qemu-2-instance-000000c2 vm libvirt-qemu - - -
25+
26+
2 machines listed.
27+
----
28+
29+
. Verify that the `systemd-machined` service is running:
30+
+
31+
----
32+
$ sudo systemctl status systemd-machined.service
33+
----
34+
+
35+
Sample output::
36+
+
37+
----
38+
systemd-machined.service - Virtual Machine and Container Registration Service
39+
Loaded: loaded (/usr/lib/systemd/system/systemd-machined.service; static)
40+
Active: active (running) since Mon 2025-06-16 11:42:07 EDT; 2min 48s ago
41+
Docs: man:systemd-machined.service(8)
42+
man:org.freedesktop.machine1(5)
43+
Main PID: 136614 (systemd-machine)
44+
Status: "Processing requests..."
45+
Tasks: 1 (limit: 838860)
46+
Memory: 1.4M
47+
CPU: 33ms
48+
CGroup: /system.slice/systemd-machined.service
49+
└─136614 /usr/lib/systemd/systemd-machined
50+
51+
Jun 16 11:42:07 computehost001 systemd[1]: Starting Virtual Machine and Container Registration Service...
52+
Jun 16 11:42:07 computehost001 systemd[1]: Started Virtual Machine and Container Registration Service.
53+
Jun 16 11:43:44 computehost001 systemd-machined[136614]: New machine qemu-1-instance-000000b9.
54+
Jun 16 11:43:51 computehost001 systemd-machined[136614]: New machine qemu-2-instance-000000c2.
55+
----
56+
+
57+
[IMPORTANT]
58+
If the `systemd-machined` service is running, skip the rest of this procedure. Ensure that you verify that the `systemd-machined` service is running each Compute node host in the cluster.
59+
60+
. If the `systemd-machined` service is not running, before you can install the `systemd-container` package, live migrate all virtual machines from the host. For more information about live migration, see link:https://docs.redhat.com/en/documentation/red_hat_openstack_platform/17.1/html/performing_a_minor_update_of_red_hat_openstack_platform/assembly_rebooting-the-overcloud_keeping-updated#proc_rebooting-compute-nodes_rebooting-the-overcloud[Rebooting Compute nodes] in _Performing a minor update of Red Hat OpenStack Platform_.
1261

1362
. Install the `systemd-container` on the host:
1463
** If you upgraded your environment from an earlier version of {rhos_prev_long}, reboot the Compute host to automatically install the `systemd-container`.
@@ -20,4 +69,4 @@ $ sudo dnf -y install systemd-container
2069
[NOTE]
2170
If your Compute host is not running a virtual machine, you can install the `systemd-container` automatically or manually.
2271

23-
. Repeat this procedure on each hypervisor one by one.
72+
. Repeat this procedure on each Compute host in the cluster where the `systemd-machined` service is not running.

0 commit comments

Comments
 (0)