From ed95267fd1f9e76aa9d973defd31b63fa54634ac Mon Sep 17 00:00:00 2001 From: "Donovan Francesco (drifterza)" Date: Thu, 10 Nov 2016 10:30:24 +0200 Subject: [PATCH] Adding Trove UI support to the integrated repo. Change-Id: I0e9e62fc51382ad5ed5e841dc7cec6859f8f5b0e --- playbooks/defaults/repo_packages/openstack_services.yml | 6 ++++++ playbooks/inventory/group_vars/horizon_all.yml | 1 + ...dd-horizon-trove-dashboard-support-0617c22db2203b62.yaml | 5 +++++ 3 files changed, 12 insertions(+) create mode 100644 releasenotes/notes/add-horizon-trove-dashboard-support-0617c22db2203b62.yaml diff --git a/playbooks/defaults/repo_packages/openstack_services.yml b/playbooks/defaults/repo_packages/openstack_services.yml index 32ab3a5db5..ab2b674538 100644 --- a/playbooks/defaults/repo_packages/openstack_services.yml +++ b/playbooks/defaults/repo_packages/openstack_services.yml @@ -208,3 +208,9 @@ trove_git_repo: https://git.openstack.org/openstack/trove trove_git_install_branch: 1b2f42dc3d7290d92f8203587a0adcfbd146e00f # HEAD of "master" as of 04.11.2016 trove_git_dest: "/opt/trove_{{ trove_git_install_branch | replace('/', '_') }}" trove_git_project_group: trove_all + +## Horizon Trove dashboard plugin +trove_dashboard_git_repo: https://git.openstack.org/openstack/trove-dashboard +trove_dashboard_git_install_branch: 4e0cf0a8297516a99e7116915591425ca5f66cf4 # HEAD of "master" as of 10.11.2016 +trove_dashboard_git_dest: "/opt/trove_dashboard_{{ trove_dashboard_git_install_branch | replace('/', '_') }}" +trove_dashboard_git_project_group: horizon_all diff --git a/playbooks/inventory/group_vars/horizon_all.yml b/playbooks/inventory/group_vars/horizon_all.yml index f8df2b39bd..d3f509a86b 100644 --- a/playbooks/inventory/group_vars/horizon_all.yml +++ b/playbooks/inventory/group_vars/horizon_all.yml @@ -19,6 +19,7 @@ horizon_enable_cinder_backup: "{{ cinder_service_backup_program_enabled is defin horizon_enable_ironic_ui: "{{ (groups['ironic_all'] is defined) and (groups['ironic_all'] | length > 0) }}" horizon_enable_magnum_ui: "{{ (groups['magnum_all'] is defined) and (groups['magnum_all'] | length > 0) }}" horizon_enable_designate_ui: "{{ (groups['designate_all'] is defined) and (groups['designate_all'] | length > 0) }}" +horizon_enable_trove_ui: "{{ (groups['trove_all'] is defined) and (groups['trove_all'] | length > 0) }}" # NOTE(mhayden): neutron-lbaas is a separate plugin and requires the full # namespace to be specified. Also, LBaaS v1 was removed in Newton. horizon_enable_neutron_lbaas: "{{ neutron_plugin_base is defined and 'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2' in neutron_plugin_base }}" diff --git a/releasenotes/notes/add-horizon-trove-dashboard-support-0617c22db2203b62.yaml b/releasenotes/notes/add-horizon-trove-dashboard-support-0617c22db2203b62.yaml new file mode 100644 index 0000000000..1498e7164f --- /dev/null +++ b/releasenotes/notes/add-horizon-trove-dashboard-support-0617c22db2203b62.yaml @@ -0,0 +1,5 @@ +--- +features: + - Support has been added for the horizon trove-ui dashboard. The + dashboard will be automatically enabled if any hosts are defined + in the ``trove-infra_hosts`` inventory group.