Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-43435

Allow grafana use data sources from MSSQL database

    • grafana-9.2.10-17.el8_10
    • None
    • Important
    • 1
    • rhel-sst-pt-pcp
    • ssg_platform_tools
    • 1
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • PCP Sprint 6
    • None

      What were you trying to do that didn't work?

      Grafana was unable to connect to MSSQL's data source via port 1433 due to current SELinux rules.

      Please provide the package NVR for which bug is seen:

      grafana-9.2.10-16.el8_10.x86_64
      grafana-selinux-9.2.10-16.el8_10.x86_64

      How reproducible:

      Always.

      Steps to reproduce

      1. Install RHEL8.10
      2. Configure grafana to use MSSQL data source: https://grafana.com/docs/grafana/latest/datasources/mssql/

      Expected results

      Grafana should be able to work.

      Actual results

      Grafana is unable to connect to the MSSQL server. Sample logs as follows:

      Jun 18 09:43:48 system.test.com grafana-server[30000]: logger=tsdb.mssql t=<TIME> level=error msg="query error" err="Unable to open tcp connection with host 'MSSQL_SERVER:1433': dial tcp x.x.x.x:1433: connect: permission denied"
      

              rh-ee-sfeifer Sam Feifer
              rhn-support-qguo Qi Guo
              pcp-maint pcp-maint
              Jan Kurik Jan Kurik
              Jacob Valdez Jacob Valdez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: