def _cleanup_remote_migration(self, dest, inst_base, inst_base_resize, shared_storage=False):
    'Used only for cleanup in case migrate_disk_and_power_off fails.'
    try:
        if os.path.exists(inst_base_resize):
            utils.execute('rm', '-rf', inst_base)
            utils.execute('mv', inst_base_resize, inst_base)
            if (not shared_storage):
                utils.execute('ssh', dest, 'rm', '-rf', inst_base)
    except Exception:
        pass
Used only for cleanup in case migrate_disk_and_power_off fails.
def _cleanup_remote_migration(self, dest, inst_base, inst_base_resize, shared_storage=False):
    
    try:
        if os.path.exists(inst_base_resize):
            utils.execute('rm', '-rf', inst_base)
            utils.execute('mv', inst_base_resize, inst_base)
            if (not shared_storage):
                utils.execute('ssh', dest, 'rm', '-rf', inst_base)
    except Exception:
        pass