Hello,
I am trying to make a mender artifact from the raspberry image that I have updated with some applications and packages.
I made the mender-artifact and when try to deploy on the other raspberry pi, I am getting this error:
2022-05-18 19:13:08 +0000 UTC info: Running Mender client version: 3.2.1
2022-05-18 19:13:09 +0000 UTC warning: RetryPollIntervalSeconds is not defined
2022-05-18 19:13:09 +0000 UTC info: State transition: update-fetch [Download_Enter] → update-store [Download_Enter]
2022-05-18 19:13:10 +0000 UTC info: No public key was provided for authenticating the artifact
2022-05-18 19:13:10 +0000 UTC info: Opening device “/dev/mmcblk0p3” for writing
2022-05-18 19:13:10 +0000 UTC info: Native sector size of block device /dev/mmcblk0p3 is 512 bytes. Mender will write in chunks of 1048576 bytes
2022-05-18 19:19:11 +0000 UTC info: All bytes were successfully written to the new partition
2022-05-18 19:19:11 +0000 UTC info: The optimized block-device writer wrote a total of 3893 frames, where 2848 frames did need to be rewritten (i.e., skipped)
2022-05-18 19:19:11 +0000 UTC info: Wrote 4081057792/4081057792 bytes to the inactive partition
2022-05-18 19:19:11 +0000 UTC info: State transition: update-store [Download_Enter] → update-after-store [Download_Leave]
2022-05-18 19:19:11 +0000 UTC info: State transition: update-after-store [Download_Leave] → mender-update-control-refresh-maps [none]
2022-05-18 19:19:11 +0000 UTC info: Validating the Update Info: https://s3.amazonaws.com/hosted-mender-artifacts/627d2cd241197fdb3b421b7b/82957954-1c15-4175-adeb-395ca3343b36?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6NDALMYE2%2F20220518%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220518T191911Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=aecb061b628bf6961fcb9f29f107d63af11fc6fd07fec4df43980ac01ee4d899 [name: AF-photon-2.0.4-golden-image1; devices: [raspberrypi4]]
2022-05-18 19:19:11 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] → mender-update-control [none]
2022-05-18 19:19:11 +0000 UTC info: State transition: mender-update-control [none] → update-install [ArtifactInstall]
2022-05-18 19:19:11 +0000 UTC info: Enabling partition with new image installed to be a boot candidate: 3
2022-05-18 19:19:11 +0000 UTC info: State transition: update-install [ArtifactInstall] → mender-update-control-refresh-maps [none]
2022-05-18 19:19:11 +0000 UTC error: Error receiving scheduled update data: failed to check update info on the server. Response: &{429 Too Many Requests 429 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[0] Content-Type:[application/json; charset=utf-8] Date:[Wed, 18 May 2022 19:19:11 GMT] X-Men-Requestid:[921176f6-d860-4653-a7cb-c4c92fe147fa]] 0xfd6020 0 false false map 0xd0b000 }
2022-05-18 19:19:11 +0000 UTC error: Update control map check failed: transient error: failed to check update info on the server. Response: &{429 Too Many Requests 429 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[0] Content-Type:[application/json; charset=utf-8] Date:[Wed, 18 May 2022 19:19:11 GMT] X-Men-Requestid:[921176f6-d860-4653-a7cb-c4c92fe147fa]] 0xfd6020 0 false false map 0xd0b000 }, retrying…
2022-05-18 19:19:11 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] → mender-update-control-retry-refresh-maps [none]
2022-05-18 19:19:11 +0000 UTC warning: UpdatePollIntervalSeconds is not defined
2022-05-18 19:19:11 +0000 UTC info: Wait 1m0s before next update control map fetch/update attempt
2022-05-18 19:20:12 +0000 UTC info: State transition: mender-update-control-retry-refresh-maps [none] → mender-update-control-refresh-maps [none]
2022-05-18 19:20:12 +0000 UTC info: Validating the Update Info: https://s3.amazonaws.com/hosted-mender-artifacts/627d2cd241197fdb3b421b7b/82957954-1c15-4175-adeb-395ca3343b36?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQWI25QR6NDALMYE2%2F20220518%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220518T192012Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=b23dccf07a8d110ca16b164e5f98640de0b1aaf00c78dce12f45ef3c9274dc32 [name: AF-photon-2.0.4-golden-image1; devices: [raspberrypi4]]
2022-05-18 19:20:12 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] → mender-update-control [none]
2022-05-18 19:20:12 +0000 UTC info: State transition: mender-update-control [none] → reboot [ArtifactReboot_Enter]
2022-05-18 19:20:13 +0000 UTC info: Rebooting device(s)
2022-05-18 19:20:13 +0000 UTC info: Mender rebooting from active partition: /dev/mmcblk0p2
2022-05-18 19:20:14 +0000 UTC info: Daemon terminated with SIGTERM
2022-05-18 14:58:31 +0000 UTC info: Running Mender client version: 3.2.1
2022-05-18 14:58:31 +0000 UTC info: State transition: init [none] → after-reboot [ArtifactReboot_Leave]
2022-05-18 14:58:31 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] → after-reboot [ArtifactReboot_Leave]
2022-05-18 14:58:31 +0000 UTC info: State transition: after-reboot [ArtifactReboot_Leave] → mender-update-control-refresh-maps [none]
2022-05-18 14:58:31 +0000 UTC info: Device unauthorized; attempting reauthorization
2022-05-18 14:58:31 +0000 UTC info: Output (stderr) from command “/usr/share/mender/identity/mender-device-identity”: using interface /sys/class/net/eth0
2022-05-18 19:20:47 +0000 UTC info: successfully received new authorization data from server https://hosted.mender.io
2022-05-18 19:20:48 +0000 UTC info: Local proxy started
2022-05-18 19:20:48 +0000 UTC info: Reauthorization successful
2022-05-18 19:20:49 +0000 UTC error: Error receiving scheduled update data: failed to check update info on the server. Response: &{409 Conflict 409 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[104] Content-Type:[application/json; charset=utf-8] Date:[Wed, 18 May 2022 19:20:49 GMT] Referrer-Policy:[no-referrer] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Men-Requestid:[98ded8a0-338a-4c6b-95db-d2443b20299b] X-Xss-Protection:[1; mode=block]] 0x1da6090 104 [] false false map[] 0x1cd2080 }
2022-05-18 19:20:49 +0000 UTC error: Update control map check failed: transient error: failed to check update info on the server. Response: &{409 Conflict 409 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[104] Content-Type:[application/json; charset=utf-8] Date:[Wed, 18 May 2022 19:20:49 GMT] Referrer-Policy:[no-referrer] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Men-Requestid:[98ded8a0-338a-4c6b-95db-d2443b20299b] X-Xss-Protection:[1; mode=block]] 0x1da6090 104 false false map 0x1cd2080 }, retrying…
2022-05-18 19:20:49 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] → mender-update-control-retry-refresh-maps [none]
2022-05-18 19:20:49 +0000 UTC warning: UpdatePollIntervalSeconds is not defined
2022-05-18 19:20:49 +0000 UTC info: Wait 1m0s before next update control map fetch/update attempt
2022-05-18 19:21:49 +0000 UTC info: State transition: mender-update-control-retry-refresh-maps [none] → mender-update-control-refresh-maps [none]
2022-05-18 19:21:50 +0000 UTC error: transient error: The deployment was aborted from the server
2022-05-18 19:21:50 +0000 UTC info: State transition: mender-update-control-refresh-maps [none] → rollback [ArtifactRollback]
2022-05-18 19:21:50 +0000 UTC info: Performing rollback
2022-05-18 19:21:50 +0000 UTC info: Rolling back to the inactive partition (2).
2022-05-18 19:21:50 +0000 UTC info: State transition: rollback [ArtifactRollback] → rollback-reboot [ArtifactRollbackReboot_Enter]
2022-05-18 19:21:50 +0000 UTC info: Rebooting device(s) after rollback
2022-05-18 19:21:50 +0000 UTC info: Mender rebooting from inactive partition: /dev/mmcblk0p3
2022-05-18 19:21:50 +0000 UTC info: Daemon terminated with SIGTERM
2022-05-18 19:20:26 +0000 UTC info: Running Mender client version: 3.2.1
2022-05-18 19:20:26 +0000 UTC info: Mender shut down in state: rollback-reboot
2022-05-18 19:20:26 +0000 UTC info: State transition: init [none] → verify-rollback-reboot [ArtifactRollbackReboot_Leave]
2022-05-18 19:20:26 +0000 UTC info: State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] → after-rollback-reboot [ArtifactRollbackReboot_Leave]
2022-05-18 19:20:26 +0000 UTC info: State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] → update-error [ArtifactFailure]
2022-05-18 19:20:26 +0000 UTC info: State transition: update-error [ArtifactFailure] → cleanup [Error]
2022-05-18 19:20:26 +0000 UTC info: State transition: cleanup [Error] → update-status-report [none]
2022-05-18 19:20:26 +0000 UTC info: Device unauthorized; attempting reauthorization
2022-05-18 19:20:26 +0000 UTC info: Output (stderr) from command “/usr/share/mender/identity/mender-device-identity”: using interface /sys/class/net/eth0
2022-05-18 19:22:29 +0000 UTC info: successfully received new authorization data from server https://hosted.mender.io
2022-05-18 19:22:29 +0000 UTC info: Local proxy started
2022-05-18 19:22:29 +0000 UTC info: Reauthorization successful
- Can you please let me know what does this mean?
- The SSH was disabled before making the artifact from the raspberrypi image? do you think that is creating some issue?
I will wait for your reply.
Thanks,
Bhavisha Parmar