After upgrading to Aria Automation config the following error message is seen repeated in the /etc/raas/raas log. When trying to log into the UI after an undetermined about of time being up a 404 is revived. Restarting the Aria Automation Config service will allow users to log in again for a non-determinant amount of time.
XXX [org_id:None][celery.app.trace ][ERROR :216 ][ForkPoolWorker-2:XXX] Task sync_auth_backends[XXX] raised unexpected: NameError("name 'math' is not defined")Traceback (most recent call last):File "celery/app/trace.py", line 477, in trace_taskR = retval = fun(*args, **kwargs)File "raas/utils/org.py", line 194, in wrapsreturn func(*args, **kwargs)File "raas/tasks/__init__.py", line 21, in __call__return self.run(*args, **kwargs)File "raas/tasks/__init__.py", line 94, in wrapperreturn target(*args, **kwargs)File "raas/tasks/auth.py", line 46, in sync_auth_backendsself.app.hub.db.op.sync_auth_backends()File "pop/contract.py", line 170, in __call__return self.func(*args, **kwargs)File "/var/lib/raas/unpack/_MEIlZxdpg/raas/mods/db/sqla.py", line 13362, in sync_auth_backendsNameError: name 'math' is not defined
Aria Config 8.17.0.x
The cause is due to a known defect in this version of RaaS.
To resolve this issue you will need to upgrade the RaaS daemon. To obtain the appropriate version, please file a Broadcom Support Request and reference this Knowledge article and your version of Aria Connfig, or RaaS.
If you are not able to upgrade further then another solution is to downgrade back to 8.16.2.x if you have a good backup. Please see the article Backing Up and Restoring Your Postgresql Database for RaaS or Aria Config for information on how to create to backups prior to upgrades.