libvirtd override
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Currently, the file
/etc/libvirt/
However, there is no override present that allows an operator to make changes to this file.
A real need for this is to enable live migration without using shared storage. This will allow an operator to migrate instances off the compute node without downtime.
Currently the file defaults are:
# Ansible managed
listen_tls = 1
listen_tcp = 0
unix_sock_group = "libvirt"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"
auth_tcp = "sasl"
Changes needed for live migration
# Ansible managed
listen_tls = 0
listen_tcp = 1
unix_sock_group = "libvirt"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"
auth_tcp = "none"
+ libvirt to listen on 0.0.0.0
--
The current defaults can stay, or we can enable the new defaults so that live-migration works out of the box.
Or this can also be toggled via
enable_
Thanks,
Shashi
https:/ /github. com/openstack/ openstack- ansible- os_nova/ blob/master/ templates/ libvirtd. conf.j2# L9-L10 /github. com/openstack/ openstack- ansible- os_nova/ blob/master/ templates/ libvirtd. conf.j2# L16
and
https:/
shows there are overrides possible.
We'll discuss in the triage about the live_migration.