-
Notifications
You must be signed in to change notification settings - Fork 206
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
Connection refused when using kubectl from toolbox 33 #613
Comments
I had the same problem after updating Silverblue from version 32 to version 33. A workaround is replacing the symlink present in
After that I could run Before this change |
Many thanks @fedgiac! That was it, indeed. |
I wonder why this occurred in the first place. The correct symlink should've been set up here: Line 1206 in 18e3955
|
The original Part of the issue is that the original |
I am glad that you managed to figure this one out! In case you want to pursue this further, then here are some pointers that might be of help. First of all, make sure that you are using the Go implementation of The container's If the host operating system is using systemd-resolved, then the host's Lastly, the host's |
Closing this. Feel free to re-open or leave a comment, if you have something new to add. |
Describe the bug
Running a kubectl command from within toolbox yields a connection refused error, no matter the target cluster. However, if kubectl is run from outside toolbox, or using another container such as
bitnami/kubectl
it works as expected.Steps how to reproduce the behaviour
Expected behaviour
The kubectl command works without any connectivity error, as it does from other containers or on the host OS.
Actual behaviour
The command returns the following:
Output of
toolbox --version
(v0.0.90+)toolbox version 0.0.96
Toolbox package info (
rpm -q toolbox
)toolbox-0.0.96-1.fc33.x86_64
Output of
podman version
Podman package info (
rpm -q podman
)podman-2.1.1-12.fc33.x86_64
Info about your OS
Fedora Silverblue 33
Additional context
This used to work properly in Silverblue 32 using the Fedora 32 image.
Also note that I can ping and ssh to the target machine from within toolbox. Nmap from within toolbox shows the port to be open.
The text was updated successfully, but these errors were encountered: