2018-02-16 15:44:56 provisioningserver.rpc.common: [critical] Unhandled failure dispatching AMP command. This is probably a bug. Please ensure that this error is handled within application code or declared in the signature of the b'UpdateNodePowerState' com
mand. [autopkgtest:pid=11690:cmd=UpdateNodePowerState:ask=4fc]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/internet/asyncioreactor.py", line 267, in run self._asyncioEventloop.run_forever()
File "/usr/lib/python3/dist-packages/twisted/internet/asyncioreactor.py", line 290, in run f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 500, in errback self._startRunCallbacks(fail)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks current.result = callback(current.result, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/protocols/amp.py", line 1171, in checkKnownErrors
key = error.trap(*command.allErrors)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 359, in trap self.raiseException()
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 385, in raiseException
raise self.value.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda> inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 875, in callInContext
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 232, in wrapper
result = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 754, in call_within_transaction
return func_outside_txn(*args, **kwargs)
File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 561, in retrier
return func(*args, **kwargs)
File "/usr/lib/python3.6/contextlib.py", line 52, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/maasserver/rpc/nodes.py", line 187, in update_node_power_state node.update_power_state(power_state)
File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 738, in call_within_transaction
return func_within_txn(*args, **kwargs)
File "/usr/lib/python3.6/contextlib.py", line 52, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/maasserver/models/node.py", line 3078, in update_power_state self.save()
File "/usr/lib/python3/dist-packages/maasserver/models/node.py", line 1636, in save super(Node, self).save(*args, **kwargs)
File "/usr/lib/python3/dist-packages/maasserver/models/cleansave.py", line 28, in save self.full_clean()
File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 1250, in full_clean
raise ValidationError(errors) django.core.exceptions.ValidationError: {'boot_interface': ["Must be one of the node's interfaces."]}
2018-02-16 15:44:56 provisioningser ver.rpc. common: [critical] Unhandled failure dispatching AMP command. This is probably a bug. Please ensure that this error is handled within application code or declared in the signature of the b'UpdateNodePow erState' com pid=11690: cmd=UpdateNodeP owerState: ask=4fc] python3/ dist-packages/ twisted/ internet/ asyncioreactor. py", line 267, in run
self. _asyncioEventlo op.run_ forever( ) python3/ dist-packages/ twisted/ internet/ asyncioreactor. py", line 290, in run
f( *args, **kwargs) python3/ dist-packages/ twisted/ internet/ defer.py" , line 500, in errback
self. _startRunCallba cks(fail) python3/ dist-packages/ twisted/ internet/ defer.py" , line 567, in _startRunCallbacks
self. _runCallbacks( ) python3/ dist-packages/ twisted/ internet/ defer.py" , line 653, in _runCallbacks
current. result = callback( current. result, *args, **kw) python3/ dist-packages/ twisted/ protocols/ amp.py" , line 1171, in checkKnownErrors *command. allErrors) python3/ dist-packages/ twisted/ python/ failure. py", line 359, in trap
self. raiseException( ) python3/ dist-packages/ twisted/ python/ failure. py", line 385, in raiseException with_traceback( self.tb) python3/ dist-packages/ twisted/ python/ threadpool. py", line 250, in inContext python3/ dist-packages/ twisted/ python/ threadpool. py", line 266, in <lambda>
inContext. theWork = lambda: context.call(ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 122, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 85, in callWithContext python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 875, in callInContext python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 232, in wrapper python3/ dist-packages/ maasserver/ utils/orm. py", line 754, in call_within_ transaction txn(*args, **kwargs) python3/ dist-packages/ maasserver/ utils/orm. py", line 561, in retrier python3. 6/contextlib. py", line 52, in inner python3/ dist-packages/ maasserver/ rpc/nodes. py", line 187, in update_ node_power_ state
node. update_ power_state( power_state) python3/ dist-packages/ maasserver/ utils/orm. py", line 738, in call_within_ transaction txn(*args, **kwargs) python3. 6/contextlib. py", line 52, in inner python3/ dist-packages/ maasserver/ models/ node.py" , line 3078, in update_power_state
self. save() python3/ dist-packages/ maasserver/ models/ node.py" , line 1636, in save
super( Node, self).save(*args, **kwargs) python3/ dist-packages/ maasserver/ models/ cleansave. py", line 28, in save
self. full_clean( ) python3/ dist-packages/ django/ db/models/ base.py" , line 1250, in full_clean (errors)
django. core.exceptions .ValidationErro r: {'boot_interface': ["Must be one of the node's interfaces."]}
mand. [autopkgtest:
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
File "/usr/lib/
key = error.trap(
File "/usr/lib/
File "/usr/lib/
raise self.value.
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
raise ValidationError