[Upgrade to OKD SCOS 4.19] Lot of failures due to "Unsupported OS ID=centos" #2210
Replies: 3 comments 1 reply
-
|
The part of the scripts inside affected containers is: cni-bin-copy()
{
# collect host os information
. /host/etc/os-release
rhelmajor=
# detect which version we're using in order to copy the proper binaries
case "${ID}" in
rhcos|scos)
RHEL_VERSION=$(echo "${CPE_NAME}" | cut -f 5 -d :)
rhelmajor=$(echo $RHEL_VERSION | sed -E 's/([0-9]+)\.{1}[0-9]+(\.[0-9]+)?/\1/')
;;
rhel) rhelmajor=$(echo "${VERSION_ID}" | cut -f 1 -d .)
;;
fedora)
if [ "${VARIANT_ID}" == "coreos" ]; then
rhelmajor=8
else
log "cnibincopy" "FATAL ERROR: Unsupported Fedora variant=${VARIANT_ID}"
exit 1
fi
;;
*) log "cnibincopy" "FATAL ERROR: Unsupported OS ID=${ID}"; exit 1
;;
esac
...They are clearly not handling the |
Beta Was this translation helpful? Give feedback.
-
|
The issue is valid for latest We managed to complete the upgrade process with mitigation - changing the ID to "scos" in Afterwards we applied a machineconfig that is provisioning systemd unit, doing the same mitigation on boottime to act on subsequent possible base OS upgrades. I hope all affected containers will be fixed upstream to support "centos" OS ID, or it will be changed back to "scos" in OKD builds to make this kind of mitigations unnecessary to run OKD 4.19+. |
Beta Was this translation helpful? Give feedback.
-
|
It seems like this is certainly important enough a Bug/Issue so that it doesn't get missed or ignored. Does anyone have a clear read on where we can file such an issue to make sure it gets addressed appropriately? https://github.com/okd-project/okd-scos is archived. Maybe https://github.com/openshift/ovn-kubernetes but will they care about OKD or SCOS? according to https://github.com/coreos/rhel-coreos-config
So maybe it just belongs on https://github.com/openshift/okd/issues |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suddenly OS ID becomes
centosinstead ofscosafter update (node reboot by MCO).This cause a lot of critical system workload failures, like OVN and Multus, maybe there are more. Cluster is falling apart after this upgrade.
OKD SCOS 4.18
/etc/os-releaseon nodes:OKD SCOS 4.19
/etc/os-releaseon nodes:Beta Was this translation helpful? Give feedback.
All reactions