Closed xing-yang closed 2 years ago
CC @NickrenREN @fengzixu
@zhucan This code here should still be fixed in the csi-driver-host-path repo:
Test procedure:
logs:
CC @xing-yang @NickrenREN @fengzixu
@zhucan Other than disabling "ListVolumes", you didn't make any changes to csi-driver-host-path?
Is this meant to become an E2E test somewhere?
You can manipulate the behavior of each CSI call in the hostpath driver on a per-test basis via the proxy feature. Previously that was done via command line parameters, but that is more complicated (first modify driver, release it, then write test).
@zhucan Other than disabling "ListVolumes", you didn't make any changes to csi-driver-host-path? Modify the responses of the "ControllerGetVolume",https://github.com/kubernetes-csi/csi-driver-host-path/pull/339
@xing-yang
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
If volume is not found, ControllerGetVolume should return abnormal volume condition rather than return nil.
https://github.com/kubernetes-csi/csi-driver-host-path/blob/v1.7.3/pkg/hostpath/controllerserver.go#L466