-
Notifications
You must be signed in to change notification settings - Fork 57
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
openvswitch and routes not working after restart on Rocky-Linux 8.5 #599
Comments
I'm also running into a problem with Rocky Linux. Any help is welcome, this is a cool project, I hope we can get it working on Rocky.
|
My issue isn't specific to Rocky, so I'll add a new issue. I ran into the same error using Debian. Edit (Issue added): #647 |
Maybe there are some IPtables rules not persisted after rebooting and I dont have a way to test this on Rocky. |
Hi @ccamacho, Thanks for the awesome project. 👍 I am also running into same issue. After reboot, I am not able to reach 10.0.0.x. |
I've got two servers, one with alma 8.x (which also seems to lose connectivity after reboot), and one with centos stream. I could help with providing some debug data, I can sacrifice my currently running clusters if need be. |
Okay, so the one with CentOS 8 and vanilla k8s didn't persist after restart. The VM's launched fine, but there was no networking. Also, the service pod only had one IP address, from the 10.89.x.x subnet. |
Description
With a bit of modification of the kubeinit files I am able to get okd deployed on rocky-linux 8.5. You can see the modifications here: https://github.com/Tokix/kubeinit I could make a pull request but there is one thing that is not working as expected and that is the restart of the server. After the restart the routes are vanished and I'm not able to reach the frontend anymore.
To Reproduce
Steps to reproduce the behavior:
yum install python3
git clone https://github.com/Tokix/kubeinit.git
https://console-openshift-console.apps.okdcluster.kubeinit.local/
init 6
https://console-openshift-console.apps.okdcluster.kubeinit.local/
Expected behavior
The external url of the cluster should be available on restart and the routes should be set.
Screenshots
Working route-configuration before the restart:
Route configuration after restart:
Infrastructure
Deployment command
Inventory file diff
I did no changes to the inventory file
Additional context
As selinux is active on rocky-linux 8.5 my first thought was that some changes could not be persisted so I disabled selinux for testing. However it is still not running after restart.
Checked this old issue https://forums.opensuse.org/showthread.php/530879-openvswitch-loses-configuration-on-reboot but it seems that the booting order of openvswitch and network.service is fine.
Furthermore I ran the steps "Attach our cluster network to the logical router" in the file kubeinit/roles/kubeinit_libvirt/tasks/create_network.yml - This got me back to the correct routing table but I'm still not able to reach the guest-systems via 10.0.0.1-x
Is there any script or service that needs or can be re-run to enable the networking after reboot?
In any case I'm thankful for any hints let me know if you need more information.
Thank you in any case for the great project :)
The text was updated successfully, but these errors were encountered: