-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
WIP Add fcos flag which transpiles ignition files from spec2 to spec3 #2146
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vrutkovs The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
It's fine for testing, but we wouldn't be able to accept any new flags like fcos. |
awesome! I just had a first quick glance. Can we call the flag |
@abhinavdahiya in MCO we'll put spec3 changes in the |
Perhaps this should be an |
The installer is designed to launch a single release image. If other release images are close enough that the installer can launch them too, then great, but I don't think we want a bunch of settings (in any location) to say "slot in the logic for launching this other class of release images". If folks want to test the spec3 format, just create a spec3 branch of the installer and use that. Eventually (when RHCOS moves to spec3), the mainline installer will also move to spec3 (e.g. with a revived #1468). But I think life gets unnecessarily complicated if we try to track both a given RHCOS series and a given FCOS series in the same installer branch, when we can get the same result by branching the installer (or just waiting on FCOS-backed clusters until RHCOS catches up). |
How will installer go without some sort of dual spec2/spec3 support before we are able to update bootimages (openshift/os#381)? Or are we waiting for that to be possible before moving to spec3 with RHCOS? |
Hmm. Maybe, though we may need more conditional code to support FCOS than just spec 2 vs 3. Anyways, I'm aware the installer team didn't get CC'd on the plan - we can reconsider things here, but we need a cohesive architecture to pull off FCOS-for-OKD. Maybe instead of a git branch, it's a build-time option? That's what we want ultimately I think, is for the |
I don't mind making a fork, but KNI team had kept its fork for ~3 month and it was pretty painful to merge it back. The situation where community has to use a fork until RHCOS supports spec3 doesn't look good to me |
Your doc mentions dropping the bootstrap machine's kubelet dependency as a possible step. If that turns out to be feasible, I don't see an issue with doing that in our master branch; no need for a knob to toggle it. Are there other changes you expect where FCOS would have a long-running divergence from RHCOS?
What's blocking RHCOS moving to spec3? I'd guess the issue is how we manage upgrades from clusters with spec2 bootimages, and bootimage changes at all are still unclear (openshift/os#381). Would the MCO serve spec2 and spec3 content depending on how it was asked during the transition? But from the installer side, serving spec3 content to the stock RHCOS bootimages seems pretty straightforward (e.g. #1468), so I don't see us holding this up. The only changes you'd need in a spec3 fork are the What's the pressure for FCOS support? If maintaining a spec3 fork for too long seems arduous, how much does it hurt to just wait until spec3 RHCOS is here (or at least closer)? |
The MCO side of bootimage handling and transitioning is in openshift/machine-config-operator#492 |
has this even been planned for the very near future @wking @cgwalters ? |
@vrutkovs: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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 kubernetes/test-infra repository. I understand the commands that are listed here. |
/close closing without prejudice due to age. Please consider opening an issue or enhancement to discuss and bring consensus on the fix, or if you think this is still important in current state feel free to reopen. |
@abhinavdahiya: Closed this PR. In 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 kubernetes/test-infra repository. |
This PR would add a new
--fcos
flag to installer, which would quickly patch ignition files to be compatible with spec3TODO: