[Bug 1551730] [NEW] error deleting node

stsp stsp at list.ru
Tue Mar 1 13:22:55 UTC 2016


Public bug reported:

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/threading.py", line 862, in run
            self._target(*self._args, **self._kwargs)
          File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 794, in worker
            return target()
          File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work
            task()
          File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork
            task()
        --- <exception caught here> ---
          File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 246, in inContext
            result = inContext.theWork()
          File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 262, in <lambda>
            inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
          File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 118, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 81, in callWithContext
            return func(*args,**kw)
          File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 492, in call_within_transaction
            return func_outside_txn(*args, **kwargs)
          File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 319, in retrier
            return func(*args, **kwargs)
          File "/usr/lib/python3.5/contextlib.py", line 30, in inner
            return func(*args, **kwds)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/node.py", line 1053, in action
            obj = self.get_object(params)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/node.py", line 632, in get_object
            obj = super(NodeHandler, self).get_object(params)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", 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.

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1551730

Title:
  error deleting node

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1551730/+subscriptions



More information about the Ubuntu-server-bugs mailing list