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
The storage class used by the pvc mounted by pod has been deleted, and the pvc was not created by openlocal. When openlocal plugin is not installed in the cluster, pod restart can be normally scheduled and pvc can be successfully mounted.
After deploying openlocal in the cluster, all pod scheduling needs to go through shceduler-extender. Then,pod schedule failed。
Ⅱ. Describe what happened
In the predicate phase of shcheduler-extender, StorageTypePredicate() will return an error: failed to get storage class by name. This causes pod scheduling to fail.
Ⅲ. Describe what you expected to happen
Optimize the volume judgment logic (perhaps in utils.NeedSkip()), if the pvc is not created by openlocal, then regardless of whether there is a storageclass, directly return to skip the shceduler-extender scheduling.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
Open-Local version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:
The text was updated successfully, but these errors were encountered:
luokp
changed the title
Open-Local storage volume(PVC/PV) judgment with storageclass not found.
[Bug ?] Open-Local storage volume(PVC/PV) judgment with storageclass not found.
Apr 23, 2023
Ⅰ. Issue Description
The storage class used by the pvc mounted by pod has been deleted, and the pvc was not created by openlocal. When openlocal plugin is not installed in the cluster, pod restart can be normally scheduled and pvc can be successfully mounted.
After deploying openlocal in the cluster, all pod scheduling needs to go through shceduler-extender. Then,pod schedule failed。
Ⅱ. Describe what happened
In the predicate phase of shcheduler-extender, StorageTypePredicate() will return an error: failed to get storage class by name. This causes pod scheduling to fail.
Ⅲ. Describe what you expected to happen
Optimize the volume judgment logic (perhaps in utils.NeedSkip()), if the pvc is not created by openlocal, then regardless of whether there is a storageclass, directly return to skip the shceduler-extender scheduling.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
uname -a
):The text was updated successfully, but these errors were encountered: