-
Notifications
You must be signed in to change notification settings - Fork 353
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
Rhel7 branch non ibft boot #1437
Rhel7 branch non ibft boot #1437
Conversation
The patch for improving the UI feedback is dealing with propagating of storage check errors into UI where it seems easy to make a regression by trying to fix it too much, so (given it is 6th minor release) I decided to play conservative and safe here. I'll add inline comments for explanation.
|
pyanaconda/bootloader.py
Outdated
if errors: | ||
msg = msg + ": " + "; ".join(errors) | ||
self.errors = errors | ||
raise BootLoaderError(msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This (the exception msg) gets to the error detail dialog for autopartitiong case.
pyanaconda/bootloader.py
Outdated
msg = "Failed to find a suitable stage1 device" | ||
if errors: | ||
msg = msg + ": " + "; ".join(errors) | ||
self.errors = errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The self.errors (self is a Bootloader instance) will be gathered when creating error details for custom partitioning.
Here the errors are collected locally in errors variable because is_valid_stage1_device clears the self.errors when called so older errors from the loop above would be lost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me but I have one question though.
Isn't the --nonibftiscsiboot
too long, what is wrong with the --nonibftboot
name?
@jkonecny12 |
jenkins, test this please |
1 similar comment
jenkins, test this please |
db0cf2a
to
11dac77
Compare
Added CI fixes (style guide: bootloader -> boot loader) |
jenkins, test this please |
The option allow placing bootloader on non-iBFT iSCSI disks Resolves: rhbz#1562301
11dac77
to
0e4eba4
Compare
@poncovka |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now. Thank you!
Related: rhbz#1562301
0e4eba4
to
9724f1e
Compare
Ported to master with 0236294 |
No description provided.