2023-08-13 00:00:47 maasserver: [error] Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 293, in view_atomic_with_post_commit_savepoint
return view_atomic(*args, **kwargs)
File "/usr/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/maasserver/api/support.py", line 62, in __call__
response = super().__call__(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/decorators/vary.py", line 20, in inner_func
response = func(*args, **kwargs)
File "/usr/lib/python3.10/dist-packages/piston3/resource.py", line 197, in __call__
result = self.error_handler(e, request, meth, em_format)
File "/usr/lib/python3.10/dist-packages/piston3/resource.py", line 195, in __call__
result = meth(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/maasserver/api/support.py", line 370, in dispatch
return function(self, request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 860, in signal
target_status = process(node, request, status)
File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 682, in _process_commissioning
self._store_results(
File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 565, in _store_results
script_result.store_result(
File "/usr/lib/python3/dist-packages/metadataserver/models/scriptresult.py", line 270, in store_result
assert self.status in SCRIPT_STATUS_RUNNING_OR_PENDING
AssertionError
This is likely due to an error when fetching hardware info for the region, which if the region has an IP within the subnet in question, it can be erroneously moved for this reason. Can you confirm whether the region controller does in fact have an IP in this subnet?
This exception is repeating in the regiond logs:
2023-08-13 00:00:47 maasserver: [error] Traceback (most recent call last): python3/ dist-packages/ django/ core/handlers/ base.py" , line 181, in _get_response callback( request, *callback_args, **callback_kwargs) python3/ dist-packages/ maasserver/ utils/views. py", line 293, in view_atomic_ with_post_ commit_ savepoint python3. 10/contextlib. py", line 79, in inner python3/ dist-packages/ maasserver/ api/support. py", line 62, in __call__ .__call_ _(request, *args, **kwargs) python3/ dist-packages/ django/ views/decorator s/vary. py", line 20, in inner_func python3. 10/dist- packages/ piston3/ resource. py", line 197, in __call__ handler( e, request, meth, em_format) python3. 10/dist- packages/ piston3/ resource. py", line 195, in __call__ python3/ dist-packages/ maasserver/ api/support. py", line 370, in dispatch python3/ dist-packages/ metadataserver/ api.py" , line 860, in signal python3/ dist-packages/ metadataserver/ api.py" , line 682, in _process_ commissioning _store_ results( python3/ dist-packages/ metadataserver/ api.py" , line 565, in _store_results result. store_result( python3/ dist-packages/ metadataserver/ models/ scriptresult. py", line 270, in store_result STATUS_ RUNNING_ OR_PENDING
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
response = super()
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/usr/lib/
return function(self, request, *args, **kwargs)
File "/usr/lib/
target_status = process(node, request, status)
File "/usr/lib/
self.
File "/usr/lib/
script_
File "/usr/lib/
assert self.status in SCRIPT_
AssertionError
This is likely due to an error when fetching hardware info for the region, which if the region has an IP within the subnet in question, it can be erroneously moved for this reason. Can you confirm whether the region controller does in fact have an IP in this subnet?