Fix type error in kvm/GetMigrationStatus
Fix type error in kvm/GetMigrationStatus

Commit 6a1434d7 (“Make migration RPC non-blocking”) changed from
raising HypervisorErrors to returning MigrationStatus
objects. However, these objects don't have an "info" attribute, so
they can't pass a reason back (which is in itself a bug); but the KVM
hypervisor code attempts to do so, and fails at runtime with:

  Failed to get migration status: 'MigrationStatus' object has no attribute 'info'

instead of the intended:

  Migration failed, aborting: too many broken 'info migrate' answers

For now (on stable-2.6), let's just remove the "info" reason, and
later we can add it back properly once we have a way to correctly
represent migration status failures in the LU.

This fixes issue 297.

Signed-off-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>
Reviewed-by: Guido Trotter <f62ca4d5358bdaeef0e50e57f9f7e231de63727e@google.com>

ganeti-github-testing/ganeti-test-1,ganeti/ganeti,mbakke/ganeti,andir/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/ganeti,yiannist/ganeti,andir/ganeti,andir/ganeti,bitemyapp/ganeti,apyrgio/ganeti,mbakke/ganeti,bitemyapp/ganeti,ganeti/ganeti,leshchevds/ganeti,grnet/snf-ganeti,mbakke/ganeti,grnet/snf-ganeti,leshchevds/ganeti,yiannist/ganeti,dimara/ganeti,apyrgio/snf-ganeti,apyrgio/snf-ganeti,dimara/ganeti,yiannist/ganeti,onponomarev/ganeti,ganeti/ganeti,onponomarev/ganeti,leshchevds/ganeti