Repository navigation
Commit 0f28d52
committed
linstor: only send auto_manage_dual_primary when migrating
Linstor controllers older than 1.29 reject requests with unknown
properties, so a make-available carrying auto_manage_dual_primary fails
against them - which broke every make-available call (and with it
template copies and VM starts) even though the live-migrate API is
version gated: the generated client initializes fields with their schema
default (false here) and serialized everything non-null, so the property
was always sent.1 parent 917f0f7 commit 0f28d52
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
- plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
599 | 602 | | |
600 | 603 | | |
601 | 604 | | |
| |||
0 commit comments