@utils.retry
    def _docker_load(self, path):
        result = 1
        try:
            with open(path, 'rb') as f:
                self.docker.load_image(f)
            result = 0
        except (__HOLE__, errors.DockerException, errors.APIError) as e:
            LOG.error('Error in loading docker image, %s' % str(e))
        return result
dataset/ETHPy150Open openstack/solum/solum/worker/app_handlers/base.py/BaseHandler._docker_load