Bug 1709324

Summary: [Doc RFE] Document dashboard installation and configuration
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Anjana Suparna Sriram <asriram>
Component: DocumentationAssignee: John Brier <jbrier>
Status: CLOSED CURRENTRELEASE QA Contact: Madhavi Kasturi <mkasturi>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: jbrier, kdreyer, khartsoe, mkasturi, sangadi
Target Milestone: rc   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-09 15:24:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1708370    

Comment 1 Giridhar Ramaraju 2019-08-05 13:10:44 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 2 Giridhar Ramaraju 2019-08-05 13:11:46 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 7 John Brier 2019-12-13 22:16:54 UTC
Dashboard is installed by default now with Cockpit AND plain Ansible installs. 
You have to set a [grafana-server] group and host. 
ceph-ansible requires Ansible 2.8 but RHEL 8 provides Ansible 2.9 so it must be downgraded. 
You need to set a Red Hat customer portal username and password for the container registry.

These facts need to be added to this section


[root@jb-ceph4-admin log]# rpm -q ceph-ansible
ceph-ansible-4.0.6-1.el8cp.noarch


TASK [ceph-validate : fail on unsupported ansible version] ********************************************************************************************************************************************************
task path: /usr/share/ceph-ansible/roles/ceph-validate/tasks/check_system.yml:61
Friday 13 December 2019  13:27:18 -0500 (0:00:00.141)       0:00:24.873 ******* 
fatal: [jb-ceph4-mon]: FAILED! => changed=false 
  msg: Ansible version must be 2.8!
fatal: [jb-ceph4-osd1]: FAILED! => changed=false 
  msg: Ansible version must be 2.8!
fatal: [jb-ceph4-osd2]: FAILED! => changed=false 
  msg: Ansible version must be 2.8!
fatal: [jb-ceph4-osd3]: FAILED! => changed=false 
  msg: Ansible version must be 2.8!

admin@jb-ceph4-admin ceph-ansible]$ sudo rpm -e ansible ceph-ansible

[admin@jb-ceph4-admin ceph-ansible]$ sudo rpm -ivh ~/ansible-2.8.7-1.el8ae.noarch.rpm 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:ansible-2.8.7-1.el8ae            ################################# [100%]

[admin@jb-ceph4-admin ceph-ansible]$ sudo dnf install ceph-ansible

TASK [ceph-validate : fail if [grafana-server] group doesn't exist] ************************************
task path: /usr/share/ceph-ansible/roles/ceph-validate/tasks/main.yml:193
Friday 13 December 2019  13:32:33 -0500 (0:00:00.180)       0:00:34.038 ******* 
fatal: [jb-ceph4-mon]: FAILED! => changed=false 
  msg: you must add a [grafana-server] group and add at least one node.
fatal: [jb-ceph4-osd1]: FAILED! => changed=false 
  msg: you must add a [grafana-server] group and add at least one node.
fatal: [jb-ceph4-osd2]: FAILED! => changed=false 
  msg: you must add a [grafana-server] group and add at least one node.
fatal: [jb-ceph4-osd3]: FAILED! => changed=false 
  msg: you must add a [grafana-server] group and add at least one node.