Comments (4)
Thanks for reporting, are there any reproducible steps?
from nydus-snapshotter.
Please just run my converted v6 container image. It is quite easy to reproduce in my environment.
sudo nerdctl --snapshotter nydus run -it --net none gechangwei/python:3.7-nydus bash
from nydus-snapshotter.
Thanks, there doesn't seem to be anything wrong in my environment, but a possible reproducible step via investigation like this:
- start nydus snapshotter with options:
containerd-nydus-grpc \
--config-path /path/to/nydus/config.json \
--log-to-stdout
- no
--daemon-mode shared
and--daemon-backend fscache
option. - enable
--log-to-stdout
to print an error message from nydusd.
- run nydus v6 image with nerdctl/ctr:
nerdctl --snapshotter nydus run -it --net none localhost:5000/python:3.7-nydus-v6 bash
An error message is thrown by nydusd:
[2022-07-11 03:34:13.578151 +00:00] ERROR [error/src/error.rs:21] Error:
"failed to read metadata from backend, Registry(Request(Common(reqwest::Error { kind: Request, url: Url { scheme: \"https\", cannot_be_a_base: false, username: \"\", password: None, host: Some(Domain(\"localhost\")), port: Some(5000), path: \"/v2/ubuntu/blobs/sha256:83369b0db62aa01e50a6b4265a9270b184ccfaa92c22005009c6fc667d1a69ec\", query: None, fragment: None }, source: hyper::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 336130315, library: \"SSL routines\", function: \"ssl3_get_record\", reason: \"wrong version number\", file: \"ssl/record/ssl3_record.c\", line: 331 }]))) }, X509VerifyResult { code: 0, error: \"ok\" })) })))"
at storage/src/meta/mod.rs:643
note: enable `RUST_BACKTRACE=1` env to display a backtrace
[2022-07-11 03:34:13.578255 +00:00] ERROR [error/src/error.rs:21] Error:
Rafs(CreateDevice(Os { code: 5, kind: Uncategorized, message: "I/O error" }))
at src/bin/nydusd/daemon.rs:140
note: enable `RUST_BACKTRACE=1` env to display a backtrace
[2022-07-11 03:34:13.578294 +00:00] ERROR [src/bin/nydusd/main.rs:663] Failed in starting daemon: Invalid argument (os error 22)
Configuration like this in my /path/to/nydus/config.json
:
{
"device": {
"backend": {
"type": "registry",
"config": {
"scheme": "https",
"timeout": 5,
"connect_timeout": 5,
"retry_limit": 0
}
},
"cache": {
"type": "blobcache",
"config": {
"work_dir": "/tmp/cache"
}
}
},
"mode": "direct",
"digest_validate": false,
"iostats_files": false,
"enable_xattr": true,
"fs_prefetch": {
"enable": false,
"threads_count": 6,
"merging_size": 131072
}
}
In my test steps, the root cause is the device.backend.config.scheme
field is set with https
, but http
should be used for localhost:5000/python:3.7-nydus-v6
image.
@changweige could we append a --log-to-stdout
option to snapshotter CLI startup options to check if have any error messages thrown by nydusd? thanks!
from nydus-snapshotter.
Let's close it since snapshotter will have a more detailed nydusd log with PR #118 and I no longer can reproduce it.
from nydus-snapshotter.
Related Issues (20)
- Support containerized daemon based on containerd HOT 1
- Failed to export image as tarfs block device HOT 1
- Snapshot of writable layer HOT 6
- `go get github.com/containerd/nydus-snapshotter@latest` refers to a non-existent version (v0.11.3) HOT 10
- pull image error in proxy mode and blockdev mode when convert snapshotter from overlayfs to nydus HOT 2
- release: Provide s390x and arm64 released tarballs HOT 5
- CI: randomly failed e2e test and continuous prefetch warnings HOT 1
- Nydus-Snapshotter Auth Error HOT 1
- Support sharing image on the host for layer block mode
- Provide a daemon-set to ease the deployment of nydus-snapshotter HOT 3
- When booting an image using tarfs mode, an error occurs stating that files within the image cannot be found HOT 4
- misc: add daemon_mode option to guest pull config
- Failed to start container from ECR registry HOT 3
- Multi-arch support for a nydus-snapshotter image HOT 2
- Clarify status of eStargz support HOT 1
- [Rootless] Unsound nydus-snapshotter crash with rootless + cgroup enabled HOT 1
- [Rootless] Permission denied: unknown on image pull via nerdctl HOT 5
- snapshots: Fix error when switching different snapshotters HOT 1
- Pod panic due to invalid argument when using rafs version6 HOT 9
- Pin the docker image in daemonset to release version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nydus-snapshotter.