Idea ID: 2767679

Better message logged when bs_software is failing due a to lack of disk space

Status : Waiting for Votes
Waiting for Votes
See status update history
over 1 year ago

We facing an issue with remediation. The following error is logged when running bs_software on Windows managed server :

======
On one of many Windows Server remediation Fails with the following:
The request to retrieve information from the Agent failed for an unknown reason, please contact your HP Server Automation Administrator.Execution error: Traceback (most recent call last):
File ".\base\wayfuncs.py", line 136, in evaluator
File "", line 3649, in
File "", line 3591, in main
File "", line 2201, in getInstalledUnitsList
File ".\pkgs_handler.py", line 70, in installedDicts
File ".\nt\nt_pkgs_handler_wrap.py", line 88, in installedList
File ".\nt\nt_hotfix_handler.py", line 721, in installedList
OpswareError:
been_cascaded: 0
error_id: None
error_name: cogbot.WUAerror
faultCode: 101
faultString: cogbot.WUAerror
hostname: IAS-SQL101
line: 1680
method: searchCatalog
module: nt_patch_lib.py
params: {'message': 'WUA searchCatalog error, db path :C:\\Program Files\\Common Files\\Opsware\\agent\\wsusscn2.cab'}
request: UNKNOWN
tb_chain: []
timestamp: 28/Feb/2017 111722
timeticks: 1488280642
======

After a while they found out the problem has been caused by a lack of disk space on the managed node.
There should be a better message provided and eventually an additional check for disk space.
As an example of the message could be like:

"Please contact your Windows Administrator".

The current error  "Please contact your HP-SA Administrator" is misleading and confusing.  

EXPECTED BEHAVIOR:

There should be a better message provided and eventually an additional check for disk space.
As an example of the message could be like: "Please contact your Windows Administrator".
The current error  "Please contact your HP-SA Administrator" is misleading and confusing.