commit | 7aae506e692a69ccdc18ce95fc2d7f3644048929 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Tue Apr 04 21:48:51 2017 +0100 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Tue Apr 04 21:48:51 2017 +0100 |
tree | 11c805d8ef77ccdc61eb9f5f799725c0628e38e7 | |
parent | 90c7eef9cdd090f1f2afbe5aab66f56952c48ecf [diff] |
Fix test_migration_live throwing AttributeError. This patch fixes test_migration_live, which currently throws an AttributeError, because self.block_migration is undefined. This patch sets self.block_migration = 'auto' and the minimum microversion to 2.25, which is when the block_migration kwarg for live_migrate_server can be set to auto, so that nova can decide the value of block_migration during live migration [0]. [0] https://developer.openstack.org/api-ref/compute/?expanded=live-migrate-server-os-migratelive-action-detail Change-Id: I82572d9418901070d6925723241e5aabe0aeae8d