Repository navigation
fix(installer): explain failed OpenIB service #7152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ericksoa
merged 5 commits into
NVIDIA:main
from
senthilr-nv:codex/7151-openibd-remediation
Jul 18, 2026
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4b3cfdd
fix(installer): explain failed OpenIB service
senthilr-nv 3c35730
test(installer): reject interrupted OpenIB fixtures
senthilr-nv 151ea64
fix(installer): clarify OpenIB usage checks
senthilr-nv 970382b
Merge branch 'main' into codex/7151-openibd-remediation
ericksoa 3dc37d6
chore(ci): refresh PR-bound checks
ericksoa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| import { spawnSync } from "node:child_process"; | ||
| import fs from "node:fs"; | ||
| import os from "node:os"; | ||
| import path from "node:path"; | ||
| import { describe, expect, it } from "vitest"; | ||
| import { TEST_SYSTEM_PATH } from "./helpers/installer-sourced-env"; | ||
|
|
||
| const REPO_ROOT = path.resolve(import.meta.dirname, ".."); | ||
| const STATION_PREPARE = path.join(REPO_ROOT, "scripts", "prepare-dgx-station-host.sh"); | ||
|
|
||
| function checkFailedUnit(unit: string) { | ||
| const home = fs.mkdtempSync(path.join(os.tmpdir(), "nemoclaw-station-openibd-")); | ||
| const result = spawnSync( | ||
| "bash", | ||
| [ | ||
| "--noprofile", | ||
| "--norc", | ||
| "-c", | ||
| ` | ||
| source "$SCRIPT_UNDER_TEST" >/dev/null | ||
| systemctl() { printf '%s loaded failed failed fixture\\n' "$FAILED_UNIT"; } | ||
| check_failed_units | ||
| `, | ||
| ], | ||
| { | ||
| cwd: REPO_ROOT, | ||
| encoding: "utf-8", | ||
| env: { | ||
| HOME: home, | ||
| PATH: TEST_SYSTEM_PATH, | ||
| SCRIPT_UNDER_TEST: STATION_PREPARE, | ||
| FAILED_UNIT: unit, | ||
| }, | ||
| timeout: 15_000, | ||
| killSignal: "SIGKILL", | ||
| }, | ||
| ); | ||
| return { result, output: `${result.stdout}${result.stderr}` }; | ||
| } | ||
|
|
||
| describe("DGX Station OpenIB remediation", () => { | ||
| it("explains how owners can resolve a failed OpenIB service without changing it (#7151)", () => { | ||
| const openibd = checkFailedUnit("openibd.service"); | ||
|
|
||
| expect(openibd.result.error, openibd.output).toBeUndefined(); | ||
| expect(openibd.result.status, openibd.output).not.toBeNull(); | ||
| expect(openibd.result.status, openibd.output).not.toBe(0); | ||
| expect(openibd.output).toMatch(/unqualified failed unit: openibd.service/); | ||
| expect(openibd.output).toMatch(/NemoClaw does not require RDMA/); | ||
| expect(openibd.output).toMatch(/ip route get 1\.1\.1\.1/); | ||
| expect(openibd.output).toMatch(/findmnt -rn -t nfs,nfs4 -o TARGET,OPTIONS/); | ||
| expect(openibd.output).toMatch(/sudo systemctl disable openibd.service/); | ||
| expect(openibd.output).toMatch(/repair OpenIB\/OFED/); | ||
| expect(openibd.output).toMatch(/NemoClaw did not change systemd or networking state/); | ||
| expect(openibd.output).toMatch(/Unqualified failed system units block Station preparation/); | ||
| }); | ||
|
|
||
| it("keeps unrelated failed units on the generic fail-closed path (#7151)", () => { | ||
| const unrelated = checkFailedUnit("ssh.service"); | ||
|
|
||
| expect(unrelated.result.error, unrelated.output).toBeUndefined(); | ||
| expect(unrelated.result.status, unrelated.output).not.toBeNull(); | ||
| expect(unrelated.result.status, unrelated.output).not.toBe(0); | ||
| expect(unrelated.output).toMatch(/unqualified failed unit: ssh.service/); | ||
| expect(unrelated.output).not.toMatch(/NemoClaw does not require RDMA/); | ||
| expect(unrelated.output).not.toMatch(/sudo systemctl disable openibd.service/); | ||
| expect(unrelated.output).toMatch(/Unqualified failed system units block Station preparation/); | ||
| }); | ||
| }); | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.