-
Notifications
You must be signed in to change notification settings - Fork 150
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
Fix storage scanner parsing error #1258
Fix storage scanner parsing error #1258
Conversation
Thank you for contributing to the Leapp project!Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable.
Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build.
Note that first time contributors cannot run tests automatically - they need to be started by a reviewer. It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported,
See other labels for particular jobs defined in the Please open ticket in case you experience technical problem with the CI. (RH internal only) Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra. |
@tomasfratrik rebase against master. tests should be fixed now |
37dd3a9
to
d8b36ad
Compare
/packit retest-failed |
2 similar comments
/packit retest-failed |
/packit retest-failed |
d8b36ad
to
d2cfdd0
Compare
repos/system_upgrade/common/actors/storagescanner/libraries/storagescanner.py
Outdated
Show resolved
Hide resolved
@tomasfratrik Works as expected now, please squash the commits and I can approve this. |
dfc7600
to
69bbd72
Compare
The latest push squashes commits. |
/packit retest-failed |
/packit test |
69bbd72
to
e3cc79a
Compare
@tomasfratrik Hmm, if you step back and read the commit message with fresh eyes, it is not clear what does "this issue" refers to:
Could you please rephrase the commit message describes the problem without ambiguous references? Below, you can find my suggestion, but I feel that it is a bit too detailed, maybe there is a shorter one.
|
Fix storagescanner actor crash when parsing the output of, e.g., 'pvs -a', which used ':' as a separator and caused errors. The issue occurred because separator ':' is used to split the outputs of executed commands. This commit resolves the problem by changing the separator to '|'. Jira: RHEL-34570
e3cc79a
to
a2d0e78
Compare
Yes you are right about the commit message. There are many ambiguous references. So I took your suggestion and made concise version. lmk if I should change it again. |
I have retested the PR and it works as expected. LGTM! |
The given error arises when storage scanner actor attempts to parse output from command
pvs
while output containts separator symbol within itself. Changed the format of physical volume as was suggested in the ticket so it contains separator:
, and was given following error while preupgrade and upgrade.(e.g: format of physical volume, contains the symbol
:
`/dev/disk/by-path/pci-0000:00:03.0-part2)Therefore changing the separation symbol to
|
, and running preupgrade and upgrade from RHEL8 to RHEL9 didn't raise any errors.Jira: RHEL-34570