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

dockerPreloader fails due to "read-only file system" error #74143

Closed
thefloweringash opened this issue Nov 25, 2019 · 5 comments
Closed

dockerPreloader fails due to "read-only file system" error #74143

thefloweringash opened this issue Nov 25, 2019 · 5 comments

Comments

@thefloweringash
Copy link
Member

Attempting to use the virtualisation.dockerPreloader feature on current master (6e38def) fails to start containers on the preloaded images. The existing test in nix-build nixos/tests/docker-preloader.nix reproduces the error.

Log message from running the tests on hydra:

docker# [   12.601197] dockerd[747]: time="2019-11-24T18:47:45.973722725Z" level=error msg="Handler for POST /v1.40/containers/create returned error: open /var/lib/docker/overlay2/bcc596043c9e8253025a4cfae4a12eafd168c13342898e60345669e7b453225f/committed: read-only file system"
docker# /nix/store/rbhcr27bx53hqwx72rjkgbj5pfn7jix3-docker-19.03.4/libexec/docker/docker: Error response from daemon: open /var/lib/docker/overlay2/bcc596043c9e8253025a4cfae4a12eafd168c13342898e60345669e7b453225f/committed: read-only file system.

Looking at recent builds, it looks like it's been failing consistently for a while.

cc @nlewo as the author of the module

Maintainer information:

module:
 - virtualisation/docker-preloader.nix
@thefloweringash
Copy link
Member Author

Wild speculation: moby/moby@477bf1e looks suspicious.

@stale
Copy link

stale bot commented Jun 1, 2020

Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the
    related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on
    irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 1, 2020
@thefloweringash
Copy link
Member Author

The feature is still present and the tests are still failing on hydra. Ideally we should fix the feature, but If the feature can't be supported any more we should remove it. Keeping the issue open until one of these things happens.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@flokli
Copy link
Contributor

flokli commented Aug 23, 2020

#93791 removes docker-preloader.

@flokli
Copy link
Contributor

flokli commented Aug 23, 2020

With #93791 merged, let's close this issue.

@flokli flokli closed this as completed Aug 23, 2020
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