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

Error parsing configuration with Postgresql db store #729

Open
rprakashg-redhat opened this issue Feb 2, 2025 · 4 comments
Open

Error parsing configuration with Postgresql db store #729

rprakashg-redhat opened this issue Feb 2, 2025 · 4 comments
Labels

Comments

@rprakashg-redhat
Copy link

rprakashg-redhat commented Feb 2, 2025

I'm getting this error below parsing configuration

Feb 02 16:51:58 ip-10-0-0-10.us-west-2.compute.internal fdo-manufacturing-server[2065]: Error: Error parsing configuration Feb 02 16:51:58 ip-10-0-0-10.us-west-2.compute.internal fdo-manufacturing-server[2065]: Caused by: Feb 02 16:51:58 ip-10-0-0-10.us-west-2.compute.internal fdo-manufacturing-server[2065]: value of enum ServerType should be represented by either string or table with exactly one key Feb 02 16:51:58 ip-10-0-0-10.us-west-2.compute.internal systemd[1]: fdo-manufacturing-server.service: Main process exited, code=exited, status=1/FAILURE Feb 02 16:51:58 ip-10-0-0-10.us-west-2.compute.internal systemd[1]: fdo-manufacturing-server.service: Failed with result 'exit-code'.

Here is the manufacturing server config section that I think its complaining on. worked fine when I was using Directory as store

ownership_voucher_store_driver:
  Postgres:
    server: Manufacturer
    url: <<redacted>>
@runcom
Copy link
Contributor

runcom commented Feb 6, 2025

version of the whole fdo stack? I can reproduce otherwise

@runcom runcom added the jira label Feb 6, 2025
@rprakashg-redhat
Copy link
Author

rprakashg-redhat commented Feb 6, 2025

I'm using our official container images so what ever version is baked into those.

@runcom
Copy link
Contributor

runcom commented Feb 6, 2025

I'm using our official container images so what ever version is baked into those.

could you provide the version? 😄 for whoever is gonna work on this...

@rprakashg-redhat
Copy link
Author

I'm not sure how I would find that out TBH :) These are the images I'm using

  • registry.redhat.io/rhel9/fdo-manufacturing-server
  • registry.redhat.io/rhel9/fdo-rendezvous-server
  • registry.redhat.io/rhel9/fdo-owner-onboarding-server
  • registry.redhat.io/rhel9/fdo-serviceinfo-api-server

All these images have the same issue with Postgresql

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

No branches or pull requests

2 participants