diff options
| author | Christian Berendt <berendt@betacloud-solutions.de> | 2016-06-16 12:16:07 +0200 |
|---|---|---|
| committer | Christian Berendt <berendt@betacloud-solutions.de> | 2016-06-16 12:16:07 +0200 |
| commit | c073b2d897161792d098e4e52c229813ede43ca7 (patch) | |
| tree | 97e7cd35f433d77aa6603d4df0c47eb3ff872ca0 /ansible/roles/haproxy | |
| parent | 2cb0f445bba72d5b085856deb57a5e48c5832ca9 (diff) | |
| download | kolla-c073b2d897161792d098e4e52c229813ede43ca7.tar.gz kolla-c073b2d897161792d098e4e52c229813ede43ca7.zip | |
Remove EC2 API related configurations and tasks
The Nova EC2 API is disabled by default, the default value
of the enabled_apis parameter in nova.conf is "osapi_compute, metadata"
The EC2 API is marked as deprecated and will be removed from Nova in
the future.
Change-Id: I6b9d66017e066cde5749be45b367194d2192ead3
Closes-bug: #1586605
Diffstat (limited to 'ansible/roles/haproxy')
| -rw-r--r-- | ansible/roles/haproxy/templates/haproxy.cfg.j2 | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ansible/roles/haproxy/templates/haproxy.cfg.j2 b/ansible/roles/haproxy/templates/haproxy.cfg.j2 index a6507ed20..3bd8cc8fd 100644 --- a/ansible/roles/haproxy/templates/haproxy.cfg.j2 +++ b/ansible/roles/haproxy/templates/haproxy.cfg.j2 @@ -121,13 +121,6 @@ listen nova_api server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_api_port }} check inter 2000 rise 2 fall 5 {% endfor %} -listen nova_api_ec2 - bind {{ kolla_internal_vip_address }}:{{ nova_api_ec2_port }} - http-request del-header X-Forwarded-Proto -{% for host in groups['nova-api'] %} - server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_api_ec2_port }} check inter 2000 rise 2 fall 5 -{% endfor %} - listen nova_metadata bind {{ kolla_internal_vip_address }}:{{ nova_metadata_port }} http-request del-header X-Forwarded-Proto @@ -160,14 +153,6 @@ listen nova_api_external server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_api_port }} check inter 2000 rise 2 fall 5 {% endfor %} -listen nova_api_ec2_external - bind {{ kolla_external_vip_address }}:{{ nova_api_ec2_port }} {{ tls_bind_info }} - http-request del-header X-Forwarded-Proto - http-request set-header X-Forwarded-Proto https if { ssl_fc } -{% for host in groups['nova-api'] %} - server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ nova_api_ec2_port }} check inter 2000 rise 2 fall 5 -{% endfor %} - listen nova_metadata_external bind {{ kolla_external_vip_address }}:{{ nova_metadata_port }} {{ tls_bind_info }} http-request del-header X-Forwarded-Proto |
