-
Notifications
You must be signed in to change notification settings - Fork 61
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
Cannot bring up test k8s cluster on Fedora with run-local.sh
#319
Comments
@wainersm You mentioned that you have ran some of these tests on Fedora before. Have you encountered this issue? |
@tylerfanelli sometime back @c3d suggested the following to disable swap on Fedora, otherwise it comes back.
|
@bpradipt Thanks for pointing this out, your fix seems to have solved my problem. I see that the image was built:
Yet I don't think it is ran:
What is the difference between |
The cc-operator is the newly built operator image which is pushed to the local docker registry. That's the one you see with container id |
Describe the bug
On Fedora, when running
tests/e2e/run-local.sh
, when bringing up the local k8s cluster, an error occurs that prevents the cluster from being brought up.To Reproduce
Steps to reproduce the behavior:
Describe the results you received:
All previous checks pass, yet on
INFO: Bring up the test cluster
, I'm met with the following:Notice the warning:
[WARNING Swap]: swap is enabled; production deployments should disable swap unless testing the NodeSwap feature gate of the kubelet
I've looked up the error message
[kubelet-check] It seems like the kubelet isn't running or healthy.
and found this post discussing the issue. One popular answer indicates that the issue is due to swap being enabled, which from the previous warning I mentioned, seems like it could be a likely cause of my problem.So, I undo the changes made from the test:
$ ./run-test.sh -u
Check the current swaps:
Disable swap:
Check to ensure the swaps are gone:
Seems that they are gone, so I run
run.sh
again:$ ./run.sh -r kata-qemu-snp
And am met with the following:
Seeing that the system reports swap being enabled again, I view the swaps being used:
Is there something in the system (k8s, systemd?) that is re-initializing swaps? I ensure they are disabled before the test is ran; yet after, they are re-enabled.
Has anyone seen this before or have any potential solutions? Thanks.
The text was updated successfully, but these errors were encountered: