-
Notifications
You must be signed in to change notification settings - Fork 116
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
PersistentVolumeClaim not satisfied by default StorageClass #2560
Comments
I can't find the diagnostic for given ID. Have you correctly uploaded it after running it ? Also to work, the default provisionner we created requires (even if that's undocumented) that the |
Please try the attached version of docker-diagnose (run with https://github.com/docker/for-mac/files/1695522/docker-diagnose.zip |
ID: DBE70B17-5C2C-4586-B6AB-AA33502479B1 BTW, that file comes down with a .exe extension. @pgayvallet /Users folder is in the shared list. |
So, based on your comments, I tried a few things.
|
As a note, this was working and then during one of the edge updates it stopped working, IIRC. |
@fosrias when you couldnt reshare |
This issue is almost certainly related to kubernetes/minikube#2256 and https://stackoverflow.com/questions/47849975/postgresql-via-helm-not-installing I'm experiencing this issue in Docker for Mac 18.0.2.0-ce-rc2-mac51 (22446). My docker-diagnose ID is: 19DDCEFD-3FFF-4877-AFC3-791454BCED4B I have |
Got that pop-up after re-adding /Users and trying to "Apply and Restart". Have to reset factory settings to get /Users back after deleting it. |
@fosrias You said you got it working at some point. Do you remember what you did between the state where the folder was shared and the PVC working, and the state where you tried to re-share the folder ? |
@pgayvallet IIRC, these were my exact steps:
|
It may be that just deleting /Users, restarting and re-setting factory settings may be all that is needed to fix it, but did not think that scenario thru originally @pgayvallet |
Reproduced : The volume actually wrote something to /Users while it wasnt shared, so the folder was created in the VM, which make re-sharing actually impossible. |
Factory or remove all data fixes it. Don't understand what caused the PVC to broke in the first place if you are sure you never unshared it before the issue though. |
Just factory. I also had to restart k8s in there also. Forgot that step. |
Yeah. Never unshared, but I wonder if upgrading edge version and restarting affected something. That is all I can think about. I really did nothing else. |
The mac51 update migrated the cluster from 1.8.2 to 1.9.2. that may be a lead. |
So, just checked with a buddy and he ran into it with the prior build still on v1.8.2. He fixed it with just resetting factory settings. |
Also, just wondering, with your actual usage, is the fact that the persistent volume is synced with the host useful or not ? |
Not really. Just want a PVC to be fulfilled by the default StorageClass and call it a day for simple local testing. |
Hi, I'm hit by the same issue I guess. The problem can be reproduced by following https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
I create a PersistentVolumeClaim and the AdmissionController adds the default storageClass and the PVC is created in a running state.
Actual behavior
The storage class is added and the PVC is in the pending state.
Information
Docker for Mac: version: 18.02.0-ce-rc2-mac51 (1179f458c5db5072781101144a8d7e017fcb568c)
macOS: version 10.12.6 (build: 16G1212)
logs: /tmp/DBE70B17-5C2C-4586-B6AB-AA33502479B1/20180204-132752.tar.gz
[OK] db.git
[OK] vmnetd
[OK] dns
[OK] driver.amd64-linux
[OK] virtualization VT-X
[OK] app
[OK] moby
[OK] system
[OK] moby-syslog
[OK] kubernetes
[OK] env
[OK] virtualization kern.hv_support
[OK] slirp
[OK] osxfs
[OK] moby-console
[OK] logs
[OK] docker-cli
[OK] menubar
[OK] disk
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: