Nova Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://

 


Case 

Ketika live migrate dari compute01 ke compute04 terjadi error seperti dibawah


Error diatas disebabkan oleh nova compute yang menggunakan api qemu+tcp untuk live migrasinya, kita bisa menambahkan configurasi di nova nya agar si nova menggunakan qemu+ssh untuk live migrasinya.

Solusi :

1. Edit /etc/nova/nova.conf

[libvirt]
...
live_migration_uri=qemu+ssh://nova@%s/system
2. Pastikan user root bisa ssh ke user nova antar compute dan passwordless

3. Restart nova-compute

service nova-compute restart
4. Coba live migrate ulang.

Damasukma Trihanandi
Damasukma Trihanandi
How you think about what you are doing affect how you do it, or whether you do it at all.
Link copied to clipboard.