[pve-devel] [PATCH manager 2/3] Allow setting targetstorage for offline migration
Fabian Grünbichler
f.gruenbichler at proxmox.com
Mon May 4 11:49:49 CEST 2020
On May 4, 2020 11:20 am, Tim Marx wrote:
>
>> Fabian Ebner <f.ebner at proxmox.com> hat am 4. Mai 2020 09:26 geschrieben:
>>
>>
>> On 5/2/20 11:40 AM, Alexandre DERUMIER wrote:
>> >>> The problem is that offline migration with target storage might not
>> >>> always work depending on supported export/import formats. Then users
>> >>> might start an offline migration, which then fails after a few disks
>> >>> have already been copied.
>> >
>> > Hi,
>> >
>> > Technically, it could be possible to support any kind of src/dst format for offline migration,
>> > with creating an nbd server on target (with qemu-nbd for example).
>> >
>> > Maybe it could be implemented as fallback, if any other method exist ?
>> >
>> >
>>
>> Yes, that would be nice to have. Now I think that making the target
>> storage option for offline migration available via GUI should wait until
>> we either:
>> 1. have a way to error out early
>> or even better:
>> 2. can support all possible exports/imports with such a general fallback
>> method.
>>
> Couldn't we check this in the precondition api call or do I miss something?
precondition is not run in a worker, so we can't query ALL storages for
ALL volumes, like the migration does.
More information about the pve-devel
mailing list