live migration doesn't work with ssh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
New
|
Undecided
|
Unassigned |
Bug Description
By default live migration is based on SSH :
./hieradata/
in packstack puppet module we set this .ssh/config file :
Host *
User nova_migration
UserKnownHo
IdentityFile /etc/nova/
but a param is missing : StrictHostKeyCh
If this is not set, fail with :
2020-11-16 03:31:00.484 23472 ERROR nova.virt.
t URI qemu+ssh://<email address hidden>
: operation failed: Failed to connect to remote libvirt URI qemu+ssh://<email address hidden>
ailed.: Connection reset by peer
2020-11-16 03:31:00.907 23472 ERROR nova.virt.
In addition, it configure ssh client nova user but we use nova_migration....
So to make it works : nova_migration nova_migration/ nova_migration/ -R
mkdir /var/lib/
cp -r /var/lib/nova/.ssh/ /var/lib/
chown nova_migration: /var/lib/