Transient error: Forced a failed update

Hi!

I’ve been working through the Mender tutorials and am trying to perform an OTA update of our application software through hosted.mender.io as a simple proof of concept. I have installed mender-client on a local VM and have been able to successfully update the application binary on the VM to a newer version by creating a new release using mender-artifact and initiating the deployment through the hosted Mender frontend. However, I’ve seen the deployment occasionally fail for reasons that are unclear to me (failure logs copied below). When I’ve seen this failure, I’ve been able to recreate the deployment exactly and have it go through successfully so I’m not quite sure what the source of the problem is. If there is more context I can provide that will help diagnose this let me know.

2021-10-20 15:23:11 +0000 UTC info: Running Mender client version: 3.1.0
2021-10-20 15:23:14 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2021-10-20 15:23:15 +0000 UTC info: No public key was provided for authenticating the artifact
2021-10-20 15:23:15 +0000 UTC info: State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]
2021-10-20 15:23:15 +0000 UTC info: State transition: update-after-store [Download_Leave] -> mender-update-control [none]
2021-10-20 15:23:15 +0000 UTC info: Update Control: Forced update failure in update-install state
2021-10-20 15:23:15 +0000 UTC error: transient error: Forced a failed update
2021-10-20 15:23:15 +0000 UTC info: State transition: mender-update-control [none] -> rollback [ArtifactRollback]
2021-10-20 15:23:15 +0000 UTC info: Performing rollback
2021-10-20 15:23:15 +0000 UTC info: State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]
2021-10-20 15:23:15 +0000 UTC info: State transition: update-error [ArtifactFailure] -> cleanup [Error]
2021-10-20 15:23:15 +0000 UTC info: State transition: cleanup [Error] -> update-status-report [none]

This is a known issue. Unfortunately the bug has not been fixed yet, but there is a workaround described here.

1 Like

Thanks for the response @kacf!