Comment 4 for bug 1930109

Revision history for this message
Buddhika Sanjeewa (bsanjeewa) wrote (last edit ):

I don't see anything changed when I set "etcd_enable_tls: no" in /etc/kayobe/kolla/global.yml

it seems (for me) the issue is in the ansible/roles/etcd/defaults/main.yml

The endpoints section always set the protocol as internal_protocol which is https when kolla_enable_tls_internal is set to yes

############
# Endpoints
############
etcd_client_internal_endpoint: "{{ internal_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_client_port }}"
etcd_peer_internal_endpoint: "{{ internal_protocol }}://{{ api_interface_address | put_address_in_context('url') }}:{{ etcd_peer_port }}"

My guess is that the {{ internal_protocol }} should be replaced with {{ etcd_protocol }} (only in ansible/roles/etcd/defaults/main.yml Endpoints section)