Ok. We are using ssh as the scheme. So, using this new variable live_migration _scheme, how do we specify the ssh options like key location, no strict key checking etc ? I don't see it documented anywhere ? Let me reiterate if I am not clear.  I want to know how we can use the new variable live_migration _scheme, since it is mentioned that the live_migration_uri is deprecated ?  So, if we use  live_migration _scheme, then live_migration_uri  is no longer needed. Then as in our case, how do we specify the ssh scheme and its uri options ? Hope I am clear ...

On Tue, Jun 4, 2024 at 12:27 PM Bernd Bausch <berndbausch@gmail.com> wrote:
The values for live_migration_scheme are the schemes accepted by libvirt. Thus my recommendation to read the libvirt doc, but sadly, the libvirt page on migration, https://libvirt.org/migration.html, doesn't say much about the migration URIs. Perhaps you need to read the source code for more clarity.

A better place might be Redhat; such as https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/chap-remote_management_of_guests.


On Tue, Jun 4, 2024 at 7:41 AM Gk Gk <ygk.kmr@gmail.com> wrote:
Appreciate your response. I would like to know what are all the valid values for live_migration_schema variable ?


On Tue, 4 Jun 2024, 09:17 Bernd Bausch, <berndbausch@gmail.com> wrote:

Check the section on live_migration_uri in https://docs.openstack.org/nova/latest/configuration/config.html. For more info, read the live migration documentation for libvirt.


On Mon, Jun 3, 2024, 11:27 PM Gk Gk <ygk.kmr@gmail.com> wrote:
Can you point me to a link on how to use this ?

Thanks

On Mon, 3 Jun 2024, 17:05 Bernd Bausch, <berndbausch@gmail.com> wrote:

Documentation says "It is not recommended that you change this unless you are very sure that hypervisor supports a particular scheme". In other words, if you don't know possible schemes, leave the config option alone.

Having said that, a few examples of schemes can be found in the documentation for live_migration_uri.


On Mon, Jun 3, 2024, 11:06 AM Gk Gk <ygk.kmr@gmail.com> wrote:
Hi,

I see this in the latest nova configuration:

This option is deprecated for removal since 15.0.0. Its value may be silently ignored in the future.

Reason:

live_migration_uri is deprecated for removal in favor of two other options that allow to change live migration scheme and target URI: live_migration_scheme and live_migration_inbound_addr respectively.


So, if I want to use live_migration_scheme, what are its values ? 


If I use the live_migration_scheme option, can I remove the live_migration_uri  option ? 


Thanks