-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount Pod stuck in Pending state: PVC is not bound #892
Comments
Hi @Exubient, it seems like the status of cache pvc |
Hi @showjason, |
plz check You may need to confirm the |
I mean you should firstly make sure the cache pvc |
Thanks for the input, but i would like to add that gp3 is working fine as the current setting.
|
The deployment order is:
My suggestion is deploying the cache pvc again and checking its status, if |
@showjason It's quite frustrating for me to debug this issue for the following reasons.
|
@Exubient |
the pv is not created, only the pvc in stuck in the |
try to figure out why this pv is not created, maybe this is due to the |
我使用静态pv也碰到同样的问题,这个多副本的情况下必现的。因为你的缓存pvc是ReadWriteOnce的。第一个mount pod可以正常应用缓存pvc,第二个mount pod会因为缓存pvc不能多挂而pending
|
To fix this bug, it is recommended to use volumeClaimTemplates like juicefs/mount-cache-pvcTemplates instead of juicefs/mount-cache-pvc. Hope that the authorities will implement it
|
for this case, changing the |
I open a new issue. Phenomenon is different. #906 |
What happened:
I'm trying to make JuiceFS work on a EKS-s3 setup.
I have managed to make the PoC application work successfully using a dynamic provisioning/ using StorageClass.
After having tested the whole setup works, I tried changing the configs so that the cache for the mount pod would run on a seperate PVC(EBS in my case). option:
juicefs/mount-cache-pvc: XXX
Thus problem when doing so, the mount pod is stuck in a pending state with the error:
Unable to attach or mount volumes: unmounted volumes=[cachedir-pvc-0], unattached volumes=[], failed to process volumes=[cachedir-pvc-0]: error processing PVC kube-system/{NAME_OF_CACHE}: PVC is not bound
and the pvc stuck in state:
waiting for first consumer to be created before binding
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Mount Pod details
Anything else we need to know?
juicefs/mount-cache-pvc: "my-cache-pvc"
, the above settings works fine.kube-system
)Environment:
juicefs --version
) or Hadoop Java SDK version: Using imagejuicedata/mount:ce-v1.1.1
cat /etc/os-release
):uname -a
):Thank you!
The text was updated successfully, but these errors were encountered: