To recreate, you may need to somehow mimic the memory stat (memory_mb property) of the virtual instance to be zero '0'.
And then, try a migration of the same so that the above pre-migration check is hit.
We just want a minor change in the error handling here to be correct in rare case when memory_mb is zero (mem_inst variable in above code)
To recreate, you may need to somehow mimic the memory stat (memory_mb property) of the virtual instance to be zero '0'.
And then, try a migration of the same so that the above pre-migration check is hit.
We just want a minor change in the error handling here to be correct in rare case when memory_mb is zero (mem_inst variable in above code)