Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Postgres offlinestore in aws provider #3859

Open
shyamalshivam opened this issue Dec 6, 2023 · 2 comments
Open

Issue with Postgres offlinestore in aws provider #3859

shyamalshivam opened this issue Dec 6, 2023 · 2 comments

Comments

@shyamalshivam
Copy link

Can anyone help in resolving below error

Traceback (most recent call last):
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\feast\repo_config.py", line 353, in load_repo_config
c = RepoConfig(**raw_config)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\feast\repo_config.py", line 118, in init
super().init(**data)
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for RepoConfig
root
(type=assertion_error)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\sanjaysoni\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\sanjaysoni\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\sanjaysoni\Projects\Genome\env\Scripts\feast.exe_main
.py", line 7, in
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\feast\cli.py", line 448, in apply_total_command
repo_config = load_repo_config(repo)
File "C:\Users\sanjaysoni\Projects\Genome\env\lib\site-packages\feast\repo_config.py", line 357, in load_repo_config
raise FeastConfigError(e, config_path)
feast.repo_config.FeastConfigError: 1 validation error for RepoConfig
root
(type=assertion_error)
at C:\Users\sanjaysoni\Projects\Genome\feast_demo\feast\needed_ray\feature_repo\feature_store.yaml

Here is the feature_store settings
project: needed_ray
provider: aws
registry:
path: s3://aws-landing-zone/feast_repo/registry.db
online_store: null
offline_store:
type: postgres
host: localhost
port: 5432
database: postgres
db_schema: public
user: admin
password: admin
entity_key_serialization_version: 2

@redhatHameed
Copy link
Contributor

@shyamalshivam are you still facing this issue ? I can try to reproduce it if you still need help.

@shyamalshivam
Copy link
Author

@redhatHameed -- Issue is solved when we downgraded postgres version to 10.5 from 15 .. But i did not get why this was issue at the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants