When trying to deploy a window image, it is unable to determine the purpose and maas then crashes:
==> /var/log/maas/regiond.log <==
2015-04-19 23:40:31 [maasserver] ERROR: Unable to determine purpose for node: 'node-08.maas'
2015-04-19 23:40:31 [-] 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 191, 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 151, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 404, in call_within_transaction
return func_outside_txn(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 300, in retrier
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/rpc/nodes.py", line 193, 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 1819, in get_boot_purpose preseed_type = get_deploying_preseed_type_for(self)
File "/usr/lib/python2.7/dist-packages/maasserver/preseed.py", line 379, in get_deploying_preseed_type_for
purpose = get_available_purpose_for_node(purpose_order, node)
File "/usr/lib/python2.7/dist-packages/maasserver/preseed.py", line 348, 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'node-08.maas')
When trying to deploy a window image, it is unable to determine the purpose and maas then crashes:
==> /var/log/ maas/regiond. log <== python2. 7/threading. py", line 783, in __bootstrap
self. __bootstrap_ inner() python2. 7/threading. py", line 810, in __bootstrap_inner
self. run() python2. 7/threading. py", line 763, in run
self. __target( *self._ _args, **self.__kwargs) python2. 7/dist- packages/ twisted/ python/ threadpool. py", line 191, in _worker python2. 7/dist- packages/ twisted/ python/ context. py", line 118, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python2. 7/dist- packages/ twisted/ python/ context. py", line 81, in callWithContext python2. 7/dist- packages/ provisioningser ver/utils/ twisted. py", line 151, in wrapper python2. 7/dist- packages/ maasserver/ utils/orm. py", line 404, in call_within_ transaction txn(*args, **kwargs) python2. 7/dist- packages/ maasserver/ utils/orm. py", line 300, in retrier python2. 7/dist- packages/ django/ db/transaction. py", line 339, in inner python2. 7/dist- packages/ maasserver/ rpc/nodes. py", line 193, in request_ node_info_ by_mac_ address boot_purpose( )) python2. 7/dist- packages/ maasserver/ models/ node.py" , line 1819, in get_boot_purpose
preseed_ type = get_deploying_ preseed_ type_for( self) python2. 7/dist- packages/ maasserver/ preseed. py", line 379, in get_deploying_ preseed_ type_for purpose_ for_node( purpose_ order, node) python2. 7/dist- packages/ maasserver/ preseed. py", line 348, in get_available_ purpose_ for_node
maasserver. exceptions. PreseedError: (u"Unable to determine purpose for node: '%s'", u'node-08.maas')
2015-04-19 23:40:31 [maasserver] ERROR: Unable to determine purpose for node: 'node-08.maas'
2015-04-19 23:40:31 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return (node, node.get_
File "/usr/lib/
File "/usr/lib/
purpose = get_available_
File "/usr/lib/
"Unable to determine purpose for node: '%s'", node.fqdn)
2015-04-19 23:40:31 [RegionServer, 5,127.0. 0.1] RegionServer connection lost (HOST:IPv4Addre ss(TCP, '127.0.0.1', 44884) PEER:IPv4Addres s(TCP, '12
7.0.0.1', 57821))
==> /var/log/ maas/clusterd. log <== client] Unhandled error in Deferred: client] Unhandled Error protocols. amp.UnknownRemo teError: Code<UNKNOWN>: Unknown Error
2015-04-19 23:40:31+0800 [ClusterClient,
2015-04-19 23:40:31+0800 [ClusterClient,
Traceback (most recent call last):
Failure: twisted.