MAAS stuck in downloading images

Im using maas 3.6,
installed by
sudo snap install maas,
sudo snap install maas-test-db
maas init

maascpu1:~$ sudo maas status

Service Startup Current Since
agent disabled active today at 17:32 UTC
apiserver enabled active today at 17:32 UTC
bind9 disabled active today at 17:32 UTC
dhcpd disabled inactive -
dhcpd6 disabled inactive -
http disabled active today at 17:32 UTC
ntp disabled active today at 17:32 UTC
proxy disabled inactive -
rackd enabled active today at 17:32 UTC
regiond enabled active today at 17:32 UTC
syslog disabled active today at 17:32 UTC
temporal disabled active today at 17:32 UTC
temporal-worker disabled active today at 17:32 UTC

maascpu1:~$ sudo snap list
Name Version Rev Tracking Publisher Notes
core22 20250408 1963 latest/stable canonical✓ base
core24 20250504 988 latest/stable canonical✓ base
maas 3.6.0-17541-g.561fe1a3e 39328 3.6/stable canonical✓ -
maas-test-db 16.6-34-g.9c27046 185 3.6/stable canonical✓ -
snapd 2.68.4 24505 latest/stable canonical✓ snapd

when i see logs,
sudo journalctl -u snap.maas.pebble.service -e
May 29 18:09:41 maascpu1 maas-regiond[61130]: maasserver.ipc: [info] Worker pid:61173 registered RPC connection to (‘fgka3f’, ‘172.21.0.5’, 5252).
May 29 18:09:42 maascpu1 maas-regiond[61130]: provisioningserver.utils.services: [critical] Beaconing process for ens6f0np0 failed.
May 29 18:09:42 maascpu1 maas-regiond[61130]: Traceback (most recent call last):
May 29 18:09:42 maascpu1 maas-regiond[61130]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ende>
May 29 18:09:42 maascpu1 maas-regiond[61130]:
May 29 18:09:51 maascpu1 maas-rackd[61134]: ClusterClient,client: [info] ClusterClient connection lost (HOST:IPv6Address(type=‘TCP’, host=‘::ffff:172.21.0.5’, port=52232,>
May 29 18:09:51 maascpu1 maas-regiond[61172]: RegionServer,5,::ffff:172.21.0.5: [info] RegionServer connection lost (HOST:IPv6Address(type=‘TCP’, host=‘::ffff:172.21.0.5’>
May 29 18:09:51 maascpu1 maas-rackd[61134]: ClusterClient,client: [info] ClusterClient connection lost (HOST:IPv6Address(type=‘TCP’, host=‘::ffff:172.21.0.5’, port=52236,>
May 29 18:09:51 maascpu1 maas-regiond[61172]: RegionServer,6,::ffff:172.21.0.5: [info] RegionServer connection lost (HOST:IPv6Address(type=‘TCP’, host=‘::ffff:172.21.0.5’>
May 29 18:09:51 maascpu1 maas-regiond[61130]: maasserver.ipc: [info] Worker pid:61172 lost burst connection to (‘172.21.0.5’, 5253).
May 29 18:09:51 maascpu1 maas-regiond[61130]: maasserver.ipc: [info] Worker pid:61172 lost burst connection to (‘172.21.0.5’, 5253).
May 29 18:09:52 maascpu1 maas-log[61285]: maas.rpc.rackcontrollers: [info] Existing rack controller ‘maascpu1’ running version 3.6.0-17541-g.561fe1a3e has connected to re>
May 29 18:09:52 maascpu1 maas-http[61285]: 172.21.0.5 - - [29/May/2025:18:09:52 +0000] “GET /MAAS/rpc/ HTTP/1.1” 200 200 “-” "provisioningserver.rpc.clusterservice.Clust>
May 29 18:10:06 maascpu1 maas-regiond[61174]: regiond: [info] 127.0.0.1 GET /MAAS/accounts/login/ HTTP/1.1 → 200 OK (referrer: http://172.21.0.5:5240/MAAS/r/images; age>
May 29 18:10:06 maascpu1 maas-http[61285]: 10.10.80.6 - - [29/May/2025:18:10:06 +0000] “GET /MAAS/accounts/login/ HTTP/1.1” 200 69 “http://172.21.0.5:5240/MAAS/r/images”>
May 29 18:10:07 maascpu1 maas-regiond[61130]: temporalio.activity: [warn] Completing activity as failed ({‘activity_id’: ‘1’, ‘activity_type’: ‘download-bootresourcefile’>
May 29 18:10:07 maascpu1 maas-regiond[61130]: Traceback (most recent call last):
May 29 18:10:07 maascpu1 maas-regiond[61130]: File “/snap/maas/39328/usr/lib/python3/dist-packages/temporalio/worker/_activity.py”, line 453, in _run_activity
May 29 18:10:07 maascpu1 maas-regiond[61130]: result = await impl.execute_activity(input)
May 29 18:10:07 maascpu1 maas-regiond[61130]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 29 18:10:07 maascpu1 maas-regiond[61130]: File “/snap/maas/39328/usr/lib/python3/dist-packages/temporalio/worker/_activity.py”, line 711, in execute_activity
May 29 18:10:07 maascpu1 maas-regiond[61130]: return await input.fn(*input.args)
May 29 18:10:07 maascpu1 maas-regiond[61130]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 29 18:10:07 maascpu1 maas-regiond[61130]: File “/snap/maas/39328/lib/python3.12/site-packages/maasserver/workflow/bootresource.py”, line 253, in download_bootresour>
May 29 18:10:07 maascpu1 maas-regiond[61130]: raise ApplicationError(
May 29 18:10:07 maascpu1 maas-regiond[61130]: temporalio.exceptions.ApplicationError: ClientOSError: Connection reset by peer
May 29 18:10:07 maascpu1 maas-regiond[61130]: temporalio.activity: [warn] Completing activity as failed ({‘activity_id’: ‘1’, ‘activity_type’: ‘download-bootresourcefile’>
May 29 18:10:07 maascpu1 maas-regiond[61130]: Traceback (most recent call last):
May 29 18:10:07 maascpu1 maas-regiond[61130]: File “/snap/maas/39328/usr/lib/python3/dist-packages/temporalio/worker/_activity.py”, line 453, in _run_activity
May 29 18:10:07 maascpu1 maas-regiond[61130]: result = await impl.execute_activity(input)
May 29 18:10:07 maascpu1 maas-regiond[61130]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 29 18:10:07 maascpu1 maas-regiond[61130]: File “/snap/maas/39328/usr/lib/python3/dist-packages/temporalio/worker/_activity.py”, line 711, in execute_activity
May 29 18:10:07 maascpu1 maas-regiond[61130]: return await input.fn(*input.args)
May 29 18:10:07 maascpu1 maas-regiond[61130]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^

ps: maas 3.4 can work normally, maas 3.6 never succeeded to download images, sometime it also stuck with region controller importing, anything i can do ?

Today images.maas.io is not doing great. Just click “update” on the UI and the job will be restarted

hi, thank you for quick reply.
i think the problem is not this, it has been some days like this.
maas 3.6 is working in other datacenter, but in this datacenter, it never worked. Is the caused by our router?

yes, that might be. You might try to setup a local mirror and see if it works