-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Logging is not working on Selinux enabled setups #30949
Comments
There are two things that need to happen for this to work, I think:
|
Unless someone disagree's we will leave this as a yaml option in the chart, and not put it in the UI as a checkbox. cc @ebauman |
Is it a big ask to put it in the UI? It seems like a worthy inclusion. "Check this box if you're using SELinux-enabled container runtime". |
It's not hard to do, but we have a lot of settings in the values.yaml and almost none of them are in the UI: @paynejacob @nickgerace was there ever a decision made here or did we just not get around to adding anything. |
Reproduced in Rancher version:
Some file access issues are reported in the logs. No log files were collected.
|
Waiting on new RPM setup then we can re-test |
Back in test. @izaac note that the RPM has changed. |
Rancher Rancher SELinux policies RPM repository used:
I was able to see the control plane logs flowing to the ClusterOutput. Issue opened about cluster owner not able to install v2 charts: #31919 |
RKE 1Rancher OS version: OS version: OS version: OS version: OS version: Validated the RKE logs were flowing to the cluster output using the logging example project. |
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Install Rancher
v2.5.5
on a RHEL instance (ami-0057f60d0abc2fcc7) with SELinux enabledLaunch a downstream cluster
Install Logging v2 via the cluster explorer
Set up Cluster Flow and Cluster Output using Elasticsearch.
See logs flow in Elasticsearch
Result:
Saw the following errors in Elasticsearch:
No logs are flowing from the
rancher-logging-rke-aggregator
podsErrors seen in
rancher-logging-rke-aggregator
pods:Other details that may be helpful:
This behavior has also been seen on CentOS 7.9 clusters running Docker CE w/ SELinux enabled
Environment information
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI):v2.5.5
Cluster information
kubectl version
):v1.19.6
The text was updated successfully, but these errors were encountered: