If you've deployed Windows 2016 in your environment you may see as bs_software fails with error below (same as scanpatch):
PS C:\Program Files\Opsware\agent\pylibs\cog> .\bs_software.bat
Registering full software inventory information...
-----Unexpected Error-----
Traceback (most recent call last):
File ".\bs_software.py", line 693, in blockingmainThread
File ".\bs_software.py", line 671, in blockingmain
File ".\bs_software.py", line 640, in do_software
File ".\bs_software.py", line 126, in detect_packages
File ".\pkgs_handler.py", line 93, in installedHash
File ".\pkgs_handler.py", line 73, in _getInstalledHash
File ".\nt\nt_hotfix_handler.py", line 727, in installedList
File ".\nt\nt_hotfix_handler.py", line 694, in filterMbsa20ResultByInstalledOrRecommended
File ".\nt\nt_patch_lib.py", line 719, in invokeScanEngine
File ".\nt\nt_patch_lib.py", line 702, in invokeWUACom
File ".\nt\nt_patch_lib.py", line 1819, in writeUpdateHistoryResults
File "C:\Program Files\Opsware\agent\lcpython15\lib\site-packages\win32com\client\dynamic.py", line 511, in __getattr_
_
ret = self._oleobj_.Invoke(retEntry.dispid,0,invoke_type,1)
com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2145120257), None)
An agent hotfix is available through SA support. Reverence this KM document.