Uploaded image for project: 'Origin Community Distribution of Kuberentes'
  1. Origin Community Distribution of Kuberentes
  2. OKD-232

Whereabouts-reconciler image entrypoint is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Refer to https://github.com/okd-project/okd/discussions/2060

       

      Upgrade to scos-release:4.16.0-okd-scos.0 from 4.15.0-0.okd-scos-2024-01-18-223523 for me stuck on network-operator rolling out the DaemonSet "/openshift-multus/whereabouts-reconciler".

      The whereabouts-reconciler Pod is crashlooping with:
       {{ [entrypoint.sh] FATAL ERROR: Unsupported OS ID=centos}}
       
      Indeed, is image is based on:
       {{cat /etc/os-release:
      NAME="CentOS Stream"
      VERSION="9"
      ID="centos"
      ...}}
       
      But entrypoint.sh does not handle the centos name:
       {{# Collect host OS information
      . /etc/os-release
      rhelmajor=

      1. detect which version we're using in order to copy the proper binaries
        case "${ID}" in
        rhcos|scos)
        rhelmajor=$(echo ${RHEL_VERSION} | cut -f 1 -d .)
        ;;
        rhel)
        rhelmajor=$(echo "${VERSION_ID}" | cut -f 1 -d .)
        ;;
        fedora)
        if [ "${VARIANT_ID}" == "coreos" ]; then
        rhelmajor=8
        else
        log "FATAL ERROR: Unsupported Fedora variant=${VARIANT_ID}"
        exit 1
        fi
        ;;
        *) log "FATAL ERROR: Unsupported OS ID=${ID}"; exit 1
        ;;
        esac}}
         
        It is the same OS in scos-release:4.16.0-okd-scos.1.

              psundara@redhat.com Prashanth Sundararaman
              psundara@redhat.com Prashanth Sundararaman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: