CI: test fuse manager by ktock · Pull Request #1914 · containerd/stargz-snapshotter (original) (raw)
marked this pull request as draft
ktock mentioned this pull request
ktock marked this pull request as ready for review
ktock marked this pull request as draft
ktock marked this pull request as ready for review
ktock marked this pull request as draft
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Add JSON tag to configuration fields. This is needed to send configuration to the fuse manager in JSON format. Without this change, some configuration struct passed to the FUSE manager were incorrectly unmarshalled and caused the test failure.
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Add "listen_path" field to the CRI Keychain config to specify a custom socket path for the CRI image service.
When the FUSE manager is disabled, this defaults to the containerd-stargz-grpc
path (/run/containerd-stargz-grpc/containerd-stargz-grpc.sock).
When the FUSE manager is enabled with CRI-based authentication, listen_path is
a mandatory field with some caveats:
This path must be different from the FUSE manager's socket path (
/run/containerd-stargz-grpc/fuse-manager.sock) because they have different lifecycle. Specifically, the CRI socket is recreted on each reload of the configuration to the FUSE manager.containerd-stargz-grpc's socket path (
/run/containerd-stargz-grpc/containerd-stargz-grpc.sock) can't be used aslisten_pathbecause the CRI socket is served by the FUSE manager process (not containerd-stargz-grpc process).
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
Signed-off-by: Kohei Tokunaga ktokunaga.mail@gmail.com
ktock marked this pull request as ready for review
ktock deleted the fuse-manager-tests branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})