Fix wrong variable used in trove role

There is no swift_api_port.
swift_proxy_server_port should be the correct one.

Closes-Bug: #1689260
Change-Id: I63e0edb76603374b479eabf0199c4024ad3e2dbd
This commit is contained in:
jimmygc 2017-05-08 15:12:28 +08:00
parent b077f6e7bb
commit 0fca39dd03
2 changed files with 2 additions and 2 deletions
ansible/roles/trove/templates

@ -18,7 +18,7 @@ nova_compute_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ nova_a
cinder_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v1
{% endif %}
{% if enable_swift | bool %}
swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_api_port }}/v1/AUTH_
swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_proxy_server_port }}/v1/AUTH_
{% endif %}
[database]

@ -20,7 +20,7 @@ nova_compute_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ nova_a
cinder_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v1
{% endif %}
{% if enable_swift | bool %}
swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_api_port }}/v1/AUTH_
swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_proxy_server_port }}/v1/AUTH_
{% endif %}
[database]