Comment 2 for bug 1382281

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: pserv crashing while doing TFTP

Ah here we go in maas-django.log:

ERROR 2014-10-17 10:46:51,167 twisted Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 196, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/twisted.py", line 143, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/utils/async.py", line 153, in call_within_transaction
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/rpc/nodes.py", line 159, in request_node_info_by_mac_address
    return (node, node.get_boot_purpose())
  File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 1530, in get_boot_purpose
    preseed_type = get_preseed_type_for(self)
  File "/usr/lib/python2.7/dist-packages/maasserver/preseed.py", line 352, in get_preseed_type_for
    purpose = get_available_purpose_for_node(purpose_order, node)
  File "/usr/lib/python2.7/dist-packages/maasserver/preseed.py", line 330, in get_available_purpose_for_node
    "Unable to determine purpose for node: '%s'", node.fqdn)
maasserver.exceptions.PreseedError: (u"Unable to determine purpose for node: '%s'", u'nuc1.maas')