Frontend error | 'NoneType' object has no attribute 'get_raw'

Hi there
I’m facing an error here. I’m using Maas 2.6.1 and with more than 800 nodes. Today the frontend just crashed. When we’re trying to list the servers during the counting it breaks in the number 650. I don’t know why, always in this position during servers listing on frontend. Then the message is Error occurred - ‘NoneType’ object has no attribute ‘get_raw’.


3Anull%7D HTTP/![maas_error|321x141](upload://jyoPmOFJYh8ErXcinFNsJNdBqlb.jpeg) 1.1 --> 200 OK (referrer: -; agent: Python-httplib2/0.9.1 (gzip))
2019-11-19 21:50:42 maasserver.websockets.protocol: [critical] Error on request (45) machine.list: 'NoneType' object has no attribute 'get_raw'
	Traceback (most recent call last):
	  File "/usr/lib/python3.6/", line 864, in run
	    self._target(*self._args, **self._kwargs)
	  File "/usr/lib/python3/dist-packages/provisioningserver/utils/", line 852, 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 250, in inContext
	    result = inContext.theWork()
	  File "/usr/lib/python3/dist-packages/twisted/python/", line 266, in <lambda>
	    inContext.theWork = lambda:, func, *args, **kw)
	  File "/usr/lib/python3/dist-packages/twisted/python/", line 122, in callWithContext
	    return self.currentContext().callWithContext(ctx, func, *args, **kw)
	  File "/usr/lib/python3/dist-packages/twisted/python/", line 85, in callWithContext
	    return func(*args,**kw)
	  File "/usr/lib/python3/dist-packages/provisioningserver/utils/", line 885, in callInContext
	    return func(*args, **kwargs)
	  File "/usr/lib/python3/dist-packages/provisioningserver/utils/", line 234, in wrapper
	    result = func(*args, **kwargs)
	  File "/usr/lib/python3/dist-packages/maasserver/utils/", line 756, in call_within_transaction
	    return func_outside_txn(*args, **kwargs)
	  File "/usr/lib/python3/dist-packages/maasserver/utils/", line 563, in retrier
	    return func(*args, **kwargs)
	  File "/usr/lib/python3.6/", line 52, in inner
	    return func(*args, **kwds)
	  File "/usr/lib/python3/dist-packages/maasserver/websockets/", line 402, in prep_user_execute
	    method_name, method, params)
	  File "/usr/lib/python3/dist-packages/maasserver/websockets/", line 421, in _call_method_track_queries
	    result = method(params)
	  File "/usr/lib/python3/dist-packages/maasserver/websockets/", line 461, in list
	    for obj in objs
	  File "/usr/lib/python3/dist-packages/maasserver/websockets/", line 461, in <listcomp>
	    for obj in objs
	  File "/usr/lib/python3/dist-packages/maasserver/websockets/", line 224, in full_dehydrate
	    return self.dehydrate(obj, data, for_list=for_list)
	  File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/", line 286, in dehydrate
	    data["pxe_mac_vendor"] = obj.get_pxe_mac_vendor()
	  File "/usr/lib/python3/dist-packages/maasserver/models/", line 4334, in get_pxe_mac_vendor
	    return get_vendor_for_mac(boot_interface.mac_address.get_raw())
	builtins.AttributeError: 'NoneType' object has no attribute 'get_raw'

I don’t know if it matters but today I just included a new rack controller, some more subnets and many machines.

Please file a bug at and include the logs found in /var/log/maas.