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

kbs and grpc-as service #487

Open
ccxiaop opened this issue Aug 29, 2024 · 1 comment
Open

kbs and grpc-as service #487

ccxiaop opened this issue Aug 29, 2024 · 1 comment

Comments

@ccxiaop
Copy link

ccxiaop commented Aug 29, 2024

On the physical machine, I run both kbs and grpc-as services. The following error is reported. How can I solve this problem?
thread 'main' panicked at attestation-service/src/rvps/store/local_fs/mod.rs:31:28:
Failed to create LocalFs Store.: IO error: could not acquire lock on "/opt/confidential-containers/attestation-service/reference_values/db": Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@Xynnn007
Copy link
Member

Try to use grpc-as version kbs and this would avoid the race condition.

Here is a quick deployment using docker-compose. https://github.com/confidential-containers/trustee/blob/main/kbs/docs/cluster.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants