You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/06/09 18:29:11 UTC

[GitHub] [incubator-teaclave] romanumero opened a new issue #346: Error: Failed to new the enclave

romanumero opened a new issue #346:
URL: https://github.com/apache/incubator-teaclave/issues/346


   Running the command: (cd docker && docker-compose -f docker-compose-ubuntu-1804.yml up --build).  Device/volume mappings have been removed from docker-compose-ubuntu-1804.yml
   
   Results in the error:
   
   Successfully tagged docker_teaclave-execution-service:latest
   Starting teaclave-authentication-service ... done
   Starting teaclave-storage-service        ... done
   Starting teaclave-access-control-service ... done
   Starting teaclave-management-service     ... done
   Starting teaclave-scheduler-service      ... done
   Starting teaclave-execution-service      ... done
   Starting teaclave-frontend-service       ... done
   Attaching to teaclave-authentication-service, teaclave-access-control-service, teaclave-storage-service, teaclave-scheduler-service, teaclave-execution-service, teaclave-management-service, teaclave-frontend-service
   teaclave-authentication-service    | Error: Failed to new the enclave.
   teaclave-authentication-service    | 
   teaclave-authentication-service    | Caused by:
   teaclave-authentication-service    |     SgxError
   teaclave-access-control-service    | Error: Failed to new the enclave.
   teaclave-access-control-service    | 
   teaclave-access-control-service    | Caused by:
   teaclave-access-control-service    |     SgxError
   teaclave-execution-service         | Error: Failed to new the enclave.
   teaclave-execution-service         | 
   teaclave-execution-service         | Caused by:
   teaclave-execution-service         |     SgxError
   teaclave-access-control-service exited with code 1
   teaclave-execution-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         |     SgxError
   teaclave-management-service        | Error: Failed to new the enclave.
   teaclave-management-service        | 
   teaclave-management-service        | Caused by:
   teaclave-management-service        |     SgxError
   teaclave-storage-service           | Error: Failed to new the enclave.
   teaclave-storage-service           | 
   teaclave-storage-service           | Caused by:
   teaclave-storage-service           |     SgxError
   teaclave-scheduler-service exited with code 1
   teaclave-management-service exited with code 1
   teaclave-storage-service exited with code 1
   teaclave-frontend-service          | Error: Failed to new the enclave.
   teaclave-frontend-service          | 
   teaclave-frontend-service          | Caused by:
   teaclave-frontend-service          |     SgxError
   teaclave-authentication-service exited with code 1
   teaclave-frontend-service exited with code 1
   
   OS :Ubuntu 18.04 64-bit
   CPU: 3.1 GHz Intel ® Xeon ® Platinum 8269 (Cascade Lake) 
   Cloud Provider: Alibaba Cloud (ecs.hfr6); SGX enabled


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun edited a comment on issue #346: Error: Failed to new the enclave

Posted by GitBox <gi...@apache.org>.
mssun edited a comment on issue #346:
URL: https://github.com/apache/incubator-teaclave/issues/346#issuecomment-641505307


   Thanks for the report.
   
   If you want to use in the simulation mode, please configure with cmake `-DSGX_SIM_MODE=ON` when building the platform. Please see this [document](https://github.com/apache/incubator-teaclave/blob/master/docs/my-first-function.md#simulation-mode) for more about simulation mode. Otherwise, you don't have to remove SGX device mapping in the docker compose file.
   
   Seems that you built the platform in hardware mode, but removed the essential device mappings of SGX from the docker container. That's why you got the `SgxError` when start an SGX enclave (in hardware mode).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #346: Error: Failed to new the enclave

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #346:
URL: https://github.com/apache/incubator-teaclave/issues/346#issuecomment-641505307


   Thanks for the report.
   
   If you want to use in the simulation mode, please configure with cmake `-DSGX_SIM_MODE=ON` when building the platform. Otherwise, you don't have to remove SGX device mapping in the docker compose file.
   
   Seems that you built the platform in hardware mode, but removed the essential device mappings of SGX from the docker container. That's why you got the `SgxError` when start an SGX enclave (in hardware mode).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] romanumero commented on issue #346: Error: Failed to new the enclave

Posted by GitBox <gi...@apache.org>.
romanumero commented on issue #346:
URL: https://github.com/apache/incubator-teaclave/issues/346#issuecomment-641570161


   This worked! Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] romanumero closed issue #346: Error: Failed to new the enclave

Posted by GitBox <gi...@apache.org>.
romanumero closed issue #346:
URL: https://github.com/apache/incubator-teaclave/issues/346


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org