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
demandé il y a 3 ans288 vues
2 réponses
0
Réponse acceptée

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

répondu il y a 3 ans
0

Hi Fahad,
Thanks for the reply.

Best,
Madhav

Madhav
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions