Skip to content
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

restarting pods throws error #85

Open
ssinhas opened this issue Jun 30, 2017 · 5 comments
Open

restarting pods throws error #85

ssinhas opened this issue Jun 30, 2017 · 5 comments

Comments

@ssinhas
Copy link

ssinhas commented Jun 30, 2017

delete and creating deployment doesn't work.. Throwing error

Failed to attach volume "jenkins-home" on node "gke-demo-default-pool-f7ab4024-6ttg" with: googleapi: Error 400: The disk resource 'projects/dev-lm/zones/us-central1-b/disks/jenkins-home' is already being used by gke-demo-default-pool-f7ab4024-npdg

@viglesiasce
Copy link
Contributor

Were you able to get the pod to restart? It can take a couple of minutes for volumes to detach from the old node and reattach to a new one.

@ssinhas
Copy link
Author

ssinhas commented Jul 17, 2017

yup I figure that one out...Question still remains how do you automate this?
As it is part of Replication Controller, if pods dies RC recreate a pods and again it dies.

It goes in loop.

@viglesiasce
Copy link
Contributor

This is automated, it should not loop. If it is looping forever then there is a bug.

@viglesiasce
Copy link
Contributor

What version is your cluster?

@ssinhas
Copy link
Author

ssinhas commented Jul 17, 2017

1.6.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants