Rollback when attempting to install an image with mender-client 3.2.1 into an image with 2.6.1

I tried to install an image with mender-client 3.2.1 into an image with 2.6.1.

When the image with mender-client 3.2.1 starts, it performs a rollback:

2022-03-19 15:24:01 +0000 UTC info: Local proxy started
2022-03-19 15:24:01 +0000 UTC info: Reauthorization successful
2022-03-19 15:24:02 +0000 UTC info: Validating the Update Info: https://s3.amazonaws.com/hosted-mender-artifacts/5fce1dd57373233091fb8967/975ea6e0-7c13-4222-8dfa-9a9fe22922b5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6NDALMYE2%2F20220319%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220319T152402Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=000bb08169033c5b2342a7de0002fd257f0578db6272cab9ccb15acabbd1e6ed [name: cpu01-edgefarm-devtools-dirty_0.1.0-39.mender_3.2.klaus.20220319.1515-dev; devices: [moducop-cpu01]]
2022-03-19 15:24:02 +0000 UTC info: Attempting to upgrade to currently installed artifact name, not performing upgrade.
2022-03-19 15:24:02 +0000 UTC error: Update control map check failed: transient error: file already exists, retrying...
2022-03-19 15:24:02 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] -> mender-update-control-retry-refresh-maps [none]
2022-03-19 15:24:02 +0000 UTC info: Wait 1m0s before next update control map fetch/update attempt
2022-03-19 15:25:02 +0000 UTC info: State transition: mender-update-control-retry-refresh-maps [none] -> mender-update-control-refresh-maps [none]
2022-03-19 15:25:02 +0000 UTC info: Validating the Update Info: https://s3.amazonaws.com/hosted-mender-artifacts/5fce1dd57373233091fb8967/975ea6e0-7c13-4222-8dfa-9a9fe22922b5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6NDALMYE2%2F20220319%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220319T152502Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=710f845a5c550fcbae8a2040066418b75c6152f3655c9257800aeae9f1f39c92 [name: cpu01-edgefarm-devtools-dirty_0.1.0-39.mender_3.2.klaus.20220319.1515-dev; devices: [moducop-cpu01]]
2022-03-19 15:25:02 +0000 UTC info: Attempting to upgrade to currently installed artifact name, not performing upgrade.
2022-03-19 15:25:02 +0000 UTC error: Update control map check failed: transient error: file already exists, retrying...
2022-03-19 15:25:02 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] -> mender-update-control-retry-refresh-maps [none]
2022-03-19 15:25:02 +0000 UTC info: Wait 1m0s before next update control map fetch/update attempt
2022-03-19 15:26:02 +0000 UTC info: State transition: mender-update-control-retry-refresh-maps [none] -> mender-update-control-refresh-maps [none]
2022-03-19 15:26:02 +0000 UTC info: Validating the Update Info: https://s3.amazonaws.com/hosted-mender-artifacts/5fce1dd57373233091fb8967/975ea6e0-7c13-4222-8dfa-9a9fe22922b5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6NDALMYE2%2F20220319%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220319T152602Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=0569517f8c074ee3c6840b35c25b2f9960e05587e5132c135a61598069491a2f [name: cpu01-edgefarm-devtools-dirty_0.1.0-39.mender_3.2.klaus.20220319.1515-dev; devices: [moducop-cpu01]]
2022-03-19 15:26:02 +0000 UTC info: Attempting to upgrade to currently installed artifact name, not performing upgrade.
2022-03-19 15:26:02 +0000 UTC error: Update control map check failed: transient error: file already exists, retrying...
2022-03-19 15:26:02 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] -> mender-update-control-retry-refresh-maps [none]
2022-03-19 15:26:02 +0000 UTC error: transient error: Tried maximum amount of times
2022-03-19 15:26:02 +0000 UTC info: State transition: mender-update-control-retry-refresh-maps [none] -> rollback [ArtifactRollback]
2022-03-19 15:26:02 +0000 UTC info: Performing rollback
2022-03-19 15:26:02 +0000 UTC info: Rolling back to the inactive partition (2).
2022-03-19 15:26:02 +0000 UTC info: State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]
2022-03-19 15:26:02 +0000 UTC info: Rebooting device(s) after rollback

Any hints what is going wrong? Which “file already exists”?

Have similar issue but I’m already on 3.2.1 mender client version. I’ve enabled debug mode and see error:

Update control map check failed: transient error: file already exists, retrying...

Any ideas what can cause that? Thanks.

Hey,
though it’s not the same error message it seems to point in the direction of a known issue.
Can you please confirm that the following workaround doesn’t resolve the issue?