Unable to deploy ggv2 component locally

0

Hi there,

I try to test my component locally, I have this AWS_ERROR_SUCCESS, what is this error btw ?

sudo /greengrass/v2/bin/greengrass-cli deployment create  --recipeDir ~/Desktop/ms5/greengrass-build/recipes  --artifactDir ~/Desktop/ms5/greengrass-build/artifacts --merge ms5=1.0.0
Mar 30, 2022 4:41:56 PM software.amazon.awssdk.eventstreamrpc.EventStreamRPCConnection$1 onConnectionSetup
INFO: Socket connection /greengrass/v2/ipc.socket:8033 to server result [AWS_ERROR_SUCCESS]
Mar 30, 2022 4:41:56 PM software.amazon.awssdk.eventstreamrpc.EventStreamRPCConnection$1 onProtocolMessage
INFO: Connection established with event stream RPC server
Local deployment submitted! Deployment Id: 7a45ceaf-8a5b-4c80-9c7e-cf74f4a35344
 sudo /greengrass/v2/bin/greengrass-cli deployment status -i 7a45ceaf-8a5b-4c80-9c7e-cf74f4a35344
Mar 30, 2022 4:42:48 PM software.amazon.awssdk.eventstreamrpc.EventStreamRPCConnection$1 onConnectionSetup
INFO: Socket connection /greengrass/v2/ipc.socket:8033 to server result [AWS_ERROR_SUCCESS]
Mar 30, 2022 4:42:48 PM software.amazon.awssdk.eventstreamrpc.EventStreamRPCConnection$1 onProtocolMessage
INFO: Connection established with event stream RPC server
7a45ceaf-8a5b-4c80-9c7e-cf74f4a35344: FAILED
已提問 2 年前檢視次數 528 次
1 個回答
1
已接受的答案

Hi. AWS_ERROR_SUCCESS means success. It's not an error.

https://catalog.us-east-1.prod.workshops.aws/workshops/5ecc2416-f956-4273-b729-d0d30556013f/en-US/chapter8-tips-troubleshoot#tip6.-i'm-seeing-aws_error_success

https://github.com/awslabs/aws-c-common/blob/eb4cff6d50222a5352efd4f761563348bc1ecd1d/include/aws/common/error.h#L144

To know more about the cause of your deployment failure, you will need to look in either greengrass.log or the component's log file.

profile pictureAWS
專家
Greg_B
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南