Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1526605 - Installing the Red Hat Ceph Storage Dashboard fails
Installing the Red Hat Ceph Storage Dashboard fails
Status: CLOSED DUPLICATE of bug 1537445
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Ceph-Metrics (Show other bugs)
3.0
x86_64 Linux
unspecified Severity high
: rc
: 3.*
Assigned To: Zack Cerza
ceph-qe-bugs
:
Depends On:
Blocks: 1356451
  Show dependency treegraph
 
Reported: 2017-12-15 15:05 EST by Justin Bautista
Modified: 2018-09-13 13:52 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-13 13:52:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3290461 None None None 2017-12-21 12:02 EST
Red Hat Knowledge Base (Solution) 3296261 None None None 2017-12-21 12:32 EST

  None (edit)
Description Justin Bautista 2017-12-15 15:05:09 EST
Description of problem:

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html-single/administration_guide/#installing-the-red-hat-ceph-storage-dashboard


Following the documentation (above) to install ceph-grafana, skipping step 4 (not manually creating var.yml), it is failing with the following error:


ASK [ceph-grafana : Create Graphite DB tables] *************************************************************************************************************************************************************************************************************************
fatal: [ceph30]: FAILED! => {"failed": true, "msg": "The conditional check 'migrate_cmd.rc != 0 and 'table \"django_content_type\" already exists' not in migrate_cmd.stderr' failed. The error was: error while evaluating conditional (migrate_cmd.rc != 0 and 'table \"django_content_type\" already exists' not in migrate_cmd.stderr): Unable to look up a name or access an attribute in template string ({% if migrate_cmd.rc != 0 and 'table \"django_content_type\" already exists' not in migrate_cmd.stderr %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable"}

If the customer uses the root user the installation completes as expected. However, called out that it's strange that the Ceph cluster itself deployed/installed properly when running the playbook as the ansible user, however when installing the dashboard it failed (until run as root).


How reproducible:
Following the steps as documented (and skipping optional step #4) - Always
Comment 12 mamccoma 2018-09-13 13:52:24 EDT

*** This bug has been marked as a duplicate of bug 1537445 ***

Note You need to log in before you can comment on or make changes to this bug.