Skip to content

Mounting/unmounting volume error on GKE #29903

Description

@rwyyr

Greetings all. I'm running my cluster on the GKE and after upgrading to 1.3.3 I've been having errors of the following format:

Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message

8m 4m 20 {default-scheduler } Warning FailedScheduling no nodes available to schedule pods
3m 3m 1 {default-scheduler } Normal Scheduled Successfully assigned mongodb-321322295-mnmo7 to gke-test-cluster-default-pool-f56cf9ee-f2kb
1m 1m 1 {kubelet gke-test-cluster-default-pool-f56cf9ee-f2kb} Warning FailedMount Unable to mount volumes for pod "mongodb-321322295-mnmo7_dev(20c985df-5882-11e6-ac8b-42010af00014)": timeout expired waiting for volumes to attach/mount for pod "mongodb-321322295-mnmo7"/"dev". list of unattached/unmounted volumes=[mongodb-data]
1m 1m 1 {kubelet gke-test-cluster-default-pool-f56cf9ee-f2kb} Warning FailedSync Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "mongodb-321322295-mnmo7"/"dev". list of unattached/unmounted volumes=[mongodb-data]

Evidently, that's not something specific to mongodb-data volume. I get these same errors for other volumes too (majority of them are secrets). I'm anticipating the possibility of upgrading to 1.3.4 release on GKE as I've read that it possibly resolves the problem but it's not available yet.

But for now I'd like to know if there're some workarounds/hacks for the problem that could allow me to continue deploying my services?

Also, huge thanks to the whole Kubernetes community. You're awesome 🖖🏻

Metadata

Metadata

Labels

area/kubeletsig/storageCategorizes an issue or PR as relevant to SIG Storage.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions