Cray-HPE / gru

A utility for reading and modifying BMCs (e.g. iLO, RMMC) using RedFish (gofish).
MIT License
6 stars 2 forks source link

Untrimmed whitespace on some commands #51

Closed rustydb closed 6 months ago

rustydb commented 6 months ago
SUMMARY

When running show system on an iLO server, the Processor Model can occasionally be seen with trailing whitespace.

Asynchronously querying [    1] hosts ...
surtur-ncn-m001-mgmt.hpc.amslabs.hpecorp.net:
    bios_version: A43 v1.38 (10/30/2020)
    firmware_version: iLO 5 v2.44
    processor_model: 'AMD EPYC 7302P 16-Core Processor               '
    manufacturer: HPE
    model: ProLiant DL325 Gen10 Plus
ISSUE TYPE
STEPS TO REPRODUCE
EXPECTED RESULTS

No trailing whitespace.

ACTUAL RESULTS

Trailing whitespace.

rustydb commented 6 months ago

So far I only find this on the show system command. For now, I think it is sufficient to fix this in the show system command, as well as the upcoming #42 command as the problem seems to stem fro the Processor information.