Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20115

Ambari reports grafana service is down when its running causing other services to not start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • stacks
    • None

    Description

      On the node grafana is running.

      # cat /var/run/ambari-metrics-grafana/grafana-server.pid
      26593
       # ps aux | grep 26593
      root     20057  0.0  0.0   5712   824 pts/0    R+   16:12   0:00 grep 26593
      ams      26593  0.0  0.0 102032 12904 ?        Sl   01:19   0:11 /usr/lib/ambari-metrics-grafana/bin/grafana-server --pidfile=/var/run/ambari-metrics-grafana/grafana-server.pid --config=/etc/ambari-metrics-grafana/conf/ams-grafana.ini cfg:default.paths.data=/var/lib/ambari-metrics-grafana cfg:default.paths.logs=/var/log/ambari-metrics-grafana
      

      How ever after enabling WE when we tried to start all services ambari reported

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py", line 77, in <module>
          AmsGrafana().execute()
        File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 313, in execute
          method(env)
        File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py", line 58, in start
          create_ams_datasource()
        File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py", line 239, in create_ams_datasource
          response = perform_grafana_get_call(GRAFANA_DATASOURCE_URL, server)
        File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py", line 72, in perform_grafana_get_call
          raise Fail("Ambari Metrics Grafana update failed due to: %s" % str(ex))
      resource_management.core.exceptions.Fail: Ambari Metrics Grafana update failed due to: [Errno 1] _ssl.c:491: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
      

      Attachments

        1. AMBARI-20115.patch
          6 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: