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

fix: db-load-data error when restarting #4408

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

mlbrgl
Copy link
Member

@mlbrgl mlbrgl commented Jan 8, 2025

Building db-load-data through docker compose (and/or as part of make up.full) fails with the following error:


Error response from daemon: invalid argument

The dockerd logs return the same generic error

Jan 08 13:38:52 matthieu-pr dockerd[16067]: time="2025-01-08T13:38:52.522058822Z" level=error msg="Handler for POST /v1.47/containers/create returned error: invalid argument" spanID=fe7aeda7b6d9d9b0 traceID=1c9ac07f8dd5be064aa53533cf0aa86e

Solution

Clearing the microdnf cache: microdnf clean all

Failed attempts

Considered along the way:

  • ❌ checking the container logs: empty
  • ❌ create a container on a base mysql image then drop into it, and run the commands manually: goes through
  • ❌ using a different package manager: apt, yum not present on base mysql image

Copy link
Member Author

mlbrgl commented Jan 8, 2025

@mlbrgl mlbrgl marked this pull request as ready for review January 8, 2025 15:19
@mlbrgl mlbrgl requested a review from danyx23 January 8, 2025 15:20
@mlbrgl mlbrgl force-pushed the editorconfig-reco branch from 56513e9 to 9bcf33c Compare January 10, 2025 13:18
@mlbrgl mlbrgl force-pushed the fix-docker-microdnf-db branch from db597e6 to aedf07c Compare January 10, 2025 13:19
@owidbot
Copy link
Contributor

owidbot commented Jan 10, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-fix-docker-microdnf-db

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-01-10 13:40:40 UTC
Execution time: 1.27 seconds

Copy link
Member Author

mlbrgl commented Jan 10, 2025

Merge activity

  • Jan 10, 9:00 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Jan 10, 9:06 AM EST: Graphite rebased this pull request as part of a merge.
  • Jan 10, 9:06 AM EST: A user merged this pull request with Graphite.

@mlbrgl mlbrgl changed the base branch from editorconfig-reco to graphite-base/4408 January 10, 2025 14:02
@mlbrgl mlbrgl changed the base branch from graphite-base/4408 to master January 10, 2025 14:04
@mlbrgl mlbrgl force-pushed the fix-docker-microdnf-db branch from aedf07c to ad448f3 Compare January 10, 2025 14:05
@mlbrgl mlbrgl merged commit 3360e1c into master Jan 10, 2025
13 of 14 checks passed
@mlbrgl mlbrgl deleted the fix-docker-microdnf-db branch January 10, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants