Skip to content

munet: emulated USB mounting option (in addition to 9p) for Qemu nodes - #68

Merged
choppsv1 merged 3 commits into
LabNConsulting:mainfrom
liambrady:liambrady/usb_mounting
Oct 1, 2025
Merged

choppsv1 merged 3 commits into
LabNConsulting:mainfrom
liambrady:liambrady/usb_mounting

Conversation

@liambrady

Copy link
Copy Markdown
Contributor

Shared volumes are currently only mounted into L3Qemu nodes via 9p file system support. 9p is unavailable in some environments, such as within RHEL virtual machines. This commit implements an alternative method of mounting volumes, specifically through Qemu's ability to emulate directories as fat32 USB drives.

The added tests cover previously untested code. It additionally covers the newly introduces USB mounting option for hosts that do not support the 9p file system type.

@liambrady liambrady added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 12, 2025
@codecov

codecov Bot commented Aug 12, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.22642% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.17%. Comparing base (d611d46) to head (dd8547a).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
munet/native.py 96.22% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
- Coverage   60.07%   59.17%   -0.91%     
==========================================
  Files          19       19              
  Lines        5829     5832       +3     
==========================================
- Hits         3502     3451      -51     
- Misses       2327     2381      +54     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@liambrady
liambrady requested a review from choppsv1 August 12, 2025 23:03
@liambrady
liambrady marked this pull request as ready for review August 12, 2025 23:03
@liambrady liambrady changed the title munet: emulated USB mounting in addition to 9p for Qemu nodes munet: emulated USB mounting option (in addition to 9p) for Qemu nodes Aug 12, 2025
liambrady and others added 3 commits October 1, 2025 04:07
Shared volumes are currently only mounted into L3Qemu nodes
via 9p file system support. 9p is unavailable in some
enironments, such as within RHEL virtual machines. This
commit implements an alternative method of mounting volumes,
specifically through Qemu's ability to emulate directories
as fat32 USB drives.

Signed-off-by: Liam Brady <lbrady@labn.net>
Covers previously untested code. Additionally covers the newly
introduces USB mounting option for hosts that do not support
the 9p file system type.

Signed-off-by: Liam Brady <lbrady@labn.net>
Signed-off-by: Christian Hopps <chopps@labn.net>
@choppsv1
choppsv1 force-pushed the liambrady/usb_mounting branch from 6877c3a to dd8547a Compare October 1, 2025 13:24
@choppsv1
choppsv1 merged commit 923603b into LabNConsulting:main Oct 1, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants