-
Notifications
You must be signed in to change notification settings - Fork 290
🐛 Allow setting force_persistent_boot_device: <value> for deploy_interface: direct
#2614
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
|
Hi @Cellebyte. Thanks for your PR. I'm waiting for a metal3-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
e97f4a4 to
f4b04fe
Compare
|
/ok-to-test |
|
@tuminoid is this error in the test related to my change? |
Not sure, do not have time right now to dig into. So, let's rerun and if it fails to the same, then very likely yes :) |
|
@tuminoid thank you for rerunning, seems to look good :) |
The prow keywords work for anyone after initial ok-to-test btw. Just in case you need to make some revisions and want/need to run some tests. |
|
Good to know :) THX |
tuminoid
left a comment
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.
/cc @lentzi90 @Rozzii @elfosardo @dtantsur
PTAL
|
I don't know this well enough to review properly, just noting that this may count as ✨ instead of 🐛 maybe? |
|
@lentzi90 I am not sure if it counts as ✨ . |
9b9575d to
8f9ed88
Compare
|
/retest |
|
So the tests are added. And everything is green :) |
Yay :) Can you squash the commit please. |
|
I can :) Will do that today :) |
|
/retest |
|
/cc @zaneb @dtantsur @elfosardo |
|
Can this be merged? |
We do currently rely on this behaviour in OpenShift. So I assume that this change will break us and 100% of other people who are using the environment variable (if any). In the bug you said that "you could also run a Live ISO like system using the direct deploy_interface" but could means you also could not do that, so setting it in an environment variable where it affects every BMH sounds like almost certainly the wrong way to configure it. For live ISO, users opt in to the configuration by selecting the |
|
I mean I could also add another environment variable which configures it for the direct interface. This would not break it for users which use both ways for their BMHs and only want to set it for live-iso. |
|
/hold cancel
This sounds reasonable IMO. |
Rozzii
left a comment
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 code looks good but it will be reworked to provide separately configurable persistent boot device behavior.
|
@Rozzii I will update this PR to accomodate for it :) |
7be48f7 to
0d3977e
Compare
|
PR is updated to accomodate for the feedback. |
|
@Rozzi can this one be merged? |
|
I think the PR description needs to be updated about renaming the LIVE_ISO_FORCE_PERSISTENT_BOOT_DEVICE env variable, which is now backwards-compatible |
Rozzii
left a comment
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.
/approve
Sorry for the late reply.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Rozzii 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 |
…erface=direct` using env Signed-off-by: Marcel Fest <[email protected]>
|
@zaneb is this now ok to merge? :) |
|
This seems correctly-named and shouldn't break anybody now. |
|
Can this be merged into the v0.12 + main? |
What this PR does / why we need it:
It allows configuring the
force_persistent_boot_device: <value>whendeploy_interface: directis used.It uses the same variable as for
deploy_interface: ramdisk.I did not rename the current env var
LIVE_ISO_FORCE_PERSISTENT_BOOT_DEVICEto be backwards compatible.It introduces a new environment variable
DIRECT_DEPLOY_FORCE_PERSISTENT_BOOT_DEVICEwhich can be toggled when using the direct interface.The default is the same behaviour as before, so people need to actively opt-in.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #2613