-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please document in a "known issues" section that installing OKD v4.16/v4.17 in UPI+ABI/AI on baremetal fails #47
Comments
@GingerGeek I don't know how you want me to send you the page... Here is a draft |
Workaround to install OKD v4.17.0-okd-scos.0 on UPI baremetal with the Agent Based Installer (ABI) or the Assisted Installer (AI)(This page does not explain how to install OKD with the ABI or AI tools, Check the official docs for the procedure) The problems and workarounds described here have way more details in many "discussions" and "issues" in the OKD github project: eg #2015, #2018, #2035 ... Context and problemsThe current stable version of OKD (v4.17.0-okd-scos.0) is based on SCOS. However the bootstrap image is still based on an "old" FCOS image. Installing v4.17.0-okd-scos.0 on baremetal in UPI with the ABI with the bundled bootstrap FCOS image (39.20231101.3.0) fails. Two problems arise:
Until the FCOS boostrap image is replaced by a working SCOS one, the following workaround can be used For ABI installOverride the "OPENSHIFT_INSTALL_OS_IMAGE" before generating the install ISO image:
For Assisted Installer installEdit the "okd-configmap.yml" or your own AI ConfigMap file (from https://github.com/openshift/assisted-service/blob/master/deploy/podman/okd-configmap.yml)
(The selected images comes from the OCP assisted-service maintained here: https://github.com/openshift/assisted-service/blob/master/deploy/podman/configmap.yml) Then, for both methodsBoot the nodes/Start the install
The "/var/run/postgresql/" directory for the PostgreSQL database to use for unix socket does not exist. This is most likely a bug in the "quay.io/okd/scos-content@sha256:..." image used for the service or a problem with the definition of the systemd service The solution is to tell PostgreSQL to use another directory for its unix socket. for that, login to the bootstrap node
Basically this is replacing the command "/bin/bash start_db.sh" used in the systemd start script by the content of the "start_db.sh" and adding a parameter to change the location of the socket to each "pg_ctl" command ("-k /tmp") Then the installation continues and after some time you can enjoy your freshly installed v4.17.0-okd-scos.0 cluster |
Hi, thank you for writing this. I don't think we can use this workaround since it relies on using RHCOS image which I think is subject to RHEL-license stuff. I understand that it's only momentarily for initial bootstrap Perhaps it's allowed under the usual RHEL developer license which i think allows X amount of machines? I will need to take this to the working group |
Discussed in okd-project/okd#2068
Originally posted by titou10titou10 December 17, 2024
So OKD v4.16/4.17 is officially out: https://github.com/okd-project/okd/releases/tag/4.17.0-okd-scos.0
Good work!
Could you add somewhere that installing those version in UPI with the agent based installer (ABI) or agent installer (AI) on baremetal does not work .
The problem and possible workaround is described here and in many other discussions (#1938, #2015, #1983 ...)
@JaimeMagiera suggested this in a comment here: okd-project/okd#2019 (reply in thread)
IMHO it could spare to time for people that use this method to install OKD
The text was updated successfully, but these errors were encountered: