This guide explains how to reinstall a compute node from Centos8 Stream-Yoga to AlmaLinux9-Yoga


In the following instructions the node cld-np-19, an INFN node, is the one to be reinstallated

First of all disable the compute node, so that no new VMs will be instantiated on this compute node:


openstack compute service set --disable cld-np-19.cloud.pd.infn.it nova-compute

To check if the compute node was actually disabled:

openstack compute service list




Then finds all the virtual machines instantiated on this compute node:


openstack server list --all --host cld-np-19.cloud.pd.infn.it 



Then migrate each VM instantiated on this compute node to other hypervisors.

To avoid the migration of the same virtual machine multiple times, please migrate the VM on a compute node that was already migrated to AlmaLinux9

The migration of a virtual machine usually requires a downtime (~ 15') of that VM, unless the VM was created using a volume. So before migrating the VM you must agree this operation with the relevant owner.


E.g. to find the owner of a VM with UUID be832766-7996-4ccf-a9c1-5eec2e5f8fd3:



[root@cld-ctrl-01 ~]# openstack server show be832766-7996-4ccf-a9c1-5eec2e5f8fd3 | grep user_id
| user_id                             | 7681252c430040e7bb96c7c4f7c88464                            |
[root@cld-ctrl-01 ~]# openstack user show 7681252c430040e7bb96c7c4f7c88464
+---------------------+----------------------------------+
| Field               | Value                            |
+---------------------+----------------------------------+
| domain_id           | default                          |
| email               | Ysabella.Ong@lnl.infn.it         |
| enabled             | True                             |
| id                  | 7681252c430040e7bb96c7c4f7c88464 |
| name                | ysaong@infn.it                   |
| options             | {}                               |
| password_expires_at | None                             |
+---------------------+----------------------------------+




To migrate a virtual machine to another compute node, there are two possible procedures:






systemctl stop puppet


error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key  
error: "net.bridge.bridge-nf-call-iptables" is an unknown key  
error: "net.bridge.bridge-nf-call-arptables" is an unknown key


then please issue:


modprobe br_netfilter

and then rerun puppet

In the configuration fails reporting a problem because of a wrong dependency required by swtpm, then issue:

mv /etc/yum.repos.d/advanced-virtualization.repo /etc/yum.repos.d/advanced-virtualization.repo.old
yum install centos-release-advanced-virtualization


and then rerun puppet


Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues