Commit e31f9a0
committed
kvm: set LIBVIRTD_ARGS so libvirtd listens on Debian and Ubuntu hosts
cloudstack-setup-agent sets up live migration on Debian and Ubuntu by
writing libvirtd_opts='-l' to /etc/default/libvirtd and masking the libvirtd
sockets. The libvirtd.service unit on current releases reads LIBVIRTD_ARGS
from that file instead (Debian 12 and 13 run "libvirtd $LIBVIRTD_ARGS" with
"--timeout 120" as the default), so after adding a host libvirtd runs
without --listen, nothing listens on the migration ports and live migration
fails with "unable to connect to server". Also set LIBVIRTD_ARGS="--listen",
and keep libvirtd_opts for older units that still read it.1 parent 8261bec commit e31f9a0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
| 725 | + | |
725 | 726 | | |
726 | 727 | | |
727 | 728 | | |
| |||
0 commit comments