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
posta 3 anni fa289 visualizzazioni
2 Risposte
0
Risposta accettata

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

con risposta 3 anni fa
0

Hi Fahad,
Thanks for the reply.

Best,
Madhav

Madhav
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande