Skip to content
Snippets Groups Projects
Commit 3b0fce6f authored by Uwe Jäger's avatar Uwe Jäger
Browse files

Update configuration to enable more services in Skyline Console

Change-Id: I77f3c5f219393e604dbd24b2a97a66da1ee3ba7f
parent 21543fef
No related branches found
No related tags found
No related merge requests found
...@@ -252,7 +252,62 @@ http { ...@@ -252,7 +252,62 @@ http {
} }
{% endif %} {% endif %}
} {% if enable_barbican | bool %}# Region: {{ openstack_region_name }}, Service: barbican
location {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/barbican {
proxy_pass {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ barbican_api_port }}/;
proxy_redirect {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ barbican_api_port }}/ {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/barbican/;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $http_host;
}
{% endif %}
} {% if enable_designate | bool %}# Region: {{ openstack_region_name }}, Service: designate
location {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/designate {
proxy_pass {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ designate_api_port }}/;
proxy_redirect {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ designate_api_port }}/ {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/designate/;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $http_host;
}
{% endif %}
{% if enable_masakari | bool %}# Region: {{ openstack_region_name }}, Service: masakari
location {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/masakari {
proxy_pass {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ masakari_api_port }}/;
proxy_redirect {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ masakari_api_port }}/ {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/masakari/;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $http_host;
}
{% endif %}
{% if enable_swift | bool %}# Region: {{ openstack_region_name }}, Service: swift
location {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/swift {
proxy_pass {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ swift_proxy_server_port }}/;
proxy_redirect {{ internal_protocol }}://{{ kolla_internal_fqdn | put_address_in_context('url') }}:{{ swift_proxy_server_port }}/ {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/swift/;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $http_host;
}
{% elif enable_ceph_rgw | bool %}# Region: {{ openstack_region_name }}, Service: ceph_rgw
location {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/swift {
proxy_pass {{ internal_protocol }}://{{ ceph_rgw_internal_fqdn }}:{{ ceph_rgw_port }}/{{ 'swift' if not ceph_rgw_swift_compatibility | bool }};
proxy_redirect {{ internal_protocol }}://{{ ceph_rgw_internal_fqdn }}:{{ ceph_rgw_port }}/{{ 'swift' if not ceph_rgw_swift_compatibility | bool }} {{ skyline_nginx_prefix }}/{{ openstack_region_name | lower }}/swift/;
proxy_buffering off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $http_host;
}
{% endif %}
}
}
...@@ -47,12 +47,18 @@ openstack: ...@@ -47,12 +47,18 @@ openstack:
{% if enable_trove | bool %} {% if enable_trove | bool %}
database: trove database: trove
{% endif %} {% endif %}
{% if enable_designate | bool %}
dns: designate
{% endif %}
{% if enable_keystone | bool %} {% if enable_keystone | bool %}
identity: keystone identity: keystone
{% endif %} {% endif %}
{% if enable_glance | bool %} {% if enable_glance | bool %}
image: glance image: glance
{% endif %} {% endif %}
{% if enable_masakari | bool %}
instance-ha: masakari
{% endif %}
{% if enable_barbican | bool %} {% if enable_barbican | bool %}
key-manager: barbican key-manager: barbican
{% endif %} {% endif %}
...@@ -62,7 +68,7 @@ openstack: ...@@ -62,7 +68,7 @@ openstack:
{% if enable_neutron | bool %} {% if enable_neutron | bool %}
network: neutron network: neutron
{% endif %} {% endif %}
{% if enable_swift | bool %} {% if enable_swift | bool or enable_ceph_rgw | bool %}
object-store: swift object-store: swift
{% endif %} {% endif %}
{% if enable_heat | bool %} {% if enable_heat | bool %}
......
---
features:
- |
Add more services now supported by Skyline to the configuration to make
them accessible to Skylines's frontend console.
New services include Barbican, Designate, Masakari and Swift or Ceph RGW.
Only one of Swift and CEph RGW can be used, if both are enabled, Swift is
configured.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment