Failed to edit physical in the machine’s Network page

When I click save physical button, I get the following error:
tags: Item 0 in the array did not validate: This field cannot be null
MAAS version: 2.7.0

Can anyone tell me what that error means and possible how to address it?


I am having the same issue, I installed the new MAAS 2.7 and now upgrade it to MAAS edge version: 2.7.0 (8234-g.de2727f6c)
I can’t find the way to change any of the network interfaces

I came here to ask about this same issue. I installed MAAS 2.7.0 (8234-g.de2727f6c) on a brand-new system. This was not an upgrade from a previous version. I installed MAAS using snap. I get this error when the machine is in the New or Ready state. The relevant part from regiond.log is:

2020-02-26 23:47:15 maasserver.websockets.protocol: [critical] Error on request (1059) machine.update_interface: {“tags”: [“Item 0 in the array did not validate: This field cannot be null.”]}
Traceback (most recent call last):
File “/snap/maas/4951/usr/lib/python3.6/”, line 864, in run
self._target(*self._args, **self._kwargs) File “/snap/maas/4951/lib/python3.6/site-packages/provisioningserver/utils/”, line 850, in worker
return target()
File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/_threads/”, line 46, in work
task() File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/_threads/”, line 190, in doWork
— — File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/”, line 250, in inContext
result = inContext.theWork()
File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/”, line 266, in inContext.theWork = lambda:, func, *args, **kw)
File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/”, line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw) File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/”, line 85, in callWithContext
return func(*args,**kw)
File “/snap/maas/4951/lib/python3.6/site-packages/provisioningserver/utils/”, line 885, in callInContext return func(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/provisioningserver/utils/”, line 217, in wrapper
result = func(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/utils/”, line 737, in call_within_transaction
return func_outside_txn(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/utils/”, line 540, in retrier
return func(*args, **kwargs) File “/snap/maas/4951/usr/lib/python3.6/”, line 52, in inner
return func(*args, **kwds)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/”, line 405, in prep_user_execute method_name, method, params
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/”, line 428, in _call_method_track_queries
result = method(params)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/handlers/”, line 1035, in update_interface
self._update_obj_tags(interface, params)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/handlers/”, line 631, in _update_obj_tags[“tags”])
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/models/”, line 1642, in save
return super().save(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/models/”, line 185, in save
exclude=exclude_clean_fields, validate_unique=False
File “/snap/maas/4951/usr/lib/python3/dist-packages/django/db/models/”, line 1250, in full_clean
raise ValidationError(errors)
django.core.exceptions.ValidationError: {‘tags’: [‘Item 0 in the array did not validate: This field cannot be null.’]}

I submitted a bug report for this here:

1 Like

Thanks everyone for bringing this up and submitting the bug, the MAAS-UI team will look into it.