Search Engine: Elastic

Article ID: 131800, created on Nov 21, 2017, last review on Nov 21, 2017

  • Applies to:
  • Operations Automation 6.0
  • Business Automation 6.0

Symptoms

Upgrade precheck fails:

2017-11-21 12:42:28 [ERROR] Composite Billing Precheck failed at BSS APP (host id #id)
        Precheck error: Several Billing prechecks were failed at BSS APP (host id #id). 

In /var/log/pa/prechecker.log on BA application server there is a more verbose error:

2017-11-21 12:42:24.555 [DEBUG] SQL: SELECT "Version", "InitVersion" FROM "AddOn" WHERE "Name" = %s (('PBA 5.0.1-276 HF 112208-WEBNIC',))
2017-11-21 12:42:24.556 [INFO] See additional info at /var/log/pa/prechecker.log
2017-11-21 12:42:24.556 [DEBUG] (<type 'exceptions.AttributeError'>, AttributeError("'NoneType' object has no attribute 'groups'",), <traceback object at 0x11ff2d8>)
2017-11-21 12:42:24.557 [DEBUG] Traceback (most recent call last):
  File "/usr/local/bm/tmp/precheck/prechecker.py", line 236, in run
    exec(codeobj)
  File "/usr/local/bm/tmp/precheck/bm/0-07-pba-hotfix-prechk-m.py", line 46, in <module>
    rescode = check_hotfixes()
  File "/usr/local/bm/tmp/precheck/bm/0-07-pba-hotfix-prechk-m.py", line 35, in check_hotfixes
    is_hotfix_ok = addonHandler.verifyVersionLowerEqual(cnt, PBA_ADDON_TYPE, PBA_RELEASE_UPGRADE_TO)
  File "/usr/local/bm/tmp/precheck/addonHandler.py", line 58, in verifyVersionLowerEqual
    return Version(versions['Version'], pattern) <= Version(release_upgrade_to, pattern)
  File "/usr/local/bm/tmp/precheck/addonHandler.py", line 39, in __init__
    self.version=[Version.__try_int(x) for x in re.match(pattern, str).groups()]
AttributeError: 'NoneType' object has no attribute 'groups'

Cause

Version is set in the incorrect format for the hotfix "PBA 5.0.1-276 HF 112208-WEBNIC".

Resolution

  1. Find the addon in the list: Home > System > Information > Add-ons list
  2. Set the version in the correct format, e.g. 5.1.0-001 instead of 5.1
  3. Retry precheck

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328 5356b422f65bdad1c3e9edca5d74a1ae 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF