diff options
Diffstat (limited to 'ansible/roles/nova')
| -rw-r--r-- | ansible/roles/nova/templates/nova.conf.j2 | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 1cbb4d0cf..2cc15abdc 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -53,9 +53,9 @@ compute_driver = libvirt.LibvirtDriver my_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} {% if nova_console == 'novnc' %} +[vnc] novncproxy_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} novncproxy_port = {{ nova_novncproxy_port }} -[vnc] vncserver_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} vncserver_proxyclient_address = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} {% if inventory_hostname in groups['compute'] %} @@ -94,14 +94,9 @@ rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' lock_path = /var/lib/nova/tmp [glance] -{% if enable_ceph | bool %} -host = {{ kolla_internal_fqdn }} -port = {{ glance_api_port }} -{% else %} api_servers = {% for host in groups['glance-api'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ glance_api_port }}{% if not loop.last %},{% endif %}{% endfor %} num_retries = {{ groups['glance-api'] | length }} -{% endif %} [cinder] catalog_info = volume:cinder:internalURL @@ -113,7 +108,7 @@ metadata_proxy_shared_secret = {{ metadata_secret }} service_metadata_proxy = true auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} -auth_plugin = password +auth_type = password project_domain_name = default user_domain_id = default project_name = service @@ -156,7 +151,6 @@ images_rbd_ceph_conf = /etc/ceph/ceph.conf rbd_user = nova rbd_secret_uuid = {{ rbd_secret_uuid }} disk_cachemodes="network=writeback" -live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST,VIR_MIGRATE_TUNNELLED" hw_disk_discard = unmap {% endif %} |
