Web UI error on some pages after upgrade to 3.2.3

Per 3.2.2 apt upgrade not available I have upgraded to 3.2.3, which appears to have resolved the errors communicating between regiond and rackd. CLI behaviour seems to work normally. We are getting errors on some pages of the web UI though. We don’t currently have TLS enabled.

After the page partially loads, it then jumps to a blank page with the error
The server connection failed with the error "t.payload.groups is undefined".

These are the pages it shows on:
http://maas.fqdn:5240/MAAS/r/kvm/virsh/1445/resources
http://maas.fqdn:5240/MAAS/r/machines
http://maas.fqdn:5240/MAAS/r/networks?by=fabric&q=
http://maas.fqdn:5240/MAAS/r/settings/dhcp
http://maas.fqdn:5240/MAAS/r/subnet/63

It appears to be an issue with machine lookup, because I can list subnets, and look at fabrics, spaces etc but not a subnet itself - that would load machines seen on it. Also maas $USER machines read and maas $USER machine read $ID on the CLI work fine, so machines information is still available. Additionally, I can create, commission and deploy a new VM so that appears fine too.

Hi @gregoryo2017 would you be able to try with 3.2.4? It appears to be resolved in that version, but it would be great to make sure there isn’t something else specific to your setup that is causing this issue. If it still doesn’t work would you mind checking if there are errors in your regiond.log?

I am feeling well supported with these quick responses, thank you team.

3.2.4 installed fine and has fixed the problem.

regiond.log did not have errors before, but since installing 3.2.4 I see this:

2022-08-25 08:49:33 maasserver: [error] Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 288, in view_atomic_with_post_commit_savepoint
    return view_atomic(*args, **kwargs)
  File "/usr/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/usr/lib/python3/dist-packages/maasserver/api/support.py", line 56, 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.8/dist-packages/piston3/resource.py", line 197, in __call__
    result = self.error_handler(e, request, meth, em_format)
  File "/usr/lib/python3.8/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 306, in dispatch
    return function(self, request, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 866, in signal
    target_status = process(node, request, status)
  File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 690, in _process_commissioning
    self._store_results(
  File "/usr/lib/python3/dist-packages/metadataserver/api.py", line 575, 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

2022-08-25 08:49:33 regiond: [info] 127.0.0.1 POST /MAAS/metadata/2012-03-01/ HTTP/1.1 --> 500 INTERNAL_SERVER_ERROR (referre
r: -; agent: Python-urllib/3.8)

This repeats a few times each minute. https://termbin.com/fka4f for the whole log

1 Like

quote form Jorge R.

MAAS 3.2.4 has been released as per [1] and is available at version 3.2.4-12012-g.91c5952db-0ubuntu1~20.04.1. This release fixes the GUI issues that you were facing yesterday.

[1] 3.2.4 Released

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.