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년 전288회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠