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

Fides push fails randomly with database query failed error #1435

Closed
sanders41 opened this issue Oct 13, 2022 · 0 comments
Closed

Fides push fails randomly with database query failed error #1435

sanders41 opened this issue Oct 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sanders41
Copy link
Contributor

sanders41 commented Oct 13, 2022

Bug Description

Sometimes when running fides push demo_resources/ it will fail with an error.

Loading config from: /fides/.fides/fides.toml
Loading resource manifests from: demo_resources/
Taxonomy successfully created.
----------
Processing data_use resource(s)...
{'detail': {'error': 'a database query failed'}}

Re-running the same command with no other changes seems to fix the issue. See this issue for context.

In my testing I was able to reproduce this error, also on my first run. Then on a second run of the command it worked without error. Before starting the test I ran docker system prune -f --all --volumes to be sure I was starting fresh.

After the initial test I pruned the system and tried again. This time fides push demo_resources/ worked on the first try without error.

Steps to Reproduce

  1. Follow the quick start guide in the README to step 3.
  2. Sometimes this step will error, and sometimes it will work.

Expected behavior

Command should run without error.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Version:
  • OS:
  • Python Version:
  • Docker Version:

Additional context

The error {'detail': {'error': 'a database query failed'}} provides enough to know it is an issue interacting with the database, but doesn't contain enough to know what the problem is.

@sanders41 sanders41 added the bug Something isn't working label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants