-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Write etcd config file fails: no ipv4 address for eth1 #1573
Comments
Seems to be an issue where the centos7 image does not have an ipv4 address for eth1. The box needs to be fixed to fit the deployment but in the meantime fedora/coreos seems to work ok. |
Hi @valentin-krasontovitsch, just deployed the cluster with vagrant with centos7, it works. Running with Vagrant 1.8.1. on Fedora 24. Just, instead of VirtualBox I run on libvirt. This could be VirtualBox configuration specific issue. @the0rem, any advices how to configure it? |
Hi ingvagabund, Unfortunately I'm not able figure that out. For reference I am running:
I am leaning towards https://github.com/kubernetes/minikube for dev related work. Xhyve wins me over in that respect considering the latest movements of docker on Mac OSX. |
Thanks @ingvagabund and @the0rem for taking time to look into this. VirtualBox may very well be the culprit here. As a workaround, restarting the virtual machine fixed this problem for me: After the restart, the interface in question had an IP address assigned. Trying to figure out if kubernetes will fit our needs as an orchestrating tool for a multi node environment, minikube is unfortunately not able to deliver a proof of concept, since the features we're looking to test are precisely not supported by minikube (single node cluster only). @the0rem , what do you mean by
Would you care to elaborate? |
Closing the issue then as this is related to VirtualBox. |
@ingvagabund, is it ovbious that the issue cannot be with the configuration of Virtualbox (using centos) in the provided Vagrantfile? |
@valentin-krasontovitsch I misinterpreted you previous comment (reading restarting virtual box instead of provision VM). So the issue is reproducible everytime you vagrant up with Virtualbox? After restarting provisioned VM(s) ip addresses are assigned? |
Yes, just pulled clean rep, applied the changes mentioned in bottom of original post, and got the same error message. And yes, after sshing into the machine, and running Also, running |
By the by, I run into more issues after doing the above. Should I post them as well, or wait for this to get resolved / at least reproduced first? |
If it is related to the ipv4, you can post it here. Otherwise, it if is Vagrant deployment related, open new issue for it. Thanks. |
Came across the same problem here. eth1 does not have ipv4 address. |
The same problem here, does any one find a solution? |
Same problem here.
I can see no IP on |
Same issue: hashicorp/vagrant#8250 ? |
@jasonbrooks or @ingvagabund can check this pull request? @valentin-krasontovitsch this patch fix your problem? |
@harobed thanks for the patch! Not working on kubernets anymore at the moment, so please don't wait for me for an answer - I'm not gonna make any promises that I'll try to reproduce this. But probably I will try tomorrow : ) |
Fixed for me with Vagrant |
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 with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Using contrib/ansible, trying to setup a k8s cluster
running
vagrant up
produces the following error message:Upon more precise inspection of the task, it turns out that a template file is used, which tries to access
hostvars[kube-master-1][eth1].ipv4.address
. Upon debugging the correspondinghostvars
, I observed that that interface does not have an ipv4 section.To get this far I had to do the following edits of
contrib/ansible/vagrant/Vagrantfile
:# require 'vagrant-aws'
source_type: 'packageManager',
inansible.extra_vars = { ... }
config.proxy.http = ENV['http_proxy']
(using vagrant-proxyconf plugin)Hence, in order to reproduce, the last and first step might be unnecessary.
The text was updated successfully, but these errors were encountered: