Handle missing dst_node parameter in zone_migration

For compute nodes, nova works fine if a destination node is not
specified, so this change makes sure we're not passing None when the
user does not set one to avoid an error.

Partial-Bug: 2108988

Change-Id: Ida1f18b97697c041819e29f935aa5e232848226a
This commit is contained in:
jgilaber
2025-05-16 13:45:03 +02:00
parent 63626d6fc3
commit c6302edeca
3 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
---
fixes:
- |
The zone migration strategy no longer requires a dst_node to be passed.
When unspecified, the Nova scheduler will select an appropriate host automatically.
This brings the implementation of the strategy in line with the the api schema
where dest_node is optional.
See: https://bugs.launchpad.net/watcher/+bug/2108988 for more details.