def _check_live_migration_api_version(self, server): # NOTE(angdraug): live migration involving a compute host running Nova # API older than v3.32 as either source or destination can cause # instance disks to be deleted from shared storage if not self.client.can_send_version('3.32'): raise exception.LiveMigrationWithOldNovaNotSafe(server=server)
def test_migrate_live_migration_with_old_nova_not_safe(self): self._test_migrate_live_failed_with_exception( exception.LiveMigrationWithOldNovaNotSafe(server=''))