def _find_config(self, config_path):
        possible_locations = [
            config_path,
            os.path.join(FLAGS.state_path, "etc", "nova", config_path),
            os.path.join(FLAGS.state_path, "etc", config_path),
            os.path.join(FLAGS.state_path, config_path),
            "/etc/nova/%s" % config_path,
        ]

        for path in possible_locations:
            if os.path.exists(path):
                return os.path.abspath(path)

        raise exception.PasteConfigNotFound(path=os.path.abspath(config_path))
Find the paste configuration file using the given hint.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/wsgi.py/Loader._find_config