stormshift / support

This repo should serve as a central source for reporting issues with stormshift
GNU General Public License v3.0
3 stars 0 forks source link

Add inf44 to BareMetal Cluster #110

Closed rbo closed 1 year ago

rbo commented 1 year ago

/cc @astolzen

rbo commented 1 year ago

Prepare Boot / Install USB Stick

$ curl -L -O https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.10/latest/rhcos-4.10.37-x86_64-live.x86_64.iso
$ curl -L -O https://mirror.openshift.com/pub/openshift-v4/clients/coreos-installer/latest/coreos-installer
$ chmox +x ./coreos-installer
$ ./coreos-installer 
./coreos-installer: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
$ ls -la /usr/lib64/libssl*
-rwxr-xr-x. 2 root root 430944 Jan  1  1970 /usr/lib64/libssl3.so
lrwxrwxrwx. 3 root root     15 Jul 26 13:52 /usr/lib64/libssl.so.3 -> libssl.so.3.0.5
-rwxr-xr-x. 2 root root 677480 Jan  1  1970 /usr/lib64/libssl.so.3.0.5

# Fedora 37 Silverblue...

$ toolbox create --image registry.fedoraproject.org/fedora-toolbox:35
$ toolbox enter fedora-toolbox-35
$ ./coreos-installer 
coreos-installer 0.15.0
Installer for Fedora CoreOS and RHEL 

# Get worker igntion from cluster
$ oc get secrets -n openshift-machine-api worker-user-data-managed -o jsonpath="{.data.userData}" | base64 -d > worker.ign 

$ ./coreos-installer iso customize --dest-device /dev/sda --dest-ignition ./worker.ign -o rhcos.iso rhcos-4.10.37-x86_64-live.x86_64.iso 
Boot media will automatically install to /dev/sda without confirmation.

# Copy to usb stick - no in toolbox
$ sudo dd if=rhcos.iso of=/dev/sdc status=progress 

Double checked dhcpd:

[root@inf3 dhcp]# grep -ri -A5  inf44 *
dhcpd.hosts:host inf44 {
dhcpd.hosts-  hardware ethernet 2c:76:8a:54:46:38;
dhcpd.hosts-  fixed-address 10.32.96.44;
dhcpd.hosts:  option host-name "inf44";
dhcpd.hosts-  option domain-name "coe.muc.redhat.com";
dhcpd.hosts-}
...
rbo commented 1 year ago

Management Board of inf44 is not available.

rbo commented 1 year ago

Nodes added to cluster