error deleting node

Bug #1551730 reported by stsp on 2016-03-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas (Ubuntu)

Bug Description

Version: 1.10.0+bzr4578-0ubuntu2

When deleting the node, I get this crash:

2016-03-01 16:16:19 [-] Error on request (257) node.action: node-4b22834e-d1a3-11e5-b0b9-005043000be0
        Traceback (most recent call last):
          File "/usr/lib/python3.5/", line 862, in run
            self._target(*self._args, **self._kwargs)
          File "/usr/lib/python3/dist-packages/provisioningserver/utils/", line 794, in worker
            return target()
          File "/usr/lib/python3/dist-packages/twisted/_threads/", line 46, in work
          File "/usr/lib/python3/dist-packages/twisted/_threads/", line 190, in doWork
        --- <exception caught here> ---
          File "/usr/lib/python3/dist-packages/twisted/python/", line 246, in inContext
            result = inContext.theWork()
          File "/usr/lib/python3/dist-packages/twisted/python/", line 262, in <lambda>
            inContext.theWork = lambda:, func, *args, **kw)
          File "/usr/lib/python3/dist-packages/twisted/python/", line 118, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/lib/python3/dist-packages/twisted/python/", line 81, in callWithContext
            return func(*args,**kw)
          File "/usr/lib/python3/dist-packages/maasserver/utils/", line 492, in call_within_transaction
            return func_outside_txn(*args, **kwargs)
          File "/usr/lib/python3/dist-packages/maasserver/utils/", line 319, in retrier
            return func(*args, **kwargs)
          File "/usr/lib/python3.5/", line 30, in inner
            return func(*args, **kwds)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/", line 1053, in action
            obj = self.get_object(params)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/", line 632, in get_object
            obj = super(NodeHandler, self).get_object(params)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/", line 256, in get_object
            raise HandlerDoesNotExistError(pk)
        maasserver.websockets.base.HandlerDoesNotExistError: node-4b22834e-d1a3-11e5-b0b9-005043000be0

As a result I can't delete the node.

Changed in maas:
milestone: none → 2.0.0
Changed in maas (Ubuntu):
importance: Undecided → Critical
Changed in maas (Ubuntu):
status: New → Fix Committed
Changed in maas:
status: New → Fix Committed
stsp (stsp-0) wrote :

What was the fix?

Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers