Bug 1526605 - Installing the Red Hat Ceph Storage Dashboard fails
Summary: Installing the Red Hat Ceph Storage Dashboard fails
Keywords:
Status: CLOSED DUPLICATE of bug 1537445
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Metrics
Version: 3.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 3.*
Assignee: Zack Cerza
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1356451
TreeView+ depends on / blocked
 
Reported: 2017-12-15 20:05 UTC by Justin Bautista
Modified: 2021-12-10 15:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-13 17:52:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1537445 0 medium CLOSED [RFE] Support cephmetrics installation using the ansible user 2021-12-10 15:44:34 UTC
Red Hat Issue Tracker RHCEPH-1534 0 None None None 2021-09-09 13:00:33 UTC
Red Hat Knowledge Base (Solution) 3290461 0 None None None 2017-12-21 17:02:50 UTC
Red Hat Knowledge Base (Solution) 3296261 0 None None None 2017-12-21 17:32:37 UTC

Internal Links: 1537445

Description Justin Bautista 2017-12-15 20:05:09 UTC
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 17:52:24 UTC

*** 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.