In these notes the node to be added is cld-np-19.cloud.pd.infn.it
Disable the node so that no new VMs will be scheduled on this host. Instructions: Disable a compute node howto
Migrate the instances on this compute node to other hypervisors. Instructions: Migrate an instance howto
Reinstall the host with CentOS8 using Foreman. Move the host to the 'hosts_all' hostgroup
Make sure that SElinux is disabled
[root@cld-np-19 ~]# getenforce Disabled
Install OpenManage, if this is a DELL host. Instructions: OpenManage howto
Configure the data network, e.g.:
nmcli con mod eno3 ipv4.method manual ipv4.addr "192.168.61.129/24" nmcli con mod eno3 802-3-ethernet.mtu 9000 nmcli con up eno3 nmcli con mod eno3 connection.autoconnect yes
Stop puppet:
systemctl stop puppet
In foreman move the host under the ComputeC8CloudVenetoProdTrain hostgroup
Run puppet manually:
puppet agent -t
Start and enablepuppet:
systemctl start puppet; systemctl enable puppet
Verify that a ssh from root@cld-log to root@cld-np-19 works and from nagios@cld-nagios to nagios@cld-np-19 without requiring password
Reboot the node.
Enable the host:
openstack compute service set --enable cld-np-19.cloud.pd.infn.it nova-compute
Force the execution of the sensor "VM network and volume" nagios sensor