apache / incubator-teaclave

Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.
https://teaclave.apache.org
Apache License 2.0
766 stars 159 forks source link

Error: Failed to new the enclave. #631

Open Lio101 opened 2 years ago

Lio101 commented 2 years ago

Hi, I am getting error when running ./run-teaclave-services.sh.

Platform: Azure CC VM OS: Ubuntu 18.04 Docker Image used: teaclave-build-ubuntu-1804-sgx-dcap-1.11:0.1.5

Error: ~/incubator-teaclave/docker$ ./run-teaclave-services.sh /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 Recreating teaclave-authentication-service ... done Recreating teaclave-access-control-service ... done Recreating teaclave-storage-service ... done Starting teaclave-file-service ... done Recreating teaclave-scheduler-service ... done Recreating teaclave-management-service ... done Recreating teaclave-execution-service ... done Recreating teaclave-frontend-service ... done Attaching to teaclave-file-service, teaclave-access-control-service, teaclave-storage-service, teaclave-authentication-service, teaclave-scheduler-service, teaclave-management-service, teaclave-execution-service, teaclave-frontend-service teaclave-authentication-service | Error: Failed to new the enclave. teaclave-authentication-service | teaclave-authentication-service | Caused by: teaclave-authentication-service | found SGX error: SGX_ERROR_UNEXPECTED teaclave-access-control-service | Error: Failed to new the enclave. teaclave-access-control-service | teaclave-access-control-service | Caused by: teaclave-access-control-service | found SGX error: SGX_ERROR_UNEXPECTED teaclave-authentication-service exited with code 1 teaclave-access-control-service exited with code 1 teaclave-management-service | Error: Failed to new the enclave. teaclave-management-service | teaclave-management-service | Caused by: teaclave-management-service | found SGX error: SGX_ERROR_UNEXPECTED teaclave-storage-service | Error: Failed to new the enclave. teaclave-storage-service | teaclave-storage-service | Caused by: teaclave-storage-service | found SGX error: SGX_ERROR_UNEXPECTED teaclave-storage-service exited with code 1 teaclave-management-service exited with code 1 teaclave-scheduler-service | Error: Failed to new the enclave. teaclave-scheduler-service | teaclave-scheduler-service | Caused by: teaclave-scheduler-service | found SGX error: SGX_ERROR_UNEXPECTED teaclave-scheduler-service exited with code 1 teaclave-execution-service | Error: Failed to new the enclave. teaclave-execution-service | teaclave-execution-service | Caused by: teaclave-execution-service | found SGX error: SGX_ERROR_SERVICE_UNAVAILABLE teaclave-frontend-service | Error: Failed to new the enclave. teaclave-frontend-service | teaclave-frontend-service | Caused by: teaclave-frontend-service | found SGX error: SGX_ERROR_SERVICE_UNAVAILABLE teaclave-execution-service exited with code 1 teaclave-frontend-service exited with code 1 ^Z [1]+ Stopped ./run-teaclave-services.sh

I am following the instructions from: https://teaclave.apache.org/docs/azure-confidential-computing/ , just changed the docker image to use DCAP.