无法在本地部署 greengrassv2组件

0

【以下的问题经过翻译处理】 你好,

我正在尝试在本地测试我的组件,但是遇到了 AWS_ERROR_SUCCESS 错误,这是什么错误呢?

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

谢谢。

profile picture
专家
已提问 7 个月前23 查看次数
1 回答
0

【以下的回答经过翻译处理】 嗨。AWS_ERROR_SUCCESS表示成功。这不是一个错误。

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

要了解部署失败的原因,您需要查看greengrass.log或组件的日志文件。

profile picture
专家
已回答 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则