Comments (4)
It seems nydusd failed to start, could you provide the snapshotter logs?
from nydus.
It seems nydusd failed to start, could you provide the snapshotter logs?
After I set the log level to debug
and restarted the containerd-grpc-nydus
, the service started failed. Here is the log.
Defaulted container "nydus-snapshotter" out of: nydus-snapshotter, update-containerd (init)
time="2023-08-02T06:23:51.892145703Z" level=info msg="Start nydus-snapshotter. PID 5289 Version v0.6.1 FsDriver fusedev DaemonMode multiple"
time="2023-08-02T06:23:51.893084314Z" level=info msg="Run daemons monitor..."
time="2023-08-02T06:23:51.893257617Z" level=debug msg="found daemon states &daemon.States{ID:\"cihv2abp913a8s9ud6u0\", ProcessID:45892, APISocket:\"/var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock\", LogDir:\"/var/lib/containerd-nydus/logs/cihv2abp913a8s9ud6u0\", LogLevel:\"info\", LogToStdout:true, FsDriver:\"fusedev\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/270/mnt\", ThreadNum:0, ConfigDir:\"/var/lib/containerd-nydus/config/cihv2abp913a8s9ud6u0\", SupervisorPath:\"\"}"
time="2023-08-02T06:23:51.893290093Z" level=info msg="Recovering daemon ID cihv2abp913a8s9ud6u0"
time="2023-08-02T06:23:54.912007807Z" level=warning msg="Daemon cihv2abp913a8s9ud6u0 died somehow. Clean up its vestige!, get daemon state: daemon socket /var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock: not found"
time="2023-08-02T06:23:54.912158113Z" level=debug msg="found daemon states &daemon.States{ID:\"ciihfebp913a8s9ud6ug\", ProcessID:45941, APISocket:\"/var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock\", LogDir:\"/var/lib/containerd-nydus/logs/ciihfebp913a8s9ud6ug\", LogLevel:\"info\", LogToStdout:true, FsDriver:\"fusedev\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/9184/mnt\", ThreadNum:0, ConfigDir:\"/var/lib/containerd-nydus/config/ciihfebp913a8s9ud6ug\", SupervisorPath:\"\"}"
time="2023-08-02T06:23:54.912200126Z" level=info msg="Recovering daemon ID ciihfebp913a8s9ud6ug"
time="2023-08-02T06:23:57.547465290Z" level=warning msg="Daemon ciihfebp913a8s9ud6ug died somehow. Clean up its vestige!, get daemon state: daemon socket /var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock: not found"
time="2023-08-02T06:23:57.547609966Z" level=debug msg="found daemon states &daemon.States{ID:\"cij3hd3p913a8s9ud70g\", ProcessID:45989, APISocket:\"/var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock\", LogDir:\"/var/lib/containerd-nydus/logs/cij3hd3p913a8s9ud70g\", LogLevel:\"info\", LogToStdout:true, FsDriver:\"fusedev\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10021/mnt\", ThreadNum:0, ConfigDir:\"/var/lib/containerd-nydus/config/cij3hd3p913a8s9ud70g\", SupervisorPath:\"\"}"
time="2023-08-02T06:23:57.547648683Z" level=info msg="Recovering daemon ID cij3hd3p913a8s9ud70g"
time="2023-08-02T06:24:00.431545755Z" level=warning msg="Daemon cij3hd3p913a8s9ud70g died somehow. Clean up its vestige!, get daemon state: daemon socket /var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock: not found"
time="2023-08-02T06:24:00.431720121Z" level=debug msg="found daemon states &daemon.States{ID:\"cj4bmcrp913fatblt8qg\", ProcessID:4722, APISocket:\"/var/lib/containerd-nydus/socket/cj4bmcrp913fatblt8qg/api.sock\", LogDir:\"/var/lib/containerd-nydus/logs/cj4bmcrp913fatblt8qg\", LogLevel:\"info\", LogToStdout:true, FsDriver:\"fusedev\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10036/mnt\", ThreadNum:0, ConfigDir:\"/var/lib/containerd-nydus/config/cj4bmcrp913fatblt8qg\", SupervisorPath:\"\"}"
time="2023-08-02T06:24:00.431755814Z" level=info msg="Recovering daemon ID cj4bmcrp913fatblt8qg"
time="2023-08-02T06:24:03.239562930Z" level=warning msg="Daemon cj4bmcrp913fatblt8qg died somehow. Clean up its vestige!, get daemon state: daemon socket /var/lib/containerd-nydus/socket/cj4bmcrp913fatblt8qg/api.sock: not found"
time="2023-08-02T06:24:03.239708059Z" level=debug msg="found daemon states &daemon.States{ID:\"cj4buubp913fatblt8r0\", ProcessID:53098, APISocket:\"/var/lib/containerd-nydus/socket/cj4buubp913fatblt8r0/api.sock\", LogDir:\"/var/lib/containerd-nydus/logs/cj4buubp913fatblt8r0\", LogLevel:\"info\", LogToStdout:true, FsDriver:\"fusedev\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10056/mnt\", ThreadNum:0, ConfigDir:\"/var/lib/containerd-nydus/config/cj4buubp913fatblt8r0\", SupervisorPath:\"\"}"
time="2023-08-02T06:24:03.239748242Z" level=info msg="Recovering daemon ID cj4buubp913fatblt8r0"
time="2023-08-02T06:24:06.229604669Z" level=warning msg="Daemon cj4buubp913fatblt8r0 died somehow. Clean up its vestige!, get daemon state: daemon socket /var/lib/containerd-nydus/socket/cj4buubp913fatblt8r0/api.sock: not found"
time="2023-08-02T06:24:06.229750791Z" level=debug msg="found daemon states &daemon.States{ID:\"cj4c29bp913fatblt8rg\", ProcessID:24395, APISocket:\"/var/lib/containerd-nydus/socket/cj4c29bp913fatblt8rg/api.sock\", LogDir:\"/var/lib/containerd-nydus/logs/cj4c29bp913fatblt8rg\", LogLevel:\"info\", LogToStdout:true, FsDriver:\"fusedev\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10066/mnt\", ThreadNum:0, ConfigDir:\"/var/lib/containerd-nydus/config/cj4c29bp913fatblt8rg\", SupervisorPath:\"\"}"
time="2023-08-02T06:24:06.229789961Z" level=info msg="Recovering daemon ID cj4c29bp913fatblt8rg"
time="2023-08-02T06:24:09.243531840Z" level=warning msg="Daemon cj4c29bp913fatblt8rg died somehow. Clean up its vestige!, get daemon state: daemon socket /var/lib/containerd-nydus/socket/cj4c29bp913fatblt8rg/api.sock: not found"
time="2023-08-02T06:24:09.243747582Z" level=debug msg="found instance &daemon.Rafs{Seq:0x6, SnapshotID:\"10021\", ImageID:\"docker-registry-internal.i.brainpp.cn/library/megbrain_ci:cu111_nv460_cudnn804_v4\", DaemonID:\"cij3hd3p913a8s9ud70g\", SnapshotDir:\"/var/lib/containerd-nydus/snapshots/10021\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10021/mnt\", Annotations:map[string]string{}}"
time="2023-08-02T06:24:09.243816228Z" level=debug msg="found instance &daemon.Rafs{Seq:0x7, SnapshotID:\"10036\", ImageID:\"docker-registry-internal.i.brainpp.cn/library/nydus-test:test\", DaemonID:\"cj4bmcrp913fatblt8qg\", SnapshotDir:\"/var/lib/containerd-nydus/snapshots/10036\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10036/mnt\", Annotations:map[string]string{}}"
time="2023-08-02T06:24:09.243867201Z" level=debug msg="found instance &daemon.Rafs{Seq:0x8, SnapshotID:\"10056\", ImageID:\"docker-registry-internal.i.brainpp.cn/library/nydus-test:test1\", DaemonID:\"cj4buubp913fatblt8r0\", SnapshotDir:\"/var/lib/containerd-nydus/snapshots/10056\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10056/mnt\", Annotations:map[string]string{}}"
time="2023-08-02T06:24:09.243917631Z" level=debug msg="found instance &daemon.Rafs{Seq:0x9, SnapshotID:\"10066\", ImageID:\"docker-registry-internal.i.brainpp.cn/library/nydus-test:test1\", DaemonID:\"cj4c29bp913fatblt8rg\", SnapshotDir:\"/var/lib/containerd-nydus/snapshots/10066\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/10066/mnt\", Annotations:map[string]string{}}"
time="2023-08-02T06:24:09.243968407Z" level=debug msg="found instance &daemon.Rafs{Seq:0x1, SnapshotID:\"270\", ImageID:\"ghcr.io/dragonflyoss/image-service/nginx:nydus-latest\", DaemonID:\"cihv2abp913a8s9ud6u0\", SnapshotDir:\"/var/lib/containerd-nydus/snapshots/270\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/270/mnt\", Annotations:map[string]string{}}"
time="2023-08-02T06:24:09.244020107Z" level=debug msg="found instance &daemon.Rafs{Seq:0x2, SnapshotID:\"9184\", ImageID:\"docker-registry-internal.i.brainpp.cn/library/ml-base:22.04-megvii-v2.5.0-nydus\", DaemonID:\"ciihfebp913a8s9ud6ug\", SnapshotDir:\"/var/lib/containerd-nydus/snapshots/9184\", Mountpoint:\"/var/lib/containerd-nydus/snapshots/9184/mnt\", Annotations:map[string]string{}}"
time="2023-08-02T06:24:09.244050030Z" level=info msg="Unmounting /var/lib/containerd-nydus/snapshots/10066/mnt when clear vestige"
time="2023-08-02T06:24:09.244135383Z" level=warning msg="Can't umount /var/lib/containerd-nydus/snapshots/10066/mnt, not mounted"
time="2023-08-02T06:24:09.244175419Z" level=warning msg="Can't delete residual unix socket /var/lib/containerd-nydus/socket/cj4c29bp913fatblt8rg/api.sock, remove /var/lib/containerd-nydus/socket/cj4c29bp913fatblt8rg/api.sock: no such file or directory"
time="2023-08-02T06:24:09.244194486Z" level=info msg="Unmounting /var/lib/containerd-nydus/snapshots/270/mnt when clear vestige"
time="2023-08-02T06:24:09.244257915Z" level=warning msg="Can't umount /var/lib/containerd-nydus/snapshots/270/mnt, not mounted"
time="2023-08-02T06:24:09.244284572Z" level=warning msg="Can't delete residual unix socket /var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock, remove /var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock: no such file or directory"
time="2023-08-02T06:24:09.244307832Z" level=info msg="Unmounting /var/lib/containerd-nydus/snapshots/9184/mnt when clear vestige"
time="2023-08-02T06:24:09.244367891Z" level=warning msg="Can't umount /var/lib/containerd-nydus/snapshots/9184/mnt, not mounted"
time="2023-08-02T06:24:09.244427404Z" level=warning msg="Can't delete residual unix socket /var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock, remove /var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock: no such file or directory"
time="2023-08-02T06:24:09.244449064Z" level=info msg="Unmounting /var/lib/containerd-nydus/snapshots/10021/mnt when clear vestige"
time="2023-08-02T06:24:09.244508074Z" level=warning msg="Can't umount /var/lib/containerd-nydus/snapshots/10021/mnt, not mounted"
time="2023-08-02T06:24:09.244534164Z" level=warning msg="Can't delete residual unix socket /var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock, remove /var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock: no such file or directory"
time="2023-08-02T06:24:09.244551564Z" level=info msg="Unmounting /var/lib/containerd-nydus/snapshots/10036/mnt when clear vestige"
time="2023-08-02T06:24:09.244644530Z" level=warning msg="Can't umount /var/lib/containerd-nydus/snapshots/10036/mnt, not mounted"
time="2023-08-02T06:24:09.244672653Z" level=warning msg="Can't delete residual unix socket /var/lib/containerd-nydus/socket/cj4bmcrp913fatblt8qg/api.sock, remove /var/lib/containerd-nydus/socket/cj4bmcrp913fatblt8qg/api.sock: no such file or directory"
time="2023-08-02T06:24:09.244694786Z" level=info msg="Unmounting /var/lib/containerd-nydus/snapshots/10056/mnt when clear vestige"
time="2023-08-02T06:24:09.244750096Z" level=warning msg="Can't umount /var/lib/containerd-nydus/snapshots/10056/mnt, not mounted"
time="2023-08-02T06:24:09.244775166Z" level=warning msg="Can't delete residual unix socket /var/lib/containerd-nydus/socket/cj4buubp913fatblt8r0/api.sock, remove /var/lib/containerd-nydus/socket/cj4buubp913fatblt8r0/api.sock: no such file or directory"
time="2023-08-02T06:24:09.244868882Z" level=info msg="nydusd command: /usr/local/bin/nydusd fuse --config /var/lib/containerd-nydus/config/cihv2abp913a8s9ud6u0/config.json --bootstrap /var/lib/containerd-nydus/snapshots/270/fs/image/image.boot --mountpoint /var/lib/containerd-nydus/snapshots/270/mnt --apisock /var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock --log-level info"
[2023-08-02 06:24:09.247366 +00:00] INFO [app/src/lib.rs:74] Program Version: v2.1.2, Git Commit: "820b3782e2ee98c085798558924a199b1a38bbe5", Build Time: "2022-12-12T10:07:02.301738788Z", Profile: "release", Rustc Version: "rustc 1.61.0 (fe5b13d68 2022-05-18)"
[2023-08-02 06:24:09.247461 +00:00] INFO [src/bin/nydusd/main.rs:514] Set rlimit-nofile to 1000000, maximum 1048576
[2023-08-02 06:24:09.248051 +00:00] INFO [rafs/src/metadata/md_v5.rs:30] rafs superblock features: COMPRESS_LZ4_BLOCK | DIGESTER_BLAKE3 | EXPLICIT_UID_GID
[2023-08-02 06:24:09.248206 +00:00] INFO [storage/src/backend/connection.rs:263] backend config: ConnectionConfig { proxy: ProxyConfig { url: "", ping_url: "", fallback: false, check_interval: 5, use_http: false }, mirrors: [], skip_verify: false, timeout: 5, connect_timeout: 5, retry_limit: 2 }
[2023-08-02 06:24:09.267897 +00:00] INFO [src/bin/nydusd/fs_service.rs:206] Rafs imported
[2023-08-02 06:24:09.267976 +00:00] INFO [src/bin/nydusd/fs_service.rs:102] Rafs mounted at /
[2023-08-02 06:24:09.268114 +00:00] INFO [/cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/transport/fusedev/linux_session.rs:337] mount source rafs dest /var/lib/containerd-nydus/snapshots/270/mnt with fstype fuse opts default_permissions,allow_other,fd=41,rootmode=40000,user_id=0,group_id=0 fd 41
[2023-08-02 06:24:09.269170 +00:00] INFO [src/bin/nydusd/daemon.rs:330] State machine(pid=5840): from Init to Ready, input [Mount], output [None]
[2023-08-02 06:24:09.269275 +00:00] INFO [src/bin/nydusd/daemon.rs:330] State machine(pid=5840): from Ready to Running, input [Start], output [Some(StartService)]
[2023-08-02 06:24:09.269305 +00:00] INFO [src/bin/nydusd/fusedev.rs:318] start 4 fuse servers
[2023-08-02 06:24:09.269629 +00:00] INFO [/cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/api/server/sync_io.rs:614] FUSE INIT major 7 minor 31
in_opts: ASYNC_READ | POSIX_LOCKS | ATOMIC_O_TRUNC | EXPORT_SUPPORT | BIG_WRITES | DONT_MASK | SPLICE_WRITE | SPLICE_MOVE | SPLICE_READ | FLOCK_LOCKS | HAS_IOCTL_DIR | AUTO_INVAL_DATA | DO_READDIRPLUS | READDIRPLUS_AUTO | ASYNC_DIO | WRITEBACK_CACHE | ZERO_MESSAGE_OPEN | PARALLEL_DIROPS | HANDLE_KILLPRIV | POSIX_ACL | ABORT_ERROR | MAX_PAGES | CACHE_SYMLINKS | ZERO_MESSAGE_OPENDIR | EXPLICIT_INVAL_DATA
out_opts: ASYNC_READ | BIG_WRITES | HAS_IOCTL_DIR | AUTO_INVAL_DATA | DO_READDIRPLUS | READDIRPLUS_AUTO | ASYNC_DIO | WRITEBACK_CACHE | ZERO_MESSAGE_OPEN | PARALLEL_DIROPS | MAX_PAGES | CACHE_SYMLINKS | ZERO_MESSAGE_OPENDIR | EXPLICIT_INVAL_DATA
[2023-08-02 06:24:09.269923 +00:00] INFO [src/bin/nydusd/main.rs:660] Fuse daemon started!
[2023-08-02 06:24:09.270259 +00:00] INFO [src/bin/nydusd/api_server_glue.rs:406] HTTP API server running at /var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock
[2023-08-02 06:24:09.270433 +00:00] INFO [api/src/http.rs:911] http server started
[2023-08-02 06:24:09.401228 +00:00] INFO [api/src/http.rs:816] <--- Get Uri { string: "/api/v1/daemon" }
[2023-08-02 06:24:09.401437 +00:00] INFO [api/src/http.rs:821] ---> Get Status Code: OK, Elapse: Ok(210.941µs), Body Size: 873
time="2023-08-02T06:24:09.401954653Z" level=info msg="nydusd command: /usr/local/bin/nydusd fuse --config /var/lib/containerd-nydus/config/ciihfebp913a8s9ud6ug/config.json --bootstrap /var/lib/containerd-nydus/snapshots/9184/fs/image/image.boot --mountpoint /var/lib/containerd-nydus/snapshots/9184/mnt --apisock /var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock --log-level info"
[2023-08-02 06:24:09.404553 +00:00] INFO [app/src/lib.rs:74] Program Version: v2.1.2, Git Commit: "820b3782e2ee98c085798558924a199b1a38bbe5", Build Time: "2022-12-12T10:07:02.301738788Z", Profile: "release", Rustc Version: "rustc 1.61.0 (fe5b13d68 2022-05-18)"
[2023-08-02 06:24:09.404623 +00:00] INFO [src/bin/nydusd/main.rs:514] Set rlimit-nofile to 1000000, maximum 1048576
[2023-08-02 06:24:09.405246 +00:00] INFO [rafs/src/metadata/md_v5.rs:30] rafs superblock features: DIGESTER_BLAKE3 | EXPLICIT_UID_GID | HAS_XATTR | COMPRESS_ZSTD
time="2023-08-02T06:24:09.406044759Z" level=info msg="Subscribe daemon cihv2abp913a8s9ud6u0 liveness event, path=/var/lib/containerd-nydus/socket/cihv2abp913a8s9ud6u0/api.sock."
[2023-08-02 06:24:09.406233 +00:00] INFO [storage/src/backend/connection.rs:263] backend config: ConnectionConfig { proxy: ProxyConfig { url: "", ping_url: "", fallback: false, check_interval: 5, use_http: false }, mirrors: [], skip_verify: false, timeout: 5, connect_timeout: 5, retry_limit: 2 }
[2023-08-02 06:24:09.423877 +00:00] INFO [src/bin/nydusd/fs_service.rs:206] Rafs imported
[2023-08-02 06:24:09.423957 +00:00] INFO [src/bin/nydusd/fs_service.rs:102] Rafs mounted at /
[2023-08-02 06:24:09.424105 +00:00] INFO [/cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/transport/fusedev/linux_session.rs:337] mount source rafs dest /var/lib/containerd-nydus/snapshots/9184/mnt with fstype fuse opts default_permissions,allow_other,fd=52,rootmode=40000,user_id=0,group_id=0 fd 52
[2023-08-02 06:24:09.424855 +00:00] INFO [src/bin/nydusd/daemon.rs:330] State machine(pid=5887): from Init to Ready, input [Mount], output [None]
[2023-08-02 06:24:09.424908 +00:00] INFO [src/bin/nydusd/daemon.rs:330] State machine(pid=5887): from Ready to Running, input [Start], output [Some(StartService)]
[2023-08-02 06:24:09.424925 +00:00] INFO [src/bin/nydusd/fusedev.rs:318] start 4 fuse servers
[2023-08-02 06:24:09.425184 +00:00] INFO [/cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/api/server/sync_io.rs:614] FUSE INIT major 7 minor 31
in_opts: ASYNC_READ | POSIX_LOCKS | ATOMIC_O_TRUNC | EXPORT_SUPPORT | BIG_WRITES | DONT_MASK | SPLICE_WRITE | SPLICE_MOVE | SPLICE_READ | FLOCK_LOCKS | HAS_IOCTL_DIR | AUTO_INVAL_DATA | DO_READDIRPLUS | READDIRPLUS_AUTO | ASYNC_DIO | WRITEBACK_CACHE | ZERO_MESSAGE_OPEN | PARALLEL_DIROPS | HANDLE_KILLPRIV | POSIX_ACL | ABORT_ERROR | MAX_PAGES | CACHE_SYMLINKS | ZERO_MESSAGE_OPENDIR | EXPLICIT_INVAL_DATA
out_opts: ASYNC_READ | BIG_WRITES | HAS_IOCTL_DIR | AUTO_INVAL_DATA | DO_READDIRPLUS | READDIRPLUS_AUTO | ASYNC_DIO | WRITEBACK_CACHE | ZERO_MESSAGE_OPEN | PARALLEL_DIROPS | MAX_PAGES | CACHE_SYMLINKS | ZERO_MESSAGE_OPENDIR | EXPLICIT_INVAL_DATA
[2023-08-02 06:24:09.430674 +00:00] INFO [src/bin/nydusd/main.rs:660] Fuse daemon started!
[2023-08-02 06:24:09.430995 +00:00] INFO [src/bin/nydusd/api_server_glue.rs:406] HTTP API server running at /var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock
[2023-08-02 06:24:09.431060 +00:00] INFO [api/src/http.rs:911] http server started
time="2023-08-02T06:24:09.519499967Z" level=info msg="Subscribe daemon ciihfebp913a8s9ud6ug liveness event, path=/var/lib/containerd-nydus/socket/ciihfebp913a8s9ud6ug/api.sock."
[2023-08-02 06:24:09.590061 +00:00] INFO [api/src/http.rs:816] <--- Get Uri { string: "/api/v1/daemon" }
[2023-08-02 06:24:09.590341 +00:00] INFO [api/src/http.rs:821] ---> Get Status Code: OK, Elapse: Ok(283.725µs), Body Size: 884
[2023-08-02 06:24:09.590454 +00:00] INFO [api/src/http.rs:816] <--- Get Uri { string: "/api/v1/daemon" }
[2023-08-02 06:24:09.590663 +00:00] INFO [api/src/http.rs:821] ---> Get Status Code: OK, Elapse: Ok(208.795µs), Body Size: 884
time="2023-08-02T06:24:09.590933612Z" level=info msg="nydusd command: /usr/local/bin/nydusd fuse --config /var/lib/containerd-nydus/config/cij3hd3p913a8s9ud70g/config.json --bootstrap /var/lib/containerd-nydus/snapshots/10021/fs/image/image.boot --mountpoint /var/lib/containerd-nydus/snapshots/10021/mnt --apisock /var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock --log-level info"
[2023-08-02 06:24:09.593191 +00:00] INFO [app/src/lib.rs:74] Program Version: v2.1.2, Git Commit: "820b3782e2ee98c085798558924a199b1a38bbe5", Build Time: "2022-12-12T10:07:02.301738788Z", Profile: "release", Rustc Version: "rustc 1.61.0 (fe5b13d68 2022-05-18)"
[2023-08-02 06:24:09.593256 +00:00] INFO [src/bin/nydusd/main.rs:514] Set rlimit-nofile to 1000000, maximum 1048576
[2023-08-02 06:24:09.593845 +00:00] INFO [rafs/src/metadata/md_v5.rs:30] rafs superblock features: DIGESTER_BLAKE3 | EXPLICIT_UID_GID | COMPRESS_ZSTD
[2023-08-02 06:24:09.594682 +00:00] INFO [storage/src/backend/connection.rs:263] backend config: ConnectionConfig { proxy: ProxyConfig { url: "", ping_url: "", fallback: false, check_interval: 5, use_http: false }, mirrors: [], skip_verify: false, timeout: 5, connect_timeout: 5, retry_limit: 2 }
[2023-08-02 06:24:09.627854 +00:00] INFO [src/bin/nydusd/fs_service.rs:206] Rafs imported
[2023-08-02 06:24:09.627936 +00:00] INFO [src/bin/nydusd/fs_service.rs:102] Rafs mounted at /
[2023-08-02 06:24:09.628040 +00:00] INFO [/cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/transport/fusedev/linux_session.rs:337] mount source rafs dest /var/lib/containerd-nydus/snapshots/10021/mnt with fstype fuse opts default_permissions,allow_other,fd=72,rootmode=40000,user_id=0,group_id=0 fd 72
[2023-08-02 06:24:09.628834 +00:00] INFO [src/bin/nydusd/daemon.rs:330] State machine(pid=5956): from Init to Ready, input [Mount], output [None]
[2023-08-02 06:24:09.628924 +00:00] INFO [src/bin/nydusd/daemon.rs:330] State machine(pid=5956): from Ready to Running, input [Start], output [Some(StartService)]
[2023-08-02 06:24:09.628964 +00:00] INFO [src/bin/nydusd/fusedev.rs:318] start 4 fuse servers
[2023-08-02 06:24:09.629286 +00:00] INFO [/cargo/registry/src/github.com-1ecc6299db9ec823/fuse-backend-rs-0.9.6/src/api/server/sync_io.rs:614] FUSE INIT major 7 minor 31
in_opts: ASYNC_READ | POSIX_LOCKS | ATOMIC_O_TRUNC | EXPORT_SUPPORT | BIG_WRITES | DONT_MASK | SPLICE_WRITE | SPLICE_MOVE | SPLICE_READ | FLOCK_LOCKS | HAS_IOCTL_DIR | AUTO_INVAL_DATA | DO_READDIRPLUS | READDIRPLUS_AUTO | ASYNC_DIO | WRITEBACK_CACHE | ZERO_MESSAGE_OPEN | PARALLEL_DIROPS | HANDLE_KILLPRIV | POSIX_ACL | ABORT_ERROR | MAX_PAGES | CACHE_SYMLINKS | ZERO_MESSAGE_OPENDIR | EXPLICIT_INVAL_DATA
out_opts: ASYNC_READ | BIG_WRITES | HAS_IOCTL_DIR | AUTO_INVAL_DATA | DO_READDIRPLUS | READDIRPLUS_AUTO | ASYNC_DIO | WRITEBACK_CACHE | ZERO_MESSAGE_OPEN | PARALLEL_DIROPS | MAX_PAGES | CACHE_SYMLINKS | ZERO_MESSAGE_OPENDIR | EXPLICIT_INVAL_DATA
[2023-08-02 06:24:09.629568 +00:00] INFO [src/bin/nydusd/main.rs:660] Fuse daemon started!
[2023-08-02 06:24:09.629837 +00:00] INFO [src/bin/nydusd/api_server_glue.rs:406] HTTP API server running at /var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock
[2023-08-02 06:24:09.673449 +00:00] INFO [api/src/http.rs:911] http server started
time="2023-08-02T06:24:09.722731153Z" level=info msg="Subscribe daemon cij3hd3p913a8s9ud70g liveness event, path=/var/lib/containerd-nydus/socket/cij3hd3p913a8s9ud70g/api.sock."
[2023-08-02 06:24:09.722997 +00:00] INFO [api/src/http.rs:816] <--- Get Uri { string: "/api/v1/daemon" }
time="2023-08-02T06:24:09.723537758Z" level=info msg="nydusd command: /usr/local/bin/nydusd fuse --config /var/lib/containerd-nydus/config/cj4bmcrp913fatblt8qg/config.json --bootstrap /var/lib/containerd-nydus/snapshots/10036/fs/image/image.boot --mountpoint /var/lib/containerd-nydus/snapshots/10036/mnt --apisock /var/lib/containerd-nydus/socket/cj4bmcrp913fatblt8qg/api.sock --log-level info"
[2023-08-02 06:24:09.723176 +00:00] INFO [api/src/http.rs:821] ---> Get Status Code: OK, Elapse: Ok(180.979µs), Body Size: 890
[2023-08-02 06:24:09.723274 +00:00] INFO [api/src/http.rs:816] <--- Get Uri { string: "/api/v1/daemon" }
[2023-08-02 06:24:09.723410 +00:00] INFO [api/src/http.rs:821] ---> Get Status Code: OK, Elapse: Ok(135.479µs), Body Size: 890
[2023-08-02 06:24:09.774004 +00:00] INFO [app/src/lib.rs:74] Program Version: v2.1.2, Git Commit: "820b3782e2ee98c085798558924a199b1a38bbe5", Build Time: "2022-12-12T10:07:02.301738788Z", Profile: "release", Rustc Version: "rustc 1.61.0 (fe5b13d68 2022-05-18)"
[2023-08-02 06:24:09.774091 +00:00] INFO [src/bin/nydusd/main.rs:514] Set rlimit-nofile to 1000000, maximum 1048576
[2023-08-02 06:24:09.774736 +00:00] ERROR [error/src/error.rs:21] Error:
"invalid super flags 1b4"
at rafs/src/metadata/md_v6.rs:46
note: enable `RUST_BACKTRACE=1` env to display a backtrace
[2023-08-02 06:24:09.774786 +00:00] ERROR [error/src/error.rs:21] Error:
Rafs(FillSuperblock(Os { code: 22, kind: InvalidInput, message: "Invalid argument" }))
at src/bin/nydusd/daemon.rs:140
note: enable `RUST_BACKTRACE=1` env to display a backtrace
[2023-08-02 06:24:09.774825 +00:00] ERROR [src/bin/nydusd/main.rs:664] Failed in starting daemon: Invalid argument (os error 22)
Error: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }
time="2023-08-02T06:24:12.805432046Z" level=error msg="Nydusd cj4bmcrp913fatblt8qg probably not started"
from nydus.
@Iamleos Sorry for the inconvenience, please take a look at the related FAQ here https://github.com/dragonflyoss/image-service/wiki/FAQ (search invalid super flags 1b4
), it seems you are using nydusd v2.1.2
, but it requires >= v2.1.4
.
from nydus.
@Iamleos Sorry for the inconvenience, please take a look at the related FAQ here https://github.com/dragonflyoss/image-service/wiki/FAQ (search
invalid super flags 1b4
), it seems you are using nydusdv2.1.2
, but it requires>= v2.1.4
.
Problem solved, thanks.
from nydus.
Related Issues (20)
- change repo name to nydus HOT 3
- failed to build image for targz-ref when use regular targz file HOT 1
- don't need to access backend when all filecache ready
- add a new args for nydus-image use to generate aligned blobcache file
- Organize docs to update outdated usage
- nydusd failover and live upgrade in fuse dev HOT 2
- Convert & Check Images work error HOT 4
- Use PR check tools to standardize the PR process HOT 1
- fix the failed fsck patch apply in CI
- prefetch cannot handle duplicated chunks in different inodes correctly HOT 1
- failed test coverage CI HOT 1
- nydusd can't mount with dummycache backend HOT 5
- feature request: replace benchamrk test from python to golang HOT 3
- Use P2P (Dragonfly2) for all image types HOT 1
- failed in the docker-env-setup experiment HOT 7
- how to remove image cache? HOT 12
- Unable to proxy or mirror images using Dragonfly2 HOT 4
- In fscache mode, nydusd panicked after prefetch done. HOT 3
- Builder: file dump order does not match prefetch list
- The sandbox.yaml reference in the containerd-env-setup.md document has issues HOT 3
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.