-
Notifications
You must be signed in to change notification settings - Fork 36
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
interface name mismatch #5
Comments
Did you take a look at my latest commit to the master branch? It is working. I tested it yesterday. There were some issues with a previous version and the latest FCOS 32. |
yeah, I did an install attempt after seeing your commits and after hand-merging your changes into my scripts. So, It could be because the machine config pivotted image is still based on the older fc32.20200629.3.0 and they haven't moved to fc32.20200809.3.0 yet It could be because my setup (laptop) is too under-resourced, and I shouldn't try to run a kubernetes cluster on it It could be because even though vbox supports nested-virtualization, for some reason i am unable to allocate more than 1 core to kvm/virsh nested-vm. If even 2 cores are allocated, the kvm-guest kernel panics and also causes the kvm-host to freeze. Running the 1core vm, in journalctl I can see that hyperkube has write/read/connect timeouts, perhaps caused by delays in crio starting containers. the 6443 port disappearing for instance. |
nic0 was an arbitrary choice. The ifnames feature allows you to create fixed, predictable names for your interfaces. That way, I know what the device name is across all of my different hardware types. I don't have to hunt for eno1 vs. enps2... etc... To run this single node cluster build, you still need some pretty beefy hardware. 4 vCPU and 32GB ram. It also helps if you have a fast SSD. |
@hgkamath May I know how to login in console to bootstrap with username core after second reboot? my network can not start up, not sure how to fix that. |
There really isn't a way to log in other than ssh, which obviously doesn't work if the network is not available. The more important problem is why the network config is not working. Is this the startup after the initial FCOS install? |
Description
fedoracoreos/okd ignores nic0 and creates a new connection "Wired Connection"
As the interface does not get a DNS/IP address, one cannot login via ssh and needs to login via console.
Experimenting
My bash scripts are based on your scripts
Trying to run a okd4-snc inside virtualbox
laptop -> windows-10 -> virtualbox (nested) hostnode fedora-33-> kvm/qemu bootstrap
FCOS=32.20200809.3.0
OKD_RELEASE=4.5.0-0.okd-2020-09-04-180756
During the install-boot the coreos-installer seems to fetch
Fedora CoreOS 32.20200629.3.0 dracut-050-61.git20200529.fc32
Workaround
Had to do the following on 2nd boot (1st boot=virt-install) in anticipation of future reboot ssh failure
3rd-Boot (cannot ssh until iface is fixed)
... bootstrap setup proceeds.
The masters node
first boot (virt-install) : Fedora CoreOS 32.20200809.3.0 dracut-050-61.git20200529.fc32
2nd boot: Fedora CoreOS 32.20200809.3.0 dracut-050-61.git20200529.fc32
nb.
This may be a trash bug, caused because for some reason, (bug in my script) was not fetching the right fcos image bootstrap installer iso and was being skipped and hence not recreated.
After rebuilding the bootstrap machine:
First boot virt-install booted with Fedora CoreOS 32.20200809.3.0 dracut-050-61.git20200529.fc32
Second boot booted with Fedora CoreOS 32.20200809.3.0 dracut-050-61.git20200529.fc32 , 5.7.12-200.fc32.x86_64 on an x86_64
the nic0 was assigned correctly
However the same thing happens after the pivot
Fedora CoreOS 32.20200629.3.0
Kernel 5.6.19-300.fc32.x86_64
so there is some problem
The text was updated successfully, but these errors were encountered: