Ceph - Dashboard installation failing on TASK [ceph-grafana : Push dashboards to Grafana]

Solution Verified - Updated -

Issue

  • I'm trying to deploy the RHCS Dashboard, but ceph-ansible is failing on this step:
TASK [ceph-grafana : Push dashboards to Grafana] ********************************************************************************
fatal: [cephtest]: FAILED! => {"changed": true, "cmd": ["/usr/libexec/cephmetrics/dashUpdater.py", "-m", "refresh", "-c", "/tmp/dashboard.yml", "-D", "/usr/share/cephmetrics/dashboards"], "delta": "0:00:00.066873", "end": "2017-12-19 16:01:09.998202", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-12-19 16:01:09.931329", "stderr": "Traceback (most recent call last):\n  File \"/usr/libexec/cephmetrics/dashUpdater.py\", line 8, in <module>\n    from requests import get, post, put\nImportError: No module named requests", "stderr_lines": ["Traceback (most recent call last):", "  File \"/usr/libexec/cephmetrics/dashUpdater.py\", line 8, in <module>", "    from requests import get, post, put", "ImportError: No module named requests"], "stdout": "", "stdout_lines": []}
        to retry, use: --limit @/usr/share/cephmetrics-ansible/playbook.retry

PLAY RECAP **********************************************************************************************************************
cephtest                : ok=36   changed=8    unreachable=0    failed=1

Environment

  • Red Hat Ceph Storage 3.0
  • Red Hat Ceph Storage Dashboard (cephmetrics)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.