Set block migration to auto for basic ops
Since API 2.25 block_migration parameter is str. Set to auto which means nova will detect whether source and destination hosts on shared storage. if they are on shared storage, the live-migration won’t be block migration. Otherwise the block migration will be executed.
Related-PRODX: PRODX-35971
Change-Id: I53c7026d91691b93f103011d1c86ef60fa3d82d1
(cherry picked from commit 40d6cb242e3b18fd991427e1bc701e9f5bc7fda7)
(cherry picked from commit 0b445a436131dc7f02152d93f190cb16beef878a)
diff --git a/tempest/scenario/test_network_basic_ops.py b/tempest/scenario/test_network_basic_ops.py
index da33412..700ad3b 100644
--- a/tempest/scenario/test_network_basic_ops.py
+++ b/tempest/scenario/test_network_basic_ops.py
@@ -403,7 +403,7 @@
self.os_adm.servers_client.live_migrate_server(
server_id=server['id'],
- block_migration=True,
+ block_migration='auto',
host=host_id)
waiters.wait_for_server_status(