def _wait_image(self, name):
        sleep(1)
        logger.info('Wait for {} image'.format(name))
        try:
            if pyrax.cloudservers.images.find(name=name).status != 'ACTIVE':
                self._wait_image(name)
        except Exception:
            self._wait_image(name)
Only allows through sites with valid credentials
dataset/ETHPy150Open nvbn/coviolations_web/nodes/utils.py/NodeConnection._wait_image--crossover with--dataset/ETHPy150Open c00w/bitHopper/bitHopper/Logic/ServerLogic.py/valid_credentials