maas 3.6.2 - Failed to retrieve curtin config: 'NoneType' object has no attribute 'url'

This env is airgapped and the node is commissioned and ready but when I try to deploy the image that commissioned with ubuntu 24.04 or to use a custom image created on packer-maas I get this error: “Failed to retrieve curtin config: ‘NoneType’ object has no attribute ‘url’”

I found a similar case here in the forum that the solution was to put the other arch even if they are not going to be used Bug #1847337 “Failed to retrieve curtin config: 'NoneType' objec...” : Bugs : MAAS but that didn’t solve it for me .

and here below you can see both of my package repos:



and I am using aptly to serve the needed packages to the nodes using dns to resolve back to the local repo.

If anyone has an idea why it’s behaving like this please help me solve this.
Thank you in advanced

Please check the regiond logs and extract the full stacktrace

Blockquote
journalctl -u snap.maas.pebble.service -t maas-regiond -f
Dec 20 21:24:10 ag-maas maas-regiond[372918]: Traceback (most recent call last):
Dec 20 21:24:10 ag-maas maas-regiond[372918]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 3.
Dec 20 21:24:10 ag-maas maas-regiond[372918]:
Dec 20 21:24:21 ag-maas maas-regiond[372949]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 20 21:24:51 ag-maas maas-regiond[372950]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 20 21:25:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [info] Beaconing process for ens18 started.
Dec 20 21:25:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [critical] Beaconing process for ens18 failed.
Dec 20 21:25:10 ag-maas maas-regiond[372918]: Traceback (most recent call last):
Dec 20 21:25:10 ag-maas maas-regiond[372918]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 3.
Dec 20 21:25:10 ag-maas maas-regiond[372918]:
Dec 20 21:25:21 ag-maas maas-regiond[372953]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 20 21:25:45 ag-maas maas-regiond[372950]: maasserver.websockets.handlers.machine: [error] Bulk action (deploy) for 88g77f failed: Failed to retrieve curtin config: ‘NoneType’ object has no attribute ‘url’
Dec 20 21:25:51 ag-maas maas-regiond[372956]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 20 21:26:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [info] Beaconing process for ens18 started.
Dec 20 21:26:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [critical] Beaconing process for ens18 failed.
Dec 20 21:26:10 ag-maas maas-regiond[372918]: Traceback (most recent call last):
Dec 20 21:26:10 ag-maas maas-regiond[372918]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 3.
Dec 20 21:26:10 ag-maas maas-regiond[372918]:

That’s not related. You have to better look into the logs to extract the stacktrace that is generated when you try to execute the action with the UI and you get the error

this is what I’m seeing when doing the deploy action from UI if you have another command to catch the logs please share it with me:

oiansible@ag-maas:~$ sudo journalctl -xef -u snap.maas.pebble.service | grep --line-buffered 88g77f
Dec 21 20:46:58 ag-maas maas-http[373002]:  192.168.4.13 - - [21/Dec/2025:20:46:58 +0000] "GET /MAAS/r/machine/88g77f/configuration HTTP/1.1" 200 954 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0"
Dec 21 20:46:58 ag-maas maas-regiond[372956]: regiond: [info] 127.0.0.1 GET /MAAS/accounts/login/ HTTP/1.1 --> 200 OK (referrer: http://10.80.5.251:5240/MAAS/r/machine/88g77f/configuration; agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0)
Dec 21 20:46:58 ag-maas maas-http[373002]:  192.168.4.13 - - [21/Dec/2025:20:46:58 +0000] "GET /MAAS/accounts/login/ HTTP/1.1" 200 70 "http://10.80.5.251:5240/MAAS/r/machine/88g77f/configuration" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0"
Dec 21 20:47:03 ag-maas maas-regiond[372949]: regiond: [info] 127.0.0.1 POST /MAAS/accounts/login/ HTTP/1.1 --> 204 NO_CONTENT (referrer: http://10.80.5.251:5240/MAAS/r/machine/88g77f/configuration; agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0)
Dec 21 20:47:03 ag-maas maas-http[373002]:  192.168.4.13 - - [21/Dec/2025:20:47:03 +0000] "POST /MAAS/accounts/login/ HTTP/1.1" 204 0 "http://10.80.5.251:5240/MAAS/r/machine/88g77f/configuration" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0"
Dec 21 20:47:03 ag-maas maas-http[373002]:  192.168.4.13 - - [21/Dec/2025:20:47:03 +0000] "GET /MAAS/accounts/login/ HTTP/1.1" 200 69 "http://10.80.5.251:5240/MAAS/r/machine/88g77f/configuration" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0"
Dec 21 20:53:47 ag-maas maas-regiond[372953]: maasserver.websockets.handlers.machine: [error] Bulk action (deploy) for 88g77f failed: Failed to retrieve curtin config: 'NoneType' object has no attribute 'url'

it only shows that it cannot find the url type although it does exist when I inspect the images.

jounalctl -t maas-regiond

journalctl -t maas-regiond -f
Dec 21 22:55:10 ag-maas maas-regiond[372918]:
Dec 21 22:55:51 ag-maas maas-regiond[372950]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 21 22:56:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [info] Beaconing process for ens18 started.
Dec 21 22:56:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [critical] Beaconing process for ens18 failed.
Dec 21 22:56:10 ag-maas maas-regiond[372918]: Traceback (most recent call last):
Dec 21 22:56:10 ag-maas maas-regiond[372918]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 3.
Dec 21 22:56:10 ag-maas maas-regiond[372918]:
Dec 21 22:56:21 ag-maas maas-regiond[372953]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 21 22:56:56 ag-maas maas-regiond[372956]: regiond: [info] 127.0.0.1 GET /MAAS/accounts/login/ HTTP/1.1 → 200 OK (referrer: http://10.80.5.251:5240/MAAS/r/settings/repositories; agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0)
Dec 21 22:56:56 ag-maas maas-regiond[372950]: regiond: [info] 127.0.0.1 GET /MAAS/accounts/login/ HTTP/1.1 → 200 OK (referrer: http://10.80.5.251:5240/MAAS/r/settings/repositories; agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0)
Dec 21 22:57:06 ag-maas maas-regiond[372950]: maasserver.websockets.handlers.machine: [error] Bulk action (deploy) for 88g77f failed: Failed to retrieve curtin config: ‘NoneType’ object has no attribute ‘url’
Dec 21 22:57:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [info] Beaconing process for ens18 started.
Dec 21 22:57:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [critical] Beaconing process for ens18 failed.
Dec 21 22:57:10 ag-maas maas-regiond[372918]: Traceback (most recent call last):
Dec 21 22:57:10 ag-maas maas-regiond[372918]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 3.
Dec 21 22:57:10 ag-maas maas-regiond[372918]:
Dec 21 22:57:51 ag-maas maas-regiond[372956]: regiond: [info] 127.0.0.1 GET /MAAS/rpc/ HTTP/1.1 → 200 OK (referrer: -; agent: provisioningserver.rpc.clusterservice.ClusterClientService)
Dec 21 22:57:52 ag-maas maas-regiond[372950]: maasserver.websockets.handlers.machine: [error] Bulk action (deploy) for 88g77f failed: Failed to retrieve curtin config: ‘NoneType’ object has no attribute ‘url’
Dec 21 22:58:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [info] Beaconing process for ens18 started.
Dec 21 22:58:10 ag-maas maas-regiond[372918]: provisioningserver.utils.services: [critical] Beaconing process for ens18 failed.
Dec 21 22:58:10 ag-maas maas-regiond[372918]: Traceback (most recent call last):
Dec 21 22:58:10 ag-maas maas-regiond[372918]: Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 3.
Dec 21 22:58:10 ag-maas maas-regiond[372918]:
Dec 21 22:58:12 ag-maas maas-regiond[372949]: maasserver.regiondservices.active_discovery: [info] Active network discovery: Active scanning is not enabled on any subnet. Skipping periodic scan.

it don’t see any indications on why this is happening here it just stats that there is no url att in NoneType .
If you think this is related to the version I can downgrade/upgrade I don’t mind as long as it works.