Enable ceph dashboard by default

Co-Authored-By: rhcayadav <rhcayadav@gmail.com>

Change-Id: I3c2c56decbb9de86101f45592ba8135c49c49405
Closes-Bug: #1754424
This commit is contained in:
chenxing 2018-03-20 10:52:44 +08:00 committed by Ravinder Kumar
parent e88b9a7ad4
commit fd6c9f3882
5 changed files with 17 additions and 0 deletions

View File

@ -412,6 +412,7 @@ enable_ceph: "no"
enable_ceph_mds: "no"
enable_ceph_rgw: "no"
enable_ceph_nfs: "no"
enable_ceph_dashboard: "{{ enable_ceph | bool }}"
enable_chrony: "no"
enable_cinder: "no"
enable_cinder_backup: "yes"

View File

@ -12,6 +12,11 @@
- include: start_mgrs.yml
when: inventory_hostname in groups['ceph-mgr']
- include: start_ceph_dashboard.yml
when:
- enable_ceph_dashboard | bool
- inventory_hostname in groups['ceph-mon']
- include: start_nfss.yml
when:
- enable_ceph_nfs | bool

View File

@ -0,0 +1,5 @@
---
- name: Enable ceph dashboard
command: docker exec ceph_mon ceph mgr module enable dashboard
changed_when: false
run_once: true

View File

@ -149,6 +149,7 @@ kolla_internal_vip_address: "10.10.10.254"
#enable_ceph_mds: "no"
#enable_ceph_rgw: "no"
#enable_ceph_nfs: "no"
#enable_ceph_dashboard: "{{ enable_ceph | bool }}"
#enable_chrony: "no"
#enable_cinder: "no"
#enable_cinder_backup: "yes"

View File

@ -0,0 +1,5 @@
---
features:
- |
Add support for ceph-dashboard. It enables 'dashboard' module in ceph cluster.
Its uses command 'ceph mgr module enable dashboard'.