Skip to content

Commit 1c123a4

Browse files
authored
feat(gateway): check VM host tools during config preflight (#4037)
* feat(gateway): validate VM filesystem tools during preflight Check required local VM tools through config preflight and share executable resolution with VM image operations. Report selected paths and actionable errors without creating gateway or sandbox state. Bound probe output and execution time, and clean up probe descendants on interruption. Preserve pure static validation and skip local tool checks for remote driver endpoints and unrelated drivers. Fixes #3951 Related to #3955 Signed-off-by: Shiju <shiju@nvidia.com> * fix(gateway): stabilize filesystem preflight checks Combine identical filesystem-tool error arms and normalize rendered diagnostics in command tests so terminal wrapping preserves assertions. Describe driver TLS validation without depending on removed guest fields. Signed-off-by: Shiju <shiju@nvidia.com> * test(gateway): serialize preflight fixture paths as TOML Keep temporary paths quoted and escaped through the TOML serializer instead of relying on Rust Debug formatting. Signed-off-by: Shiju <shiju@nvidia.com> --------- Signed-off-by: Shiju <shiju@nvidia.com>
1 parent 4188eab commit 1c123a4

10 files changed

Lines changed: 1211 additions & 326 deletions

File tree

‎crates/openshell-core/src/e2fsprogs.rs‎

Lines changed: 598 additions & 0 deletions
Large diffs are not rendered by default.

‎crates/openshell-core/src/lib.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ pub mod denial;
1717
pub mod driver_mounts;
1818
pub mod driver_utils;
1919
pub mod dynamic_string_allowlist;
20+
#[cfg(unix)]
21+
pub mod e2fsprogs;
2022
pub mod endpoint_path;
2123
pub mod endpoint_status;
2224
pub mod error;

0 commit comments

Comments
 (0)