HTTP Error when commissioning

Hi,

When commissioning for the first time my servers seem to fail at updating to the regiond controller, leaving the status of the machine as commissioning:

[   51.765913] cloud-init[2220]: Downloading and extracting http://10-10-13-0--24.maas-internal:5248/MAAS/metadata/2012-03-01/maas-scripts to /tmp/user_data.sh.0Aekty/scripts
[   51.984773] cloud-init[2220]: Starting commissioning scripts...
         Starting LLDP daemon...
[  OK  ] Started LLDP daemon.
         Stopping LLDP daemon...
[  OK  ] Stopped LLDP daemon.
         Starting LLDP daemon...
[  OK  ] Started LLDP daemon.
[   79.545482] x86/PAT: ipmi-locate:3834 map pfn expected mapping type uncached-minus for [mem 0x7b504000-0x7b504fff], got write-back
[   79.568987] x86/PAT: ipmi-locate:3834 map pfn expected mapping type uncached-minus for [mem 0x7b504000-0x7b504fff], got write-back
[   79.592482] x86/PAT: ipmi-locate:3834 map pfn expected mapping type uncached-minus for [mem 0x7b504000-0x7b504fff], got write-back
[   79.615977] x86/PAT: ipmi-locate:3834 map pfn expected mapping type uncached-minus for [mem 0x7b504000-0x7b504fff], got write-back
         Starting Time & Date Service...
[  OK  ] Started Time & Date Service.
[  441.240097] cloud-init[2220]: Installing apt packages for 20-maas-01-install-lldpd
[  441.240264] cloud-init[2220]: Starting 20-maas-01-install-lldpd
[  441.240362] cloud-init[2220]: Finished 20-maas-01-install-lldpd: 0
[  441.240450] cloud-init[2220]: Starting 20-maas-02-dhcp-unconfigured-ifaces
[  441.240551] cloud-init[2220]: Finished 20-maas-02-dhcp-unconfigured-ifaces: 0
[  441.240640] cloud-init[2220]: Starting 20-maas-03-machine-resources
[  441.240725] cloud-init[2220]: Finished 20-maas-03-machine-resources: 0
[  441.240811] cloud-init[2220]: Installing apt packages for 30-maas-01-bmc-config
[  441.240897] cloud-init[2220]: Starting 30-maas-01-bmc-config
[  441.240983] cloud-init[2220]: BMC credentials reconfigured by 30-maas-01-bmc-config
[  441.241072] cloud-init[2220]: request to http://10-10-13-0--24.maas-internal:5248/MAAS/metadata/latest/by-id/myggp3/?op=get_preseed failed. sleeping 1.: HTTP Error 500: Internal Server Error
[  441.241162] cloud-init[2220]: request to http://10-10-13-0--24.maas-internal:5248/MAAS/metadata/latest/by-id/myggp3/?op=get_preseed failed. sleeping 1.: HTTP Error 500: Internal Server Error

running MAAS 3.2.7 and using a separate controller.
does anyone have any tips how to solve this?
Or is there maybe a log file on the regiond controller where these errors are logged? I couldn`t find anything useful in the /var/log directory of the regiond controller.

hi @djkorp

If you have MAAS installed via snap, then information about 500 error should definitely be logged to /var/snap/maas/common/log/regiond.log

Also it is worth checking other logfiles

2 Likes