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

Fail to use nydus-image check -v #1160

Closed
Desiki-high opened this issue Mar 20, 2023 · 4 comments · Fixed by #1166
Closed

Fail to use nydus-image check -v #1160

Desiki-high opened this issue Mar 20, 2023 · 4 comments · Fixed by #1166
Assignees
Labels
bug Something isn't working

Comments

@Desiki-high
Copy link
Member

Fail to use nydus-image check -v to get information on bootstrap
image
image: alpine:3.17.2
image build cmd: ./nydusify convert --source alpine:3.17.2 --target dockerhub.kubekey.local/dfns/alpine_nydus:3.17.2 --target-insecure --fs-version 5
nydusify build commit: 5472331
nydus-image build commit : 5472331
nydusd build commit: 5472331
config:
{
"device": {
"backend": {
"type": "registry",
"config": {
"scheme": "https",
"host": "dockerhub.kubekey.local",
"skip_verify": true,
"auth": ""
}
},
"cache": {
"type": "blobcache",
"config": {
"work_dir": "/var/lib/nydus/cache/"
}
}
},
"mode": "direct",
"digest_validate": false,
"iostats_files": true,
"enable_xattr": true,
"access_pattern": true,
"latest_read_files": true,
"amplify_io": 0,
"fs_prefetch": {
"enable": false,
"threads_count": 4,
"merging_size": 131072,
"bandwidth_rate": 1048576,
"prefetch_all": false
}
}

@Desiki-high
Copy link
Member Author

when use the nydus-image from https://github.com/dragonflyoss/image-service/releases/tag/v2.2.0 , it works fine

@imeoer imeoer added the bug Something isn't working label Mar 20, 2023
@imeoer
Copy link
Collaborator

imeoer commented Mar 20, 2023

cc @jiangliu It seems related to #1156.

@ccx1024cc ccx1024cc self-assigned this Mar 20, 2023
jiangliu added a commit to jiangliu/image-service that referenced this issue Mar 21, 2023
The nydus-image check for v5 uses some unimplemented methods of
InodeWrapper, which causes panicking at runtime.

Fixes: dragonflyoss#1160

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
jiangliu added a commit to jiangliu/image-service that referenced this issue Mar 21, 2023
The nydus-image check for v5 uses some unimplemented methods of
InodeWrapper, which causes panicking at runtime.

Fixes: dragonflyoss#1160

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
@jiangliu
Copy link
Collaborator

@imeoer Could we add some ci test cases to cover this?

@imeoer
Copy link
Collaborator

imeoer commented Mar 21, 2023

Could we add some ci test cases to cover this?

We can add one in the smoke test.

hangvane pushed a commit to hangvane/image-service that referenced this issue Apr 7, 2023
The nydus-image check for v5 uses some unimplemented methods of
InodeWrapper, which causes panicking at runtime.

Fixes: dragonflyoss#1160

Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
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

Successfully merging a pull request may close this issue.

4 participants