Fix broken nova-compute/nova-libvirt

Currently the state of master has nova_compute unable to talk to
nova-libvirt. There have been some efforts to fix this, but they have
failed for various reasons. This puts the connection type for libvirt
from a socket to connecting to the already-open tcp connection thus
restoring the ability for nova-compute to talk to nova-libvirt and
function.

Change-Id: I5a6c39bb16159a2924a93a831e3c53cedd0ca7a1
Partially-Implements: blueprint drop-root
This commit is contained in:
SamYaple 2015-12-27 15:18:05 +00:00
parent 58daa10ae3
commit 31b2b471c0

View File

@ -137,8 +137,9 @@ project_name = service
username = nova
password = {{ nova_keystone_password }}
{% if enable_ceph | bool %}
[libvirt]
connection_uri = "qemu+tcp://{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}/system"
{% if enable_ceph | bool %}
images_type = rbd
images_rbd_pool = {{ ceph_nova_pool_name }}
images_rbd_ceph_conf = /etc/ceph/ceph.conf