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

capsule_manager_grpc 无法使用 #35

Closed
markzhimm opened this issue Nov 27, 2024 · 7 comments
Closed

capsule_manager_grpc 无法使用 #35

markzhimm opened this issue Nov 27, 2024 · 7 comments

Comments

@markzhimm
Copy link

/home/admin# ./capsule_manager_grpc --tls_config.enable_tls false
ST, HZ
OU, SecretFlow
L, HZ
C, CN
O, AntGroup
CN, CapsuleManager
[2024-11-27 07:32:11.263] [info] [csv_generator.cc:116] Start generating csv report
thread 'main' panicked at bin/grpc-as/src/main.rs:108:6:
capsule_manager init error: Error { code: InternalErr, details: Some("runified_attestation_generate_auth_report err: "[Enforce fail at trustflow/attestation/generation/csv/csv_generator.cc:131] csv_fd >= 0. -1 vs 0.Fail to open /dev/csv-guest\0""), location: Some(ErrorLocation { line: 261, file: "capsule-manager/src/server.rs" }) }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@zhongtianq
Copy link
Collaborator

csv模式需要在海光的CSV虚拟机中运行,看报错信息你的运行环境存在问题,没有 /dev/csv-guest这个设备。

@zhongtianq
Copy link
Collaborator

可以参考https://www.secretflow.org.cn/zh-CN/docs/trustflow/main/quick_start/step1#id9 进行海光csv-guest驱动的编译安装

@markzhimm
Copy link
Author

必须运行在csv虚机中吗?我是海光3号cpu,在虚机外可以运行吗?另外csv-guest的驱动实在宿主机上,还是虚机里?谢谢

@zhongtianq
Copy link
Collaborator

你好。必须在csv虚拟机中的,只有csv虚拟机是tee环境,宿主机是没有tee的安全保障的。驱动也是安装在虚拟机中

@markzhimm
Copy link
Author

你好,sdk的容器不需要再csv虚机中运行吧?

@zhongtianq
Copy link
Collaborator

sdk的不需要。

Copy link

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 5, 2025
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

2 participants