-
Notifications
You must be signed in to change notification settings - Fork 57
OCPBUGS-64929: Update to diskfs master with ISO 9660 extension fix #620
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
base: main
Are you sure you want to change the base?
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@zaneb: This pull request references Jira Issue OCPBUGS-64929, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@zaneb: This pull request references Jira Issue OCPBUGS-64929, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Upgrade the minimum Go version from 1.23 to 1.24.0 in preparation for upgrading to diskfs v1.7.0, which requires Go 1.24.0. Also fix the logging format string warning that appears with Go 1.24.0+ by removing the unnecessary fmt.Sprintf() wrapper around log.Infof(). Assisted-by: Claude Code
Update to diskfs v1.7.0 to prepare for using the upstream fix for ISO 9660 filename extension truncation (PR openshift#315). API changes: - diskfs.Create() no longer takes diskfs.Raw parameter - disk.Disk.File field replaced with disk.Disk.Backend All tests pass with the updated API. Assisted-by: Claude Code
Upgrade to diskfs master (commit 58541aa) which includes the fix to properly truncate file extensions to 3 characters for ISO 9660 Level 1 compatibility. This fixes the issue where coreos-installer couldn't find kargs.json because diskfs was creating KARGS.JSON (invalid 4-char extension) instead of KARGS.JSO (valid 3-char extension). With this fix, diskfs now correctly creates ISO 9660 short names with truncated extensions, making minimal ISOs compatible with tools like coreos-installer that access files using their ISO 9660 short names. Assisted-by: Claude Code
af1f1ea to
3d8e39c
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #620 +/- ##
=======================================
Coverage 59.02% 59.02%
=======================================
Files 27 27
Lines 1674 1674
=======================================
Hits 988 988
Misses 524 524
Partials 162 162
🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin, zaneb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Scheduling tests matching the |
|
@zaneb: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/retest |
Description
Update to the latest version of go-diskfs, which includes diskfs/go-diskfs#315. This ensures that short filenames (i.e. the ones used for compatibility with consumers that don't support the Rock Ridge extension to ISO9660) are truncated to 8.3 format (i.e. ISO9660 Level 1), in the same way that ISOs created with
xorrisoin its default mode are. This is required for coreos-installer to be able to find files like e.g.KARGS.JSO(which was previously stored asKARGS.JSON).How was this code tested?
Generated a minimal ISO using this code and verified that
KARGS.JSOandBOOT.CAThave the correct short names.Assignees
/cc @carbonin
Links
Checklist
docs, README, etc)