Skip to content
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

completely broken with RKE2... #290

Closed
KyleSanderson opened this issue Jan 30, 2023 · 13 comments
Closed

completely broken with RKE2... #290

KyleSanderson opened this issue Jan 30, 2023 · 13 comments

Comments

@KyleSanderson
Copy link

Kind of unclear what's going on here as there's reports going back saying there's issues with OpenShift and similar. Retail RKE2 install on 1.24. Making the "helper" pod privileged creates the path, but every other pod still can't use it.

@KyleSanderson
Copy link
Author

#283
#282

@derekbit
Copy link
Member

Did you try #283 (comment)?

@derekbit
Copy link
Member

@KyleSanderson
Can you provide your env information?

Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: 
Number of management node in the cluster: 
Number of worker node in the cluster: 
Node config
OS type and version: 
SELinux enabled (true/false):
CPU per node: 
Memory per node: 
Disk type(e.g. SSD/NVMe):
Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): 

@KyleSanderson
Copy link
Author

Did you try #283 (comment)?

Yes, no impact. This is very easy to reproduce...

@KyleSanderson
Copy link
Author

Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.24.10+rke2r1
Number of management node in the cluster: SINGLE NODE
OS type and version: 5.14.0-162.12.1.el9_1.0.1.x86_64
SELinux enabled (true/false): Enforcing
CPU per node: 92
Memory per node: 1024
Disk type(e.g. SSD/NVMe): NVMe
Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Metal

@derekbit
Copy link
Member

Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.24.10+rke2r1 Number of management node in the cluster: SINGLE NODE OS type and version: 5.14.0-162.12.1.el9_1.0.1.x86_64 SELinux enabled (true/false): Enforcing CPU per node: 92 Memory per node: 1024 Disk type(e.g. SSD/NVMe): NVMe Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Metal

I see.
Will the helper pod work correctly if you disable the SELinux?
BTW, what's your OS distro (uname -a)?

@KyleSanderson
Copy link
Author

Confirmed, it's selinux. RHEL9.1 retail.

@derekbit
Copy link
Member

Confirmed, it's selinux. RHEL9.1 retail.

Thanks for your information. I will investigate this issue.
It might be caused by the SELinux. You can disable the SELinux and check it can work. If yes, I can work on it with more confidence.

@KyleSanderson
Copy link
Author

Yes, it is working now, and I have a replaced filesystem underneath (where it continues to work). Just need those environment variables to make this usable from a "real deployment" perspective.
Every other user is going to encounter this on modern ELs.

@derekbit
Copy link
Member

@KyleSanderson
Fixed in #295. Will release 0.0.24 soon. Thank you.

@KyleSanderson
Copy link
Author

Thank you. If the variables stuff could get some love #291 that would be very appreciated. My NAS provider barely supports folder names longer than 30 characters.

@derekbit
Copy link
Member

Thank you. If the variables stuff could get some love #291 that would be very appreciated. My NAS provider barely supports folder names longer than 30 characters.

Sure. Will check it. Thanks for the feedback.

@derekbit
Copy link
Member

derekbit commented Feb 14, 2023

Thank you. If the variables stuff could get some love #291 that would be very appreciated. My NAS provider barely supports folder names longer than 30 characters.

The challenge of the issue is the backward compatibility. Need to investigate more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants