kata-deploy: tdx_not_supported_warning: command not found
ldoktor opened this issue · comments
Lukáš Doktor commented
Description of problem
# Bring up fresh OCP 4.15 and configure KUBECONFIG
cd kata-containers/kata-containers/ci/openshift-ci
./test.sh
Expected result
It should deploy kata-containers
Actual result
It fails because the kata-deploy fails with:
[medic@fedora kata ]$ oc logs -n kube-system pod/kata-deploy-2jj9z
Environment variables passed to this script
* NODE_NAME: ci-ln-mis8n22-1d09d-jdhqd-worker-centralus1-44nfv
* DEBUG: false
* SHIMS: clh cloud-hypervisor dragonball fc qemu qemu-coco-dev qemu-sev qemu-snp qemu-tdx stratovirt qemu-nvidia-gpu qemu-nvidia-gpu-snp qemu-nvidia-gpu-tdx
* DEFAULT_SHIM: qemu
* CREATE_RUNTIMECLASSES: false
* CREATE_DEFAULT_RUNTIMECLASS: false
* ALLOWED_HYPERVISOR_ANNOTATIONS:
* SNAPSHOTTER_HANDLER_MAPPING:
* AGENT_HTTPS_PROXY:
* AGENT_NO_PROXY:
copying kata artifacts onto host
/opt/kata-artifacts/scripts/kata-deploy.sh: line 276: tdx_not_supported_warning: command not found
Further information
The /etc/os-release
of the OCP4.15 is:
NAME="Red Hat Enterprise Linux CoreOS"
ID="rhcos"
ID_LIKE="rhel fedora"
VERSION="415.92.202405070140-0"
VERSION_ID="4.15"
VARIANT="CoreOS"
VARIANT_ID=coreos
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux CoreOS 415.92.202405070140-0 (Plow)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::coreos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://docs.openshift.com/container-platform/4.15/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="OpenShift Container Platform"
REDHAT_BUGZILLA_PRODUCT_VERSION="4.15"
REDHAT_SUPPORT_PRODUCT="OpenShift Container Platform"
REDHAT_SUPPORT_PRODUCT_VERSION="4.15"
OPENSHIFT_VERSION="4.15"
RHEL_VERSION="9.2"
OSTREE_VERSION="415.92.202405070140-0"
The problem is in kata-deploy.sh
which defines tdx_supported
and tdx_not_supported
but in the default branch (around line 276) it calls tdx_not_supported_warning
.