Ok, I dunno if this is related, but can't commission. It seems it boots into the enlistment process instead of commissioning. I'm using manual power type, and I see the error in:
2016-03-12 00:16:59+0800 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession object at 0x7f077cc1ee10>
2016-03-12 00:16:59+0800 [TFTP (UDP)] Datagram received from ('192.168.10.59', 49159): <RRQDatagram(filename=b'pxelinux.cfg/2bbd8935-d474-8001-e311-f0a10054a09d',
mode=b'octet', options=OrderedDict([(b'tsize', b'0'), (b'blksize', b'1408')]))>
2016-03-12 00:16:59+0800 [TFTP (UDP)] Datagram received from ('192.168.10.59', 49160): <RRQDatagram(filename=b'pxelinux.cfg/01-74-d4-35-89-bd-2b', mode=b'octet',
options=OrderedDict([(b'tsize', b'0'), (b'blksize', b'1408')]))>
==> /var/log/maas/regiond.log <==
2016-03-12 00:16:59 [maasserver] ERROR: ################################ Exception: 'NoneType' object has no attribute 'url' ################################
2016-03-12 00:16:59 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 180, in view_atomic_with_post_commit_savepoint
return view_atomic(*args, **kwargs)
File "/usr/lib/python3.5/contextlib.py", line 30, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/maasserver/api/pxeconfig.py", line 202, in pxeconfig
preseed_url = compose_preseed_url(node)
File "/usr/lib/python3/dist-packages/maasserver/preseed.py", line 704, in compose_preseed_url
base_url = node.get_boot_primary_rack_controller().url
AttributeError: 'NoneType' object has no attribute 'url'
Ok, I dunno if this is related, but can't commission. It seems it boots into the enlistment process instead of commissioning. I'm using manual power type, and I see the error in:
2016-03-12 00:16:59+0800 [-] Stopping protocol <tftp.bootstrap .RemoteOriginRe adSession object at 0x7f077cc1ee10> filename= b'pxelinux. cfg/2bbd8935- d474-8001- e311-f0a10054a0 9d', OrderedDict( [(b'tsize' , b'0'), (b'blksize', b'1408')]))> filename= b'pxelinux. cfg/01- 74-d4-35- 89-bd-2b' , mode=b'octet', OrderedDict( [(b'tsize' , b'0'), (b'blksize', b'1408')]))>
2016-03-12 00:16:59+0800 [TFTP (UDP)] Datagram received from ('192.168.10.59', 49159): <RRQDatagram(
mode=b'octet', options=
2016-03-12 00:16:59+0800 [TFTP (UDP)] Datagram received from ('192.168.10.59', 49160): <RRQDatagram(
options=
==> /var/log/ maas/regiond. log <== ####### ####### ####### #### Exception: 'NoneType' object has no attribute 'url' ####### ####### ####### ####### #### python3/ dist-packages/ django/ core/handlers/ base.py" , line 132, in get_response callback( request, *callback_args, **callback_kwargs) python3/ dist-packages/ maasserver/ utils/views. py", line 180, in view_atomic_ with_post_ commit_ savepoint python3. 5/contextlib. py", line 30, in inner python3/ dist-packages/ maasserver/ api/pxeconfig. py", line 202, in pxeconfig preseed_ url(node) python3/ dist-packages/ maasserver/ preseed. py", line 704, in compose_preseed_url boot_primary_ rack_controller ().url
2016-03-12 00:16:59 [maasserver] ERROR: #######
2016-03-12 00:16:59 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
preseed_url = compose_
File "/usr/lib/
base_url = node.get_
AttributeError: 'NoneType' object has no attribute 'url'
2016-03-12 00:16:59 [-] 127.0.0.1 - - [11/Mar/ 2016:16: 16:58 +0000] "GET /MAAS/api/ 2.0/pxeconfig/ ?local= 192.168. 10.27&bios_ boot_method= pxe&mac= 74-d4-35- 89-bd-2b& ra id=4y3h7n& remote= 192.168. 10.59 HTTP/1.0" 500 40 "-" "provisioningse rver.pserv_ services. tftp.TFTPBacken d"
ckcontroller_