coreos / bugs

Issue tracker for CoreOS Container Linux
https://coreos.com/os/eol/
146 stars 30 forks source link

CoreOS gets stuck in loop if instance is created without a public interface #596

Open crawford opened 9 years ago

crawford commented 9 years ago

Issue by adamkdean Thursday Dec 04, 2014 at 14:43 GMT Originally opened as https://github.com/coreos/coreos-overlay/issues/981


On Rackspace's public cloud, if I create a CoreOS instance without PublicNet, CoreOS gets stuck in a loop waiting for both eth0 and eth1 (https://github.com/coreos/coreos-overlay/blob/master/coreos-base/oem-rackspace/files/coreos-setup-environment).

Not every CoreOS instance wants to be sat on the internet, and I'd rather be able to sit behind a firewall that I route my traffic through. This is not easy with problems like this.

crawford commented 9 years ago

Comment by adamkdean Thursday Dec 04, 2014 at 16:38 GMT


One way around this is to create a dummy network, say 10.0.0.0 and put that in as eth1, and then change the etcd addr and peer-addr to $public_ipv4.

crawford commented 9 years ago

Comment by pwaller Tuesday Apr 21, 2015 at 10:42 GMT


Huh, I think I hit this too months ago.

crawford commented 8 years ago

We should be able to resolve this once we move to Ignition on Rackspace.

ChrisMcKenzie commented 8 years ago

Any word on this? Would really like to be able to spin coreos machines up without a hitch and this appears to be the last hitch.

crawford commented 8 years ago

@ChrisMcKenzie Unfortunately, no. This has been a fundamental issue with CoreOS on Rackspace for over two years now. Once we add support for Rackspace to Ignition, this should no longer be an issue, but that is not a very high priority for us right now.

ChrisMcKenzie commented 8 years ago

yeah currently what has to be done is boot the machine up login change the bash script to not look for eth1 and then restart the coreos-setup-environment service and everything is happy. would a pull request be welcome for this script if I figure out a clean way to detect the interfaces?

crawford commented 8 years ago

@ChrisMcKenzie Absolutely! We'll take all the help we can get with CoreOS on Rackspace.