MAAS 1.8a9 API node details failures

Bug #1439239 reported by Adam Collard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Mike Pontillo

Bug Description

From regiond.log

2015-04-01 09:42:41 [-] 127.0.0.1 - - [01/Apr/2015:14:42:41 +0000] "GET /MAAS/api/1.0/nodes/node-1742ff26-4b4a-11e4-ad24-a0b3cce4ecca/?op=details HTTP/1.1" 200 35671 "-" "Twisted PageGetter"
2015-04-01 09:42:41 [maas.websocket.listener] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 423, in errback
            self._startRunCallbacks(fail)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "/usr/lib/python2.7/dist-packages/maasserver/websockets/protocol.py", line 378, in onNotify
            self.processNotify, handler, channel, action, obj_id)
          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/maasserver/utils/orm.py", line 405, in call_within_transaction
            return func_outside_txn(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 301, 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/websockets/protocol.py", line 385, in processNotify
            return handler.on_listen(channel, action, obj_id)
          File "/usr/lib/python2.7/dist-packages/maasserver/websockets/base.py", line 423, in on_listen
            obj = self.listen(channel, action, pk)
          File "/usr/lib/python2.7/dist-packages/maasserver/websockets/base.py", line 454, in listen
            self._meta.pk: pk
          File "/usr/lib/python2.7/dist-packages/maasserver/websockets/handlers/node.py", line 370, in get_object
            raise HandlerDoesNotExistError(params[self._meta.pk])
        maasserver.websockets.base.HandlerDoesNotExistError: node-1742ff26-4b4a-11e4-ad24-a0b3cce4ecca

Related branches

Changed in maas:
milestone: none → 1.8.0
importance: Undecided → High
Raphaël Badin (rvb)
Changed in maas:
importance: High → Critical
Changed in maas:
status: New → Triaged
Changed in maas:
assignee: nobody → Mike Pontillo (mpontillo)
Raphaël Badin (rvb)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.