[DEFAULT] compute_driver = libvirt.LibvirtDriver # Set state path to writable directory state_path = {{ snap_common }}/lib # Log to systemd journal use_journal = True # Set a hostname to be an FQDN to avoid issues with port binding for # which a hostname of a Nova node must match a hostname of an OVN chassis. host = {{ node_fqdn }} my_ip = {{ compute_ip }} log_file = {{ snap_common }}/log/nova.log debug = {{ logging_debug }} [workarounds] disable_rootwrap = True [libvirt] virt_type = {{ virt_type }} cpu_mode = {{ cpu_mode }} {% if cpu_mode == 'custom' %} cpu_models = {{ cpu_models }} {% endif %} [oslo_concurrency] # Oslo Concurrency lock path lock_path = {{ snap_common }}/lock [os_vif_ovs] # Nova relies on os-vif for openvswitch interface plugging and needs a connection to # OVSDB. This is done via a TCP connection to localhost by default so we override this to # use a unix socket instead. # See os-vif/releasenotes/notes/add-ovsdb-native-322fffb49c91503d.yaml ovsdb_connection = unix:{{ snap_common }}/run/openvswitch/db.sock [cinder] os_region_name = {{ region_name }}