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

Failed to start teaclave service #641

Closed
andyzyb opened this issue Mar 25, 2022 · 6 comments
Closed

Failed to start teaclave service #641

andyzyb opened this issue Mar 25, 2022 · 6 comments

Comments

@andyzyb
Copy link

andyzyb commented Mar 25, 2022

I failed to start the teaclave services as below.

Looks only "teaclave-execution-service exited with code 1" means failure?

I haven't configured IAS, is that the reason?


/dev/isgx device detected.
/var/run/aesmd/aesm.socket socket detected.
Error: No such volume: aesmd-socket
COMMAND: docker-compose -f docker-compose-ubuntu-1804.yml -f docker-compose-isgx-dev.override.yml -f docker-compose-aesm-socket.override.yml up
Starting teaclave-storage-service ... done
Starting teaclave-access-control-service ... done
Starting teaclave-file-service ... done
Starting teaclave-authentication-service ... done
Starting teaclave-scheduler-service ... done
Starting teaclave-execution-service ... done
Starting teaclave-management-service ... done
Starting teaclave-frontend-service ... done
Attaching to teaclave-storage-service, teaclave-scheduler-service, teaclave-access-control-service, teaclave-execution-service, teaclave-management-service, teaclave-authentication-service, teaclave-file-service, teaclave-frontend-service
teaclave-storage-service exited with code 0
teaclave-access-control-service exited with code 0
teaclave-scheduler-service exited with code 0
teaclave-execution-service exited with code 1
teaclave-authentication-service exited with code 0
teaclave-management-service exited with code 0
teaclave-frontend-service exited with code 0

@qinkunbao
Copy link
Member

qinkunbao commented Mar 25, 2022

Hi Andy, thank you for using Apache Teaclave.

Yes, you cannot start the service without setting up attestation services unless you build Teaclave in the simulation mode (cmake -DSGX_SIM_MODE=ON -DTEST_MODE=ON ..).

You can run export TEACLAVE_LOG=info before starting the services. It will enable the logs and provide more info.

@mssun
Copy link
Member

mssun commented Mar 25, 2022

Looks only "teaclave-execution-service exited with code 1" means failure?

In this case, the exit code may not help.

Seems that you are building for SGX hardware mode. For this mode, the service need to communicate with an attestation service (IAS or DCAP service depends on your setup).

If you can provide more information like building process and server setups, that will be very helpful.

@andyzyb
Copy link
Author

andyzyb commented Mar 28, 2022

Thanks for the reply. I will try to set up the Attestation service.

@andyzyb
Copy link
Author

andyzyb commented Mar 30, 2022

@qinkunbao no lucky with IAS setup (is there any proxy setting to be considered), where can I find the log?

@qinkunbao
Copy link
Member

@qinkunbao no lucky with IAS setup (is there any proxy setting to be considered), where can I find the log?

https://asciinema.org/a/9pStDa5jVGJegkAhXF1jZF74l

@andyzyb
Copy link
Author

andyzyb commented Apr 2, 2022

@qinkunbao thanks. Looks still a platform issue for attestation.

@andyzyb andyzyb closed this as completed Apr 2, 2022
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

3 participants