Activity log for bug #1558635

Date Who What changed Old value New value Message
2016-03-17 15:34:23 Andres Rodriguez bug added bug
2016-03-17 15:35:44 Andres Rodriguez description 2016-03-17 11:33:25 [-] Error on request (49) device.create: 'NoneType' object has no attribute 'link_subnet' 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 448, in call_within_transaction return func_outside_txn(*args, **kwargs) File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 275, 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/device.py", line 272, in create interface.link_subnet( builtins.AttributeError: 'NoneType' object has no attribute 'link_subnet' I have subnet where I'm managing DHCP. This is not on fabric-0. That being said, I'm trying to add a device with an IP that's statically assigned in this subnet. However, I see the following error: 2016-03-17 11:33:25 [-] Error on request (49) device.create: 'NoneType' object has no attribute 'link_subnet'  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 448, in call_within_transaction      return func_outside_txn(*args, **kwargs)    File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 275, 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/device.py", line 272, in create      interface.link_subnet(  builtins.AttributeError: 'NoneType' object has no attribute 'link_subnet'
2016-05-25 19:46:40 Gavin Panella maas: status New Triaged
2016-05-25 19:46:46 Gavin Panella maas: importance Undecided Critical
2016-05-31 17:35:44 Blake Rouse maas: status Triaged Incomplete
2016-06-01 07:49:53 Gavin Panella maas: status Incomplete Triaged
2016-06-01 07:50:20 Gavin Panella maas: assignee Gavin Panella (allenap)
2016-06-01 07:50:22 Gavin Panella maas: status Triaged In Progress
2016-06-01 08:28:37 Launchpad Janitor branch linked lp:~allenap/maas/case-compare-mac--bug-1558635
2016-06-02 15:25:29 MAAS Lander maas: status In Progress Fix Committed
2016-06-02 20:02:10 Mike Pontillo maas: milestone 2.0.0
2016-08-18 11:21:06 Andres Rodriguez maas: status Fix Committed Fix Released