Add kolla_enable_monasca flag

This flag enables integration with Monasca. Currently it relies
on an out-of-band Monasca installation. In the future, it is
envisaged that Kolla will support deploying Monasca.
This commit is contained in:
Doug Szumski 2018-02-20 12:07:20 +00:00
parent 73c22ba01a
commit e984cae192
6 changed files with 18 additions and 0 deletions

View File

@ -295,6 +295,9 @@ kolla_enable_ironic: "yes"
kolla_enable_kibana: "{{ 'yes' if kolla_enable_central_logging | bool else 'no' }}" kolla_enable_kibana: "{{ 'yes' if kolla_enable_central_logging | bool else 'no' }}"
kolla_enable_magnum: "no" kolla_enable_magnum: "no"
kolla_enable_manila: "no" kolla_enable_manila: "no"
# Support for Monasca in Kolla is a work in progress. This currently relies
# on an out-of-band Monasca installation.
kolla_enable_monasca: "no"
kolla_enable_murano: "no" kolla_enable_murano: "no"
kolla_enable_neutron: "yes" kolla_enable_neutron: "yes"
kolla_enable_nova: "yes" kolla_enable_nova: "yes"

View File

@ -18,6 +18,7 @@
roles: roles:
- role: stackhpc.os-openstackclient - role: stackhpc.os-openstackclient
os_openstackclient_venv: "{{ venv }}" os_openstackclient_venv: "{{ venv }}"
when: kolla_enable_monasca
tasks: tasks:
- name: Look up Monasca control plane project ID - name: Look up Monasca control plane project ID
@ -27,10 +28,12 @@
register: monasca_project_show register: monasca_project_show
changed_when: False changed_when: False
environment: "{{ openstack_auth_env }}" environment: "{{ openstack_auth_env }}"
when: kolla_enable_monasca
- name: Set Monasca control plane ID - name: Set Monasca control plane ID
set_fact: set_fact:
monasca_control_plane_project_id: "{{ (monasca_project_show.stdout | from_json).get('id') }}" monasca_control_plane_project_id: "{{ (monasca_project_show.stdout | from_json).get('id') }}"
when: kolla_enable_monasca
- name: Configure control plane monitoring for Grafana - name: Configure control plane monitoring for Grafana
# Only required to run on a single host. # Only required to run on a single host.

View File

@ -207,6 +207,7 @@ kolla_openstack_logging_debug:
#kolla_enable_magnum: #kolla_enable_magnum:
#kolla_enable_manila: #kolla_enable_manila:
#kolla_enable_mistral: #kolla_enable_mistral:
#kolla_enable_monasca:
#kolla_enable_mongodb: #kolla_enable_mongodb:
#kolla_enable_murano: #kolla_enable_murano:
#kolla_enable_multipathd: #kolla_enable_multipathd:

View File

@ -93,6 +93,7 @@
kolla_enable_manila_backend_generic: True kolla_enable_manila_backend_generic: True
kolla_enable_manila_backend_hnas: True kolla_enable_manila_backend_hnas: True
kolla_enable_mistral: True kolla_enable_mistral: True
kolla_enable_monasca: True
kolla_enable_mongodb: True kolla_enable_mongodb: True
kolla_enable_murano: True kolla_enable_murano: True
kolla_enable_multipathd: True kolla_enable_multipathd: True

View File

@ -237,6 +237,15 @@ kolla_enable_magnum:
# Free form extra configuration to append to magnum.conf. # Free form extra configuration to append to magnum.conf.
kolla_extra_magnum: kolla_extra_magnum:
###############################################################################
# Monasca configuration.
# NOTE: Support for Monasca in Kolla is a work in progress. This currently
# relies on an out-of-band Monasca installation.
# Whether to enable Monasca.
kolla_enable_monasca:
############################################################################### ###############################################################################
# Murano configuration. # Murano configuration.

View File

@ -180,6 +180,7 @@
#kolla_enable_manila_backend_generic: #kolla_enable_manila_backend_generic:
#kolla_enable_manila_backend_hnas: #kolla_enable_manila_backend_hnas:
#kolla_enable_mistral: #kolla_enable_mistral:
#kolla_enable_monasca:
#kolla_enable_mongodb: #kolla_enable_mongodb:
#kolla_enable_multipathd: #kolla_enable_multipathd:
#kolla_enable_murano: #kolla_enable_murano: