

def run(self, info=None, **kwargs):
    info = copy.deepcopy(info)
    new_info = {
        utils.INSTANCES_TYPE: {
            
        },
    }
    for (instance_id, instance) in info[utils.INSTANCES_TYPE].iteritems():
        instance = self._replace_user_ids(instance)
        src_instance = instance['instance']
        src_image_id = src_instance['image_id']
        dst_image = self.get_dst_image(src_image_id)
        if (dst_image is None):
            LOG.warning("Image '%s' is not present in destination, skipping migration of VM '%s' (%s).", src_image_id, src_instance['name'], instance_id['id'])
            continue
        if (dst_image.id != src_image_id):
            LOG.info("Using image ID '%s' to boot VM '%s (%s)'", dst_image.id, src_instance['name'], src_instance['id'])
            src_instance['image_id'] = dst_image.id
        one_instance = {
            utils.INSTANCES_TYPE: {
                instance_id: instance,
            },
        }
        one_instance = self.deploy_instance(one_instance)
        new_info[utils.INSTANCES_TYPE].update(one_instance[utils.INSTANCES_TYPE])
    return {
        'info': new_info,
    }

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/actions/transport_instance.py TransportInstance.run/VarMisuse@116/194 `src_instance`->`instance_id`