-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
False
-
False
-
CLOSED
-
Storage Core Sprint 221, Storage Core Sprint 222, Storage Core Sprint 223, Storage Core Sprint 224
-
Medium
-
No
Description of problem:
logs from csi-provisioner container in the hostpath-provisioner-csi pod
E0222 17:52:54.088950 1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.CSIStorageCapacity: failed to list *v1beta1.CSIStorageCapacity: unable to parse requirement: values[0][csi.storage.k8s.io/managed-by]: Invalid value: "external-provisioner-TRIMMED": must be no more than 63 characters
Version-Release number of selected component (if applicable):
OCP-4.10.0
CNV-4.10.0-686
How reproducible:
The issue reproduce with both hpp-csi-basic and also with hpp-csi-pvc-block storage class. Using WFFC bindingMode on the storage class. Note that when I change it to Immediate it works.
Steps to Reproduce:
1. Deploy HPP-CSI on cluster which has long fqdn names.
2. Try to bind a PVC
3.
Actual results: Stuck in pending state
Expected results: PVC should bind with PV
Additional info:
apiVersion: v1
items:
- apiVersion: hostpathprovisioner.kubevirt.io/v1beta1
kind: HostPathProvisioner
metadata:
creationTimestamp: "2022-02-22T17:52:08Z"
finalizers: - finalizer.delete.hostpath-provisioner
generation: 12
name: hostpath-provisioner
resourceVersion: "28215"
uid: 70dcf437-0b0b-4626-b6ae-fd405d397865
spec:
imagePullPolicy: IfNotPresent
storagePools: - name: hpp-csi-local-basic
path: /var/hpp-csi-local-basic - name: hpp-csi-pvc-block
path: /var/hpp-csi-pvc-block
pvcTemplate:
accessModes: - ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: local-block-hpp
volumeMode: Block
workload:
nodeSelector:
kubernetes.io/os: linux
status:
conditions: - lastHeartbeatTime: "2022-02-22T17:52:31Z"
lastTransitionTime: "2022-02-22T17:52:31Z"
message: Application Available
reason: Complete
status: "True"
type: Available - lastHeartbeatTime: "2022-02-22T17:52:31Z"
lastTransitionTime: "2022-02-22T17:52:31Z"
status: "False"
type: Progressing - lastHeartbeatTime: "2022-02-22T17:52:31Z"
lastTransitionTime: "2022-02-22T17:52:09Z"
status: "False"
type: Degraded
observedVersion: v4.10.0
operatorVersion: v4.10.0
storagePoolStatuses: - name: hpp-csi-local-basic
phase: Ready - claimStatuses:
- name: hpp-pool-5e8d1dd5
status:
accessModes: - ReadWriteOnce
capacity:
storage: 446Gi
phase: Bound
currentReady: 1
desiredReady: 1
name: hpp-csi-pvc-block
phase: Ready
targetVersion: v4.10.0
kind: List
metadata:
resourceVersion: ""
selfLink: ""
—
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
creationTimestamp: "2022-02-22T17:52:08Z"
name: hostpath-csi-basic
resourceVersion: "27230"
uid: 54847180-2570-4a32-9a95-4d4d208c5d69
parameters:
storagePool: hpp-csi-local-basic
provisioner: kubevirt.io.hostpath-provisioner
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
—
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
creationTimestamp: "2022-02-22T19:02:09Z"
name: hostpath-csi-pvc-block
resourceVersion: "178561"
uid: e3dead94-111d-469a-a8af-c8796eaf3d54
parameters:
storagePool: hpp-csi-pvc-block
provisioner: kubevirt.io.hostpath-provisioner
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
- external trackers