rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.45k stars 656 forks source link

RancherOS unable to get IP address #822

Closed sheng-liang closed 8 years ago

sheng-liang commented 8 years ago

I have a server with 2 10G NIC ports.

eth0 not connected. eth1 connected.

When I initially booted the server using ISO, it was able to get an IP address.

After I installed the OS onto hard disk and reboot, it can no longer get an IP address for eth1.

After I login and run "sudo system-docker restart network" it got an IP address for eth1 again.

Logs attached.

logs.zip

liyimeng commented 8 years ago

I have similar issue since v0.4.3, some interfaces won't get IP right after installation, but an extra reboot solve the problem, so I did not pay much attention.

deniseschannon commented 8 years ago

This is working in master for v0.4.5.

deniseschannon commented 8 years ago

Per @aemneina, this works with v0.4.5-rc2

mshivanna commented 5 years ago

@deniseschannon we are still facing this issue. we are using vms on proxmox. we see this issue quite often. we are running ros 1.5.1. vms need multiple reboots to get the ips on all interfaces. Currently we have 2 interfaces attached. only one of the interfaces gets the ip. we reboot the vm, the interface which had the ip loses the ip and the interface which did not have the ip gets the ip. we need several reboots to get both the interfaces working.

PeggyFree commented 5 years ago

Same problem here. I tried an old proxmox image first, I got a IP but got the "no space left" error. I just installed the 1.5.4 rancheros-proxmoxve-autoformat.iso and I can't get an IP. I restarted 6 times.

niusmallnan commented 5 years ago

@PeggyFree That's not the same issue, please file a new one to describe more details.