-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
None
-
grafana-10.2.6-10.el10
-
Yes
-
Moderate
-
1
-
rhel-sst-pt-pcp
-
ssg_platform_tools
-
21
-
1
-
QE ack
-
False
-
-
No
-
Red Hat Enterprise Linux
-
PCP Sprint 13
-
Pass
-
Automated
-
Unspecified Release Note Type - Unknown
-
None
What were you trying to do that didn't work?
When a mssql datasource is created, it can not access the MSSQL server because the connection is not allowed in grafana-selinux policy.
What is the impact of this issue to you?
mssql datasource does not work
Please provide the package NVR for which the bug is seen:
grafana-10.2.6-7.el10
( reproducible also on grafana-10.2.6-6.el10 )
How reproducible is this bug?:
Always
Steps to reproduce
- Install grafana & MSSQL server
- Configure a mssql datasource to access the MSSQL server
- Push the "Save and Test" button on the datasource page
Expected results
The datasource works
Actual results
The datasource fails with the following error message:
[sqleng.connectionError] failed to connect to server - please inspect Grafana server log for details
There is also an AVC record generated:
# audit2allow -a #============= grafana_t ============== allow grafana_t mssql_port_t:tcp_socket name_connect;
- is cloned by
-
RHEL-69939 mssql datasource in grafana can not access MSSQL server due to selinux issue
- Release Pending
- links to
-
RHSA-2024:139708 grafana security update