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

Grafana fails to start after deployment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.2
    • None
    • None

    Description

      Noticed this issue in Ambari system tests clusters that run on YCloud, that
      Grafana fails to start after deployment with the below error

      "stderr" : "Traceback (most recent call last):\n File \"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py\", line 67, in <module>\n AmsGrafana().execute()\n File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 280, in execute\n method(env)\n File \"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py\", line 46, in start\n user=params.ams_user\n File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 155, in _init_\n self.env.run()\n File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 160, in run\n self.run_action(resource, action)\n File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 124, in run_action\n provider_action()\n File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\", line 273, in action_run\n tries=self.resource.tries, try_sleep=self.resource.try_sleep)\n File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 71, in inner\n result = function(command, **kwargs)\n File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 93, in checked_call\n tries=tries, try_sleep=try_sleep)\n File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 141, in _call_wrapper\n result = _call(command, **kwargs_copy)\n File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 294, in _call\n raise Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution of '/usr/sbin/ambari-metrics-grafana start' returned 1. ######## Hortonworks #############\nThis is MOTD message, added for testing in qe infra\nStarting Ambari Metrics Grafana: .... FAILED",

      Please find the artifacts for the run [here](http://qelog.hortonworks.com/log
      /nat-yc-ambari-2-4-2-0-amb-r7-dmyu-ambari-config-6/test-logs/ambari-config/art
      ifacts/screenshots/com.hw.ambari.ui.tests.installer.InstallHadoop/install/_8_2
      3_23_7_Component_Phoenix_Query_Serveris_notSTARTEDon_host_ctr_e45_1475
      874954070_0581_01_/lastAvailableRequests.txt)

      Attachments

        1. AMBARI-18579.patch
          5 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: