Skip to content

Serviceability update - #280

Merged
alexandraBara merged 4 commits into
developmentfrom
alex_serv_update
Sep 2, 2026
Merged

Serviceability update#280
alexandraBara merged 4 commits into
developmentfrom
alex_serv_update

Conversation

@alexandraBara

@alexandraBara alexandraBara commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

-Updated printing of serviceability result. Top action items get their own table and secondary action items get a second table. See sample below.

Test plan

  • pytest test/unit
  • pytest test/functional (if applicable)
  • pre-commit run --all-files

Checklist

  • Added/updated tests (or explained why not)
  • Updated docs/README if behavior changed
  • No secrets or credentials committed
node-scraper_public$ node-scraper   --connection-config ~/configs/connection-config.json   --plugin-configs=plugin_config.json   run-plugins Mi4xxServiceabilityPlugin
  2026-09-02 07:46:09 CDT       INFO               nodescraper | Log path: ./scraper_logs_ausalexbara02_2026_09_02-07_46_09_AM
  2026-09-02 07:46:09 CDT      ERROR               nodescraper | Unable to find registered connection manager class for sys_location
  2026-09-02 07:46:09 CDT       INFO               nodescraper | System Name: ausalexbara02
  2026-09-02 07:46:09 CDT       INFO               nodescraper | In-band default: local host (ausalexbara02)
  2026-09-02 07:46:09 CDT       INFO               nodescraper | --------------------------------------------------
  2026-09-02 07:46:09 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) Execution target: BMC via Redfish OOB (heliosr-a85bd153e352.amd.com)
  2026-09-02 07:46:09 CDT       INFO               nodescraper | Running plugin Mi4xxServiceabilityPlugin
  2026-09-02 07:46:09 CDT       INFO               nodescraper | Initializing connection: RedfishConnectionManager
  2026-09-02 07:46:09 CDT       INFO               nodescraper | Connecting to Redfish at https://....amd.com
  2026-09-02 07:46:10 CDT       INFO               nodescraper | Running data collector: MI4XXCollector
  2026-09-02 07:46:10 CDT       INFO               nodescraper | Serviceability: event log Redfish URI /redfish/v1/Systems/Instinct_Accelerators/LogServices/EventLog/Entries (follow_next_link=False)
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) Collected 1000 event log member(s)
  2026-09-02 07:46:13 CDT       INFO               nodescraper | Running data analyzer: MI4XXAnalyzer
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) Using AFID_SAG file: /home/alexbara/LATEST_AFID_SAG.json
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) AFSE: 3 recommendation(s) from 1000 Redfish event(s), 5 triage row(s).
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) Hub version: 0.1.0
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) AFID_SAG file: ...
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) 5 prioritized recommendation(s); see recommendation tables below
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (Mi4xxServiceabilityPlugin) Hub: 3 solution(s) from 1000 Redfish event(s) [...]   
  2026-09-02 07:46:13 CDT       INFO               nodescraper | (serviceability) Wrote afid_fru_summary.csv (29 row(s)) to ./scraper_logs_ausalexbara02_2026_09_02-07_46_09_AM/serviceability_plugin_mi4xx/mi4xx_analyzer/afid_fru_summary.csv
  2026-09-02 07:46:13 CDT       INFO               nodescraper | Closing connections
  2026-09-02 07:46:13 CDT       INFO               nodescraper | Running result collators
  2026-09-02 07:46:13 CDT       INFO               nodescraper | Running TableSummary result collator
  2026-09-02 07:46:13 CDT       INFO               nodescraper |
+--------------------------+--------+-----------------------------+
| Connection               | Status | Message                     |
+--------------------------+--------+-----------------------------+
| RedfishConnectionManager | OK     | task completed successfully |
| InBandConnectionManager  | UNSET  |                             |
+--------------------------+--------+-----------------------------+


Top Hub service action (ranks 1-2, 2 items)
+------+----------+--------+-----------+------------------------------+----------------------------------+------------------------------------------------------------------------------------------------+      
| Rank | Priority | SA Sev | Tier      | Units                        | Service Action                   | Steps                                                                                          |      
+------+----------+--------+-----------+------------------------------+----------------------------------+------------------------------------------------------------------------------------------------+      
| 1    | 25       | 20     | ...
+------+----------+--------+-----------+------------------------------+----------------------------------+------------------------------------------------------------------------------------------------+      

Additional Hub service actions (ranks 3-5, 3 items)
Lower-priority follow-on actions if the top service action does not resolve the issue.
+------+----------+--------+-----------+----------------+------------------+-------------------------------------------------------------------------------------------------+
| Rank | Priority | SA Sev | Tier      | Units          | Service Action   | Steps                                                                                           |
+------+----------+--------+-----------+----------------+------------------+-------------------------------------------------------------------------------------------------+
| 3    | 30       | 20     | Secondary | .....                                                                               |
+------+----------+--------+-----------+----------------+------------------+-------------------------------------------------------------------------------------------------+


+---------------------------+--------+-------------------------------------+
| Plugin                    | Status | Message                             |
+---------------------------+--------+-------------------------------------+
| Mi4xxServiceabilityPlugin | OK     | Plugin tasks completed successfully |
+---------------------------+--------+-------------------------------------+

  2026-09-02 07:46:13 CDT       INFO               nodescraper | Data written to csv file: ./scraper_logs_ausalexbara02_2026_09_02-07_46_09_AM/nodescraper.csv

@amd-ansonyim amd-ansonyim left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg2m

@alexandraBara
alexandraBara merged commit 253879b into development Sep 2, 2026
7 checks passed
@alexandraBara
alexandraBara deleted the alex_serv_update branch September 2, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants