Merge "Allow cinder services to use independent hostnames"
This commit is contained in:
commit
3a173ac1b7
@ -190,7 +190,10 @@ barbican_api_port: "9311"
|
|||||||
|
|
||||||
blazar_api_port: "1234"
|
blazar_api_port: "1234"
|
||||||
|
|
||||||
|
cinder_internal_fqdn: "{{ kolla_internal_fqdn }}"
|
||||||
|
cinder_external_fqdn: "{{ kolla_external_fqdn }}"
|
||||||
cinder_api_port: "8776"
|
cinder_api_port: "8776"
|
||||||
|
cinder_api_listen_port: "{{ cinder_api_port }}"
|
||||||
|
|
||||||
congress_api_port: "1789"
|
congress_api_port: "1789"
|
||||||
|
|
||||||
|
@ -19,11 +19,13 @@ cinder_services:
|
|||||||
mode: "http"
|
mode: "http"
|
||||||
external: false
|
external: false
|
||||||
port: "{{ cinder_api_port }}"
|
port: "{{ cinder_api_port }}"
|
||||||
|
listen_port: "{{ cinder_api_listen_port }}"
|
||||||
cinder_api_external:
|
cinder_api_external:
|
||||||
enabled: "{{ enable_cinder }}"
|
enabled: "{{ enable_cinder }}"
|
||||||
mode: "http"
|
mode: "http"
|
||||||
external: true
|
external: true
|
||||||
port: "{{ cinder_api_port }}"
|
port: "{{ cinder_api_port }}"
|
||||||
|
listen_port: "{{ cinder_api_listen_port }}"
|
||||||
cinder-scheduler:
|
cinder-scheduler:
|
||||||
container_name: cinder_scheduler
|
container_name: cinder_scheduler
|
||||||
group: cinder-scheduler
|
group: cinder-scheduler
|
||||||
@ -153,12 +155,12 @@ cinder_volume_dimensions: "{{ default_container_dimensions }}"
|
|||||||
####################
|
####################
|
||||||
# OpenStack
|
# OpenStack
|
||||||
####################
|
####################
|
||||||
cinder_v2_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v2/%(tenant_id)s"
|
cinder_v2_admin_endpoint: "{{ admin_protocol }}://{{ cinder_internal_fqdn }}:{{ cinder_api_port }}/v2/%(tenant_id)s"
|
||||||
cinder_v2_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v2/%(tenant_id)s"
|
cinder_v2_internal_endpoint: "{{ internal_protocol }}://{{ cinder_internal_fqdn }}:{{ cinder_api_port }}/v2/%(tenant_id)s"
|
||||||
cinder_v2_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ cinder_api_port }}/v2/%(tenant_id)s"
|
cinder_v2_public_endpoint: "{{ public_protocol }}://{{ cinder_external_fqdn }}:{{ cinder_api_port }}/v2/%(tenant_id)s"
|
||||||
cinder_v3_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v3/%(tenant_id)s"
|
cinder_v3_admin_endpoint: "{{ admin_protocol }}://{{ cinder_internal_fqdn }}:{{ cinder_api_port }}/v3/%(tenant_id)s"
|
||||||
cinder_v3_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v3/%(tenant_id)s"
|
cinder_v3_internal_endpoint: "{{ internal_protocol }}://{{ cinder_internal_fqdn }}:{{ cinder_api_port }}/v3/%(tenant_id)s"
|
||||||
cinder_v3_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ cinder_api_port }}/v3/%(tenant_id)s"
|
cinder_v3_public_endpoint: "{{ public_protocol }}://{{ cinder_external_fqdn }}:{{ cinder_api_port }}/v3/%(tenant_id)s"
|
||||||
|
|
||||||
cinder_logging_debug: "{{ openstack_logging_debug }}"
|
cinder_logging_debug: "{{ openstack_logging_debug }}"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
- name: Checking free port for Cinder API
|
- name: Checking free port for Cinder API
|
||||||
wait_for:
|
wait_for:
|
||||||
host: "{{ api_interface_address }}"
|
host: "{{ api_interface_address }}"
|
||||||
port: "{{ cinder_api_port }}"
|
port: "{{ cinder_api_listen_port }}"
|
||||||
connect_timeout: 1
|
connect_timeout: 1
|
||||||
timeout: 1
|
timeout: 1
|
||||||
state: stopped
|
state: stopped
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{% set python_path = '/usr/lib/python2.7/site-packages' if cinder_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
|
{% set python_path = '/usr/lib/python2.7/site-packages' if cinder_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
|
||||||
Listen {{ api_interface_address }}:{{ cinder_api_port }}
|
Listen {{ api_interface_address }}:{{ cinder_api_listen_port }}
|
||||||
|
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
ServerTokens Prod
|
ServerTokens Prod
|
||||||
TraceEnable off
|
TraceEnable off
|
||||||
|
|
||||||
<VirtualHost *:{{ cinder_api_port }}>
|
<VirtualHost *:{{ cinder_api_listen_port }}>
|
||||||
WSGIDaemonProcess cinder-api processes={{ openstack_service_workers }} threads=1 user=cinder group=cinder display-name=%{GROUP} python-path={{ python_path }}
|
WSGIDaemonProcess cinder-api processes={{ openstack_service_workers }} threads=1 user=cinder group=cinder display-name=%{GROUP} python-path={{ python_path }}
|
||||||
WSGIProcessGroup cinder-api
|
WSGIProcessGroup cinder-api
|
||||||
WSGIScriptAlias / /var/www/cgi-bin/cinder/cinder-wsgi
|
WSGIScriptAlias / /var/www/cgi-bin/cinder/cinder-wsgi
|
||||||
|
@ -51,7 +51,7 @@ backup_swift_key =
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
osapi_volume_listen = {{ api_interface_address }}
|
osapi_volume_listen = {{ api_interface_address }}
|
||||||
osapi_volume_listen_port = {{ cinder_api_port }}
|
osapi_volume_listen_port = {{ cinder_api_listen_port }}
|
||||||
|
|
||||||
api_paste_config = /etc/cinder/api-paste.ini
|
api_paste_config = /etc/cinder/api-paste.ini
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user