Skip to content
Snippets Groups Projects
Commit 7d66beec authored by Jeffrey Zhang's avatar Jeffrey Zhang
Browse files

use_forwarded_for is moved to api group

See the nova code in[0].

[0] https://github.com/openstack/nova/blob/master/nova/conf/api.py#L35

Change-Id: I87861ac44d99699f7a11b5cc383a2f43c47c2b04
parent af5a81b5
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
debug = {{ nova_logging_debug }}
log_dir = /var/log/kolla/nova
use_forwarded_for = true
state_path = /var/lib/nova
......@@ -61,6 +60,9 @@ compute_monitors=nova.compute.monitors.cpu.virt_driver
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{% if orchestration_engine == 'KUBERNETES' %}rabbitmq{% else %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}{% endif %}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
[api]
use_forwarded_for = true
[conductor]
workers = {{ openstack_service_workers }}
......
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