```
2024-05-11 12:06:54 maasserver.websockets.protocol: [critical] Error on request (596) device.update_interface: {"numa_node": ["Only interfaces for machines are linked to a NUMA node"]}
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs)
File "/snap/maas/35359/lib/python3.10/site-packages/provisioningserver/utils/twisted.py", line 821, in worker
return target()
File "/snap/maas/35359/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 47, in work
task()
File "/snap/maas/35359/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 182, in doWork
task()
--- <exception caught here> ---
File "/snap/maas/35359/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 244, in inContext
result = inContext.theWork() # type: ignore[attr-defined]
File "/snap/maas/35359/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 260, in <lambda> inContext.theWork = lambda: context.call( # type: ignore[attr-defined]
File "/snap/maas/35359/usr/lib/python3/dist-packages/twisted/python/context.py", line 117, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/snap/maas/35359/usr/lib/python3/dist-packages/twisted/python/context.py", line 82, in callWithContext
return func(*args, **kw)
File "/snap/maas/35359/lib/python3.10/site-packages/provisioningserver/utils/twisted.py", line 856, in callInContext
return func(*args, **kwargs)
File "/snap/maas/35359/lib/python3.10/site-packages/provisioningserver/utils/twisted.py", line 203, in wrapper
result = func(*args, **kwargs)
File "/snap/maas/35359/lib/python3.10/site-packages/maasserver/utils/orm.py", line 771, in call_within_transaction
return func_outside_txn(*args, **kwargs)
File "/snap/maas/35359/lib/python3.10/site-packages/maasserver/utils/orm.py", line 574, in retrier
return func(*args, **kwargs)
File "/usr/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/snap/maas/35359/lib/python3.10/site-packages/maasserver/websockets/base.py", line 437, in prep_user_execute
return self._call_method_track_queries(
File "/snap/maas/35359/lib/python3.10/site-packages/maasserver/websockets/base.py", line 461, in _call_method_track_queries
result = method(params)
File "/snap/maas/35359/lib/python3.10/site-packages/maasserver/websockets/handlers/device.py", line 357, in update_interface
raise ValidationError(form.errors) django.core.exceptions.ValidationError: {'numa_node': ['Only interfaces for machines are linked to a NUMA node']}
```
``` websockets. protocol: [critical] Error on request (596) device. update_ interface: {"numa_node": ["Only interfaces for machines are linked to a NUMA node"]} python3. 10/threading. py", line 953, in run
self. _target( *self._ args, **self._kwargs) maas/35359/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 821, in worker maas/35359/ usr/lib/ python3/ dist-packages/ twisted/ _threads/ _threadworker. py", line 47, in work maas/35359/ usr/lib/ python3/ dist-packages/ twisted/ _threads/ _team.py" , line 182, in doWork maas/35359/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 244, in inContext attr-defined] maas/35359/ usr/lib/ python3/ dist-packages/ twisted/ python/ threadpool. py", line 260, in <lambda>
inContext. theWork = lambda: context.call( # type: ignore[ attr-defined] maas/35359/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 117, in callWithContext text(). callWithContext (ctx, func, *args, **kw) maas/35359/ usr/lib/ python3/ dist-packages/ twisted/ python/ context. py", line 82, in callWithContext maas/35359/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 856, in callInContext maas/35359/ lib/python3. 10/site- packages/ provisioningser ver/utils/ twisted. py", line 203, in wrapper maas/35359/ lib/python3. 10/site- packages/ maasserver/ utils/orm. py", line 771, in call_within_ transaction txn(*args, **kwargs) maas/35359/ lib/python3. 10/site- packages/ maasserver/ utils/orm. py", line 574, in retrier python3. 10/contextlib. py", line 79, in inner maas/35359/ lib/python3. 10/site- packages/ maasserver/ websockets/ base.py" , line 437, in prep_user_execute method_ track_queries( maas/35359/ lib/python3. 10/site- packages/ maasserver/ websockets/ base.py" , line 461, in _call_method_ track_queries maas/35359/ lib/python3. 10/site- packages/ maasserver/ websockets/ handlers/ device. py", line 357, in update_interface (form.errors)
django. core.exceptions .ValidationErro r: {'numa_node': ['Only interfaces for machines are linked to a NUMA node']}
2024-05-11 12:06:54 maasserver.
Traceback (most recent call last):
File "/usr/lib/
File "/snap/
return target()
File "/snap/
task()
File "/snap/
task()
--- <exception caught here> ---
File "/snap/
result = inContext.theWork() # type: ignore[
File "/snap/
File "/snap/
return self.currentCon
File "/snap/
return func(*args, **kw)
File "/snap/
return func(*args, **kwargs)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
return func_outside_
File "/snap/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/snap/
return self._call_
File "/snap/
result = method(params)
File "/snap/
raise ValidationError
```