-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Digital Ocean Provisioning not working (provisioner unable to connect to internet) #527
Comments
This sounds like cluster issue. Some questions:
|
Thanks @klausenbusk. This was a DNS issue.
The difference seems to be the nameservers:
Once I manually added in
Any idea how to solve this more automatically @klausenbusk? |
Is |
Apparently, it's suppose to inherit the node's |
I believe
|
To document, appending to nameservers to the |
Did you mean |
Yes, sorry, |
Probably set by |
Documenting in case people care. This was fixed by upgraidng to flannel v0.9.1, which contains a fix to the DNS issue: flannel-io/flannel#872. Thanks to @klausenbusk for pointing out the solution! |
@tianhuil did you have to make changes to your kube-controller-manager to make this work properly? |
@mattinsler correct, please see #529 for the final solution. I'm happy to help if you have any issues. |
@mattinsler: to be specific:
|
Ahh OK. I'm stuck on how to execute 529. I'm still new to k8s... If you wouldn't mind, how would I (after using kubeadm to get a working cluster) add the correct config to the kube-controller-manager and restart it? Also, what exactly is the correct config? I've tried a bunch of things out and different ways to try to update or restart kube-controller-manager and I've just torn down and re-created the cluster each time because I get stuck. |
Hi Matt,
No worries - the exact change depends on your system. You need to ensure
your output looks like this:
#529 (comment)
Instructions are here
#529 (comment)
On Tue, Jan 2, 2018 at 9:53 AM Matt Insler ***@***.***> wrote:
Ahh OK. I'm stuck on how to execute 529. I'm still new to k8s... If you
wouldn't mind, how would I (after using kubeadm to get a working cluster)
add the correct config to the kube-controller-manager and restart it? Also,
what exactly is the correct config? I've tried a bunch of things out and
different ways to try to update or restart kube-controller-manager and I've
just torn down and re-created the cluster each time because I get stuck.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#527 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0WkaZpFUuiYMEHTCzDVVX4s3aUkEsbks5tGkL6gaJpZM4RMGH5>
.
--
Michael Li
Training and placing PhDs to be data scientists:
http://www.thedataincubator.com
(Venture Beat) New bootcamp more competitive than Harvard
<http://venturebeat.com/2014/04/15/ny-gets-new-bootcamp-for-data-scientists-its-free-but-harder-to-get-into-than-harvard/>
(HBR) The question to ask before hiring a data scientist
<http://blogs.hbr.org/2014/08/the-question-to-ask-before-hiring-a-data-scientist/>
|
Sorry, I'm still really new. So I edited my |
No worries -- so edits to the file automatically propagate to the pod. If you made a mistake, I'm not sure what happens but it might kill the pod. If you save a backup copy, will the pod re-appear? You might also try |
Hmm, OK. I tried to create it and the mounts are successful, but the logs say:
Describing the pod shows:
There is definitely a file at |
What version of k8s are you using? I've been using |
Yes. 1.7.12. I might just upgrade to 1.9 though if that’s easier.
…On Wed, Jan 3, 2018 at 12:19 AM Michael Li ***@***.***> wrote:
What version of k8s are you using? I've been using 1.9.0. Are you on
1.7.12?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#527 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAL0gZ10cuSU1tJD5hg40-edAiBMLhBSks5tGw3VgaJpZM4RMGH5>
.
|
Got it working! I created a new cluster on 1.9 and made the changes to the kube-controller-manager.yaml file before adding any nodes. Things just worked that way. |
FWIW, if |
Ahh, good to know! |
/area digitalocean Just for the record. |
@klausenbusk @tianhuil I think I am having this same issue. I install a fresh cluster 1.10.2 on a Digital Ocean droplet, etc... Following the tutorials ... Eventually led me here. The provisioner pods don't have the nameserver records either. I had to manually add them to /etc/resolv.conf. Even after doing that no volumes are ever created. When I kubectl describe pvc/pv1 I see |
Which tool did you use? |
@klausenbusk I used kubeadm. Sorry I just saw your reply. I can't get past this error no matter what I try. =( |
Lets continue the discussion in #761 |
The snapshot workflow is being changed to use the CAS templates. (openebs/maya kubernetes-retired#602 kubernetes-retired#527) Until it's updated to use the CAS templates way of creating the snapshots, disabling them from CI. Signed-off-by: prateekpandey14 <[email protected]>
Hi, I'm trying to use the new DO provisioner. I'm running into this problem:
I get the error below (see Error below) which suggests that the provisioner is not allowed to speak with DO. I know that the security token is working as, by loading the token on my dev machine, I am able to run this command and view all my droplets:
Error Message
DNS Error?:
It appears that this is a network issue. When I ssh into the shell, I'm unable to resolve either k8s or external DNS querie:
Any clue? Particularly @klausenbusk
The text was updated successfully, but these errors were encountered: