Deployment fail after restarting the core device using bootstrap exit code

0

During the deployment of the components one of the components requires the restart the core device(raspberrypi) so we're using the bootstrap exit 101 inside the component script to accomplish that task but after the device restarted the deployment status is getting failed.

We have tried the deployment without the restart option in that case the deployment is getting successfully completed.

Below is the link to the logs files to the failure deployment : https://pastebin.com/vNCXvPwn

Thanks,
Madhav

Madhav
已提问 3 年前289 查看次数
2 回答
0
已接受的回答

Hi Madhav,

Thanks for reporting this issue. There is a bug in all released versions of greengrass where the exit code 101 may not work when used in a bootstrap script to signal that the device should restart. Apparently it 'may' work depending on timing of when the loader script executes, but it is "mostly broken".

We have already fixed this issue (link below) which will be released as part of 2.5. For all the released versions this will be fixed with the next patch version.

Pull request that fixes the issue: https://github.com/aws-greengrass/aws-greengrass-nucleus/pull/1041

Best,
Fahad

已回答 3 年前
0

Hi Fahad,
Thanks for the reply.

Best,
Madhav

Madhav
已回答 3 年前

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

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

回答问题的准则

相关内容