Open
Description
minikube version: v1.21.0
Steps to reproduce the issue:
-
minikube start --nodes=2
-
Provision hostpath volumes to
minikube-m02
e.g. via statefulset example -
check permissions via
minikube ssh -n minikube-m02 -- ls -lisa /tmp/hostpath-provisioner/default
(should be 777)
total 16
8376322 4 drwxr-xr-x 4 root root 4096 Jun 25 13:27 .
8376321 4 drwxr-xr-x 3 root root 4096 Jun 25 13:27 ..
8376324 4 drwxr-xr-x 2 root root 4096 Jun 25 13:27 mongo-persistent-storage-claim-mongo-0
8376323 4 drwxr-xr-x 2 root root 4096 Jun 25 13:27 tmp-vol-mongo-0
The first node has the correct permissions and pods are working there.
Full output of minikube logs
command:
minikube-logs.txt
Full output of failed command:
kubectl logs mongo-0 {"t":{"$date":"2021-06-25T13:33:17.238+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"mongo-0"}} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Available memory is less than system memory","attr":{"availableMemSizeMB":400,"systemMemSizeMB":2135}} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.6","gitVersion":"72e66213c2c3eab37d9358d5e78ad7f5c1d0d0d7","openSSLVersion":"OpenSSL 1.1.1 11 Sep 2018","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu1804","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}} {"t":{"$date":"2021-06-25T13:33:17.240+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"0.0.0.0"},"replication":{"replSet":"rs0"}}}} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"E", "c":"STORAGE", "id":20568, "ctx":"initandlisten","msg":"Error setting up listener","attr":{"error":{"code":9001,"codeName":"SocketException","errmsg":"Permission denied"}}} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"REPL", "id":4784900, "ctx":"initandlisten","msg":"Stepping down the ReplicationCoordinator for shutdown","attr":{"waitTimeMillis":10000}} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"COMMAND", "id":4784901, "ctx":"initandlisten","msg":"Shutting down the MirrorMaestro"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"SHARDING", "id":4784902, "ctx":"initandlisten","msg":"Shutting down the WaitForMajorityService"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"NETWORK", "id":4784905, "ctx":"initandlisten","msg":"Shutting down the global connection pool"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"REPL", "id":4784907, "ctx":"initandlisten","msg":"Shutting down the replica set node executor"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"NETWORK", "id":4784918, "ctx":"initandlisten","msg":"Shutting down the ReplicaSetMonitor"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"SHARDING", "id":4784921, "ctx":"initandlisten","msg":"Shutting down the MigrationUtilExecutor"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"CONTROL", "id":4784925, "ctx":"initandlisten","msg":"Shutting down free monitoring"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"STORAGE", "id":4784927, "ctx":"initandlisten","msg":"Shutting down the HealthLog"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"STORAGE", "id":4784929, "ctx":"initandlisten","msg":"Acquiring the global lock for shutdown"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"-", "id":4784931, "ctx":"initandlisten","msg":"Dropping the scope cache for shutdown"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"FTDC", "id":4784926, "ctx":"initandlisten","msg":"Shutting down full-time data capture"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"CONTROL", "id":20565, "ctx":"initandlisten","msg":"Now exiting"} {"t":{"$date":"2021-06-25T13:33:17.241+00:00"},"s":"I", "c":"CONTROL", "id":23138, "ctx":"initandlisten","msg":"Shutting down","attr":{"exitCode":48}}
Metadata
Metadata
Assignees
Labels
Issues relating to storage provisioner addonIssues related to multinode clustersCategorizes issue or PR as a support question.Indicates that an issue or PR should not be auto-closed due to staleness.Long-term support issues that can't be fixed in codeHigher priority than priority/awaiting-more-evidence.