Aria Automation Config 404 in UI when upgrade to 8.17 and NameError Exception Aria Config in RaaS Log
search cancel

Aria Automation Config 404 in UI when upgrade to 8.17 and NameError Exception Aria Config in RaaS Log

book

Article ID: 375483

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

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_task
    R = retval = fun(*args, **kwargs)
  File "raas/utils/org.py", line 194, in wraps
    return 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 wrapper
    return target(*args, **kwargs)
  File "raas/tasks/auth.py", line 46, in sync_auth_backends
    self.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_backends
NameError: name 'math' is not defined

Environment

Aria Config 8.17.0.x

Cause

The cause is due to a known defect in this version of RaaS. 

Resolution

The current best 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.

Additional Information

This is currently scheduled to be remediated in a forthcoming release of Aria Config.