[2.0b6] builtins.ValueError: invalid literal for int() with base 10: ''

Bug #1588846 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
LaMont Jones

Bug Description

=> /var/log/maas/rackd.log <==
2016-06-03 23:03:00+0800 [TFTP (UDP)] Datagram received from ('192.168.10.191', 49154): <RRQDatagram(filename=b'pxelinux.0', mode=b'octet')>
2016-06-03 23:03:00+0800 [-] RemoteOriginReadSession starting on 35105
2016-06-03 23:03:00+0800 [-] Starting protocol <tftp.bootstrap.RemoteOriginReadSession object at 0x7f034e59b630>
2016-06-03 23:03:00+0800 [RemoteOriginReadSession (UDP)] Got error: <tftp.datagram.ERRORDatagram object at 0x7f033ca1b710>
2016-06-03 23:03:00+0800 [-] (UDP Port 35105 Closed)
2016-06-03 23:03:00+0800 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession object at 0x7f034e59b630>
2016-06-03 23:03:00+0800 [TFTP (UDP)] Datagram received from ('192.168.10.191', 49154): <RRQDatagram(filename=b'pxelinux.0', mode=b'octet')>
2016-06-03 23:03:00+0800 [-] RemoteOriginReadSession starting on 52527
2016-06-03 23:03:00+0800 [-] Starting protocol <tftp.bootstrap.RemoteOriginReadSession object at 0x7f034c2b0390>
2016-06-03 23:03:00+0800 [RemoteOriginReadSession (UDP)] Got error: <tftp.datagram.ERRORDatagram object at 0x7f034c2de160>
2016-06-03 23:03:00+0800 [-] (UDP Port 52527 Closed)
2016-06-03 23:03:00+0800 [-] Stopping protocol <tftp.bootstrap.RemoteOriginReadSession object at 0x7f034c2b0390>

==> /var/log/maas/regiond.log <==
2016-06-03 23:03:00 [maas.websocket.listener] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 434, in errback
            self._startRunCallbacks(fail)
          File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1184, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/protocol.py", line 417, in onNotify
            self.processNotify, handler, channel, action, obj_id)
          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/provisioningserver/utils/twisted.py", line 937, in callInContext
            return func(*args, **kwargs)
          File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 516, in call_within_transaction
            return func_outside_txn(*args, **kwargs)
          File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 343, 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/protocol.py", line 424, in processNotify
            return handler.on_listen(channel, action, obj_id)
          File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 437, in on_listen
            pk = self._meta.pk_type(pk)
        builtins.ValueError: invalid literal for int() with base 10: ''

2016-06-03 23:03:00 [-] Successfully configured DNS.
2016-06-03 23:03:01 [RegionServer,0,10.216.160.107] Successfully configured DHCPv4 on rack controller '4y3h7n'.
2016-06-03 23:03:01 [RegionServer,0,10.216.160.107] Successfully configured DHCPv6 on rack controller '4y3h7n'.

Related branches

Changed in maas:
milestone: none → 2.0.0
importance: Undecided → Critical
status: New → Triaged
description: updated
LaMont Jones (lamont)
Changed in maas:
assignee: nobody → LaMont Jones (lamont)
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.