diff --git a/defaults/main.yml b/defaults/main.yml index 73aece39..af8dd584 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -188,6 +188,7 @@ nova_novncproxy_vnc_keymap: en-us ## Nova metadata nova_metadata_proxy_enabled: True +nova_metadata_host: "{{ internal_lb_vip_address }}" nova_metadata_port: 8775 nova_metadata_program_name: nova-api-metadata diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 27ad165e..c11169d1 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -83,7 +83,7 @@ rpc_conn_pool_size = {{ nova_rpc_conn_pool_size }} rpc_response_timeout = {{ nova_rpc_response_timeout }} # Metadata -metadata_host = {{ internal_lb_vip_address }} +metadata_host = {{ nova_metadata_host }} metadata_port = {{ nova_metadata_port }} metadata_workers = {{ nova_metadata_workers | default(api_threads) }}