Martin Schuppert 960dbfe986 Fix live-migration with libvirt >= 6.8.0
libvirt 6.8.0 introduces virt-ssh-helper which prepends the libvirt
ssh command with a "which virt-ssh-helper". libvirt used to first
check for `nc` (netcat). But these two libvirt commits[1][2] have now
changed it to first look for `virt-ssh-helper`, if it not available,
then fall back to `nc`.

The nova-migration-wrapper doesn't accept this command and denies
the connection.

Until nova-migration-wrapper is changed to allow the usage of
virt-ssh-helper, this change force to use "netcat" (`nc`) by
appending to the migration URI: "&proxy=netcat"

[1] https://libvirt.org/git/?p=libvirt.git;a=commit;h=f8ec7c842d (rpc:
use new virt-ssh-helper binary for remote tunnelling, 2020-07-08)
[2] https://libvirt.org/git/?p=libvirt.git;a=commit;h=7d959c302d (rpc:
Fix virt-ssh-helper detection, 2020-10-27)

Closes-Bug: 1918250

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1926602

Change-Id: I3db9cd42aa63379ed6332ee77f67d1dfe4be8504
Co-Authored-By: David Vallee Delisle <dvd@redhat.com>
(cherry picked from commit 04a97f92e4d944ce51492011584e2ec1126042a1)
(cherry picked from commit bf5a4a9849d7cb067d36ca57fd8538faed016715)
2021-03-10 15:40:17 +00:00
2018-02-28 14:42:12 +08:00
2020-05-26 17:14:00 +00:00
2020-07-17 11:55:16 +09:00
2017-01-25 19:32:31 +00:00
2018-06-27 22:47:34 +08:00
2017-10-06 12:28:56 -07:00

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing

Description
RETIRED, Lightweight composition layer for Puppet TripleO
Readme 63 MiB