-
Notifications
You must be signed in to change notification settings - Fork 776
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
Microk8s - Ingress problem (port 80 is already in use) #2986
Comments
Will try getting the inspection-report tarball uploaded later - if I'm allowed to upload it. Unzipped it and changed the hostnames/IP-addresses of all the servers... so should be "washed" enough ... |
Hi @mwilberg, thank you for reporting the issue. In the past, we have observed that ingress runs is running into issues when reinstalling MicroK8s. A known workaround is rebooting the server. Is doing a (rolling) reboot of your servers possible? It should most likely resolve your issue. |
Thanks for the reply @neoaggelos, The order in which I did the "upgrade" made it more like a reinstall than an upgrade really. All servers have been restarted multiple times, yet something seems to be preventing the addition of ingress
This was the full procedure for cleaning up the cluster basically. Except I also removed everything from /var/lib/rook/ and did a Included a "modified" version of the inspection-report - so you will get a better idea what is working and what isn't. |
@mwilberg i couldn't find anything fishy. |
@balchua Will give it a try later today - didn't really try much in terms of custom anything yet, wanted to get the basic functionality up and running first. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We are running microk8s in an airgapped environment, so getting hold of logfiles and inspect tarballs is somewhat problematic, but this is the issue we are experiencing.
We had a working 3-node cluster (microk8s v1.20.6 on Ubuntu 20.04) running rook-ceph storage which got corrupted for some reason... but that is beside the point. After some consultation we decided we would just zap the disks associated with rook/ceph and rebuild the cluster.
Did a
microk8s leave
thenmicrok8s reset
on all the nodes - and then removed the old microk8s snap usingsnap remove microk8s
Checked /var/snap/ to see that the microk8s snap was gone - and it was
So far so good - as I said the system is airgapped so we had to import the snap/assert files manually and then installed the latest microk8s (v1.23.4) using
snap ack microk8s_3021.assert
andsnap install microk8s_3021.snap --classic
The required base images have also been imported
Rebuilding the cluster with the 3 nodes seem to work just fine, and enabling rbac/dns with
microk8s enable rbac dns
also works without a hitch. The problems start when I try to add the ingress usingmicrok8s enable ingress
The pods get fired up but in CrashLoopBackOff
There is noe "serverside" usage of port 80 that I can see, and no services created in microk8s either that should be a problem.
Would appreciate it greatly if someone has some insight or ways to figure out what is going on here. I have tried
curl 0.0.0.0:80 -vvv
but that fails, so I really dont understand why it insists that port 80 is in use..The text was updated successfully, but these errors were encountered: