You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
After the hostpath-provisioner installation the csi-provisioner should create the CSIstoragecapacity objects. But the creation is failing with the following error.
I0120 04:14:26.724089 1 controller.go:873] "Started provisioner controller" component="kubevirt.io.hostpath-provisioner_hostpath-provisioner-csi-smrh4_6264f065-eaed-47aa-90a9-3a2563c965c2"
W0120 04:14:28.020372 1 reflector.go:547] k8s.io/client-go/informers/factory.go:160: failed to list v1.CSIStorageCapacity: unable to parse requirement: values[0][csi.storage.k8s.io/managed-by]: Invalid value: "-53f40b57-worker1.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.])?[A-Za-z0-9])?')
E0120 04:14:28.020406 1 reflector.go:150] k8s.io/client-go/informers/factory.go:160: Failed to watch *v1.CSIStorageCapacity: failed to list v1.CSIStorageCapacity: unable to parse requirement: values[0][csi.storage.k8s.io/managed-by]: Invalid value: "-53f40b57-worker1.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.])?[A-Za-z0-9])?')
What you expected to happen:
Successful creation of CSIStorageCapacity without any error.
How to reproduce it:
This issue is coming with the worker nodes have long node names.
worker0.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com
worker1.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com
Anything else we need to know?:
Environment:
Driver version:
It is coming with Redhat Hostpathprovisioner 4.18
Kubernetes version (use kubectl version):
Client Version: v1.32.0
Kustomize Version: v5.5.0
Server Version: v1.30.4
OS (e.g. from /etc/os-release):
NAME="Red Hat Enterprise Linux CoreOS"
ID="rhcos"
ID_LIKE="rhel fedora"
VERSION="417.94.202409121747-0"
VERSION_ID="4.17"
VARIANT="CoreOS"
VARIANT_ID=coreos
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux CoreOS 417.94.202409121747-0"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos::coreos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://docs.okd.io/latest/welcome/index.html"
BUG_REPORT_URL="https://access.redhat.com/labs/rhir/"
REDHAT_BUGZILLA_PRODUCT="OpenShift Container Platform"
REDHAT_BUGZILLA_PRODUCT_VERSION="4.17"
REDHAT_SUPPORT_PRODUCT="OpenShift Container Platform"
REDHAT_SUPPORT_PRODUCT_VERSION="4.17"
OPENSHIFT_VERSION="4.17"
RHEL_VERSION=9.4
OSTREE_VERSION="417.94.202409121747-0"
Kernel (e.g. uname -a): Linux worker0.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com 5.14.0-427.35.1.el9_4.s390x #1 SMP Fri Aug 30 14:18:01 EDT 2024 s390x s390x s390x GNU/Linux
Install tools:
Others:
The text was updated successfully, but these errors were encountered:
What happened:
After the hostpath-provisioner installation the csi-provisioner should create the CSIstoragecapacity objects. But the creation is failing with the following error.
I0120 04:14:26.724089 1 controller.go:873] "Started provisioner controller" component="kubevirt.io.hostpath-provisioner_hostpath-provisioner-csi-smrh4_6264f065-eaed-47aa-90a9-3a2563c965c2"
W0120 04:14:28.020372 1 reflector.go:547] k8s.io/client-go/informers/factory.go:160: failed to list v1.CSIStorageCapacity: unable to parse requirement: values[0][csi.storage.k8s.io/managed-by]: Invalid value: "-53f40b57-worker1.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.])?[A-Za-z0-9])?')
E0120 04:14:28.020406 1 reflector.go:150] k8s.io/client-go/informers/factory.go:160: Failed to watch *v1.CSIStorageCapacity: failed to list v1.CSIStorageCapacity: unable to parse requirement: values[0][csi.storage.k8s.io/managed-by]: Invalid value: "-53f40b57-worker1.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.])?[A-Za-z0-9])?')
A similar issue is fixed here.
#707
What you expected to happen:
Successful creation of CSIStorageCapacity without any error.
How to reproduce it:
This issue is coming with the worker nodes have long node names.
worker0.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com
worker1.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com
Anything else we need to know?:
Environment:
It is coming with Redhat Hostpathprovisioner 4.18
kubectl version
):uname -a
):Linux worker0.ocp-virt1-s390x.s390g.lab.eng.rdu2.redhat.com 5.14.0-427.35.1.el9_4.s390x #1 SMP Fri Aug 30 14:18:01 EDT 2024 s390x s390x s390x GNU/Linux
The text was updated successfully, but these errors were encountered: