Skip to content

NS: New Rdma plugin#135

Open
jaspals3123 wants to merge 8 commits intodevelopmentfrom
jaspal_rdma_ns
Open

NS: New Rdma plugin#135
jaspals3123 wants to merge 8 commits intodevelopmentfrom
jaspal_rdma_ns

Conversation

@jaspals3123
Copy link
Collaborator

node-scraper run-plugins RdmaPlugin

Generate reference plugin
node-scraper --gen-reference-config run-plugins RdmaPlugin

Use reference config for run
node-scraper --plugin-configs <generated json config path>

@alexandraBara
Copy link
Collaborator

When there are no RDMA deviced (Infiniband etc), i think we should either give a warning and say 'No RDMA devices found' or NOT_RAN? And the analzyer should definitely not run on an empty dataset either. See below:

(venv) alexbara@ausalexbara02:~/node-scraper$ node-scraper run-plugins RdmaPlugin
  2026-02-27 10:01:04 CST       INFO               nodescraper | Log path: ./scraper_logs_ausalexbara02_2026_02_27-10_01_04_AM
  2026-02-27 10:01:04 CST       INFO               nodescraper | System Name: ausalexbara02
  2026-02-27 10:01:04 CST       INFO               nodescraper | System SKU: None
  2026-02-27 10:01:04 CST       INFO               nodescraper | System Platform: None
  2026-02-27 10:01:04 CST       INFO               nodescraper | System location: SystemLocation.LOCAL
  2026-02-27 10:01:04 CST       INFO               nodescraper | Initializing connection manager for InBandConnectionManager with default args
  2026-02-27 10:01:04 CST       INFO               nodescraper | --------------------------------------------------
  2026-02-27 10:01:04 CST       INFO               nodescraper | Running plugin RdmaPlugin
  2026-02-27 10:01:04 CST       INFO               nodescraper | Initializing connection: InBandConnectionManager
  2026-02-27 10:01:04 CST       INFO               nodescraper | Using local shell
  2026-02-27 10:01:04 CST       INFO               nodescraper | Checking OS family
  2026-02-27 10:01:04 CST       INFO               nodescraper | OS Family: LINUX
  2026-02-27 10:01:04 CST       INFO               nodescraper | Running data collector: RdmaCollector
  2026-02-27 10:01:04 CST       INFO               nodescraper | (RdmaPlugin) Collected 0 RDMA statistics, 0 RDMA links
  2026-02-27 10:01:04 CST       INFO               nodescraper | Running data analyzer: RdmaAnalyzer
  2026-02-27 10:01:04 CST       INFO               nodescraper | (RdmaPlugin) RDMA statistics list is empty
  2026-02-27 10:01:04 CST       INFO               nodescraper | Closing connections
  2026-02-27 10:01:04 CST       INFO               nodescraper | Running result collators
  2026-02-27 10:01:04 CST       INFO               nodescraper | Running TableSummary result collator
  2026-02-27 10:01:04 CST       INFO               nodescraper |

+-------------------------+--------+-----------------------------+
| Connection              | Status | Message                     |
+-------------------------+--------+-----------------------------+
| InBandConnectionManager | OK     | task completed successfully |
+-------------------------+--------+-----------------------------+

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

  2026-02-27 10:01:04 CST       INFO               nodescraper | Data written to csv file: ./scraper_logs_ausalexbara02_2026_02_27-10_01_04_AM/nodescraper.csv

and this definitely needs to be a warning not info: 2026-02-27 10:01:04 CST INFO nodescraper | (RdmaPlugin) RDMA statistics list is empty*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants