commit | 4e49975c9fa887e9a4a7aefdcff74fde48894b56 | [log] [tgz] |
---|---|---|
author | jskunda <jskunda@redhat.com> | Wed Nov 15 15:03:12 2023 +0100 |
committer | jskunda <jskunda@redhat.com> | Mon Nov 20 11:57:23 2023 +0100 |
tree | ccd7153127414ea58ea6b304128e918429f86b29 | |
parent | cc0e9b18170bc796fd8516e41d2ec09236b168aa [diff] |
Fix of wrong parsing of flavour name and disk_over_commit parameter In assertion of names of flavors there was wrongly used parameter of name. Instead of server['original_name'] we should use server['flavor']['original_name']. Also parameter disk_over_commit in function live_migrate_server is available until version 2.25[1], so we should check microversion before using this parameter. [1] - https://docs.openstack.org/api-ref/compute/#live-migrate-server-os-migratelive-action Change-Id: I8f03751815021ef6d335c1d90b3f183e178ce7dc