Knowledge Doc: SerialNumber attribute wrongly populated with "cat: /proc/ppc64/lparcfg: No such file or directory"

0 Likes

Environment

UCMDB Content Pack 2023.02
 

Situation

The SerialNumber attribute of non LPAR nodes is populated with:

cat: /proc/ppc64/lparcfg: No such file or directory

The Host Connection by Shell job communication log shows :

<EXEC start="2023-04-04 14:15:49" duration="15">
<CMD>[CDATA: cat /proc/ppc64/lparcfg | grep "serial_number" | cut -d"," -f2,2 ; echo ERROR_CODE:$?]</CMD>
<RESULT>[CDATA: cat: /proc/ppc64/lparcfg: No such file or directory
ERROR_CODE:0]</RESULT>
</EXEC>
....
<results_for_add_or_update>
<vector>
....
<attribute name="serial_number" type="String">cat: /proc/ppc64/lparcfg: No such file or directory</attribute>
...
</vector>



 

Cause

The method getSerialNumberbyLparcfg in the TTY_Connection_Utils.py script must be enhanced.

Read knowledge article for resolution

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended