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?

Thanks

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/threading.py”, line 864, in run
self._target(*self._args, **self._kwargs) File “/snap/maas/4951/lib/python3.6/site-packages/provisioningserver/utils/twisted.py”, line 850, in worker
return target()
File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py”, line 46, in work
task() File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/_threads/_team.py”, line 190, in doWork
task()
— — File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/threadpool.py”, line 250, in inContext
result = inContext.theWork()
File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/threadpool.py”, line 266, in inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/context.py”, line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw) File “/snap/maas/4951/usr/lib/python3/dist-packages/twisted/python/context.py”, line 85, in callWithContext
return func(*args,**kw)
File “/snap/maas/4951/lib/python3.6/site-packages/provisioningserver/utils/twisted.py”, line 885, in callInContext return func(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/provisioningserver/utils/twisted.py”, line 217, in wrapper
result = func(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/utils/orm.py”, line 737, in call_within_transaction
return func_outside_txn(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/utils/orm.py”, line 540, in retrier
return func(*args, **kwargs) File “/snap/maas/4951/usr/lib/python3.6/contextlib.py”, line 52, in inner
return func(*args, **kwds)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/base.py”, line 405, in prep_user_execute method_name, method, params
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/base.py”, line 428, in _call_method_track_queries
result = method(params)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/handlers/machine.py”, line 1035, in update_interface
self._update_obj_tags(interface, params)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/websockets/handlers/machine.py”, line 631, in _update_obj_tags obj.save(update_fields=[“tags”])
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/models/interface.py”, line 1642, in save
return super().save(*args, **kwargs)
File “/snap/maas/4951/lib/python3.6/site-packages/maasserver/models/cleansave.py”, line 185, in save
exclude=exclude_clean_fields, validate_unique=False
File “/snap/maas/4951/usr/lib/python3/dist-packages/django/db/models/base.py”, 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: https://bugs.launchpad.net/maas/+bug/1864241

1 Like

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

2 Likes