-
Notifications
You must be signed in to change notification settings - Fork 403
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
Pick image from release payload for crio.conf pause_image #471
Conversation
2cd888b
to
49f3c36
Compare
bootkube PR openshift/installer#1292 |
missing
|
Let's chase down what's the pod image, apart from Abhinav comment, code looks already good (I'll defer a full review after we have everything in place) |
@abhinavdahiya what is missing? I have |
sorry missed the change below all the test_data :P |
/retest |
Could also add a test to verify that |
49f3c36
to
0235f51
Compare
Fixed the infra_image name. Ready for review and merge. |
This looks good but I'm wondering about orders of PRs now between here and installer since the note here https://github.com/openshift/machine-config-operator/pull/471/files#diff-c15e2a465008fe4b86940c96d54a17eaR3 @cgwalters ^^^ |
Yep this needs to land first, then the installer PR. |
cause this is what actually generates the pod image in the release right? |
0235f51
to
826bbb2
Compare
Just a comment, looks good to me otherwise and we verified with @umohnani8 and @mrunalp that the pod image is indeed in the payload generated from this PR, with #472 @umohnani8 you should be able to test the flow with a dummy value as well. |
/approve |
No, at least I'm pretty sure that's not true. Is
So...if this works, I think it only works because that image is already part of the build system. (But I am fuzzy on this part. I know for "external" images like etcd and machine-os-content, Clayton added those manually) |
yes, we went through the doc explaining that yesterday and I forgot to cancel my message 👍 |
826bbb2
to
27e2965
Compare
/lgtm I guess the path now is, merge this, merge installer PR, create another PR here to remove the default |
aws limit hit /retest |
27e2965
to
eacab5e
Compare
OK I think I understand the problem. You need to drop the change to |
Although...one thing that changed recently is we started gating installs on I have a feeling we were actually relying on that in order to be able to make a change like this... |
@cgwalters by temporarily you mean till we get the installer PR in openshift/installer#1292 ? |
776f0d7
to
5a6f453
Compare
I am thinking the flow needs to be something like this:
|
To rephrase #471 (comment) - we need to add the CLI option to |
(And the need to do this dance would go away if we changed the MCO bootstrap phase to gain access to the CVO directly) |
Concretely, I would make a new PR that has this single line change:
And keep this PR open - land the installer change, then rebase this PR on top of that. |
Adding this, so we can get the installer PR in first before landing in openshift#471. This is from an approved and lgtm'ed PR openshift#471. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
We want to pick the release payload image for the infra image. Passing along the image we get from bootkube during bootstrap to crio.conf. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
5a6f453
to
01f8187
Compare
So the tests here are passing now... Did we just have to break it down into 2 steps? So we get this in first then openshift/installer#1292? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, runcom, umohnani8 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-aws-op |
Now the tests are failing :/ Are the failures expected? |
Hmm. Something failed early in the bootstrap node there. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
We want to pick the release payload image for the infra image.
Passing along the image we get from bootkube during bootstrap to
crio.conf.
Removed
infraImage
from the ctrcfg CR as well.Note: we don't know what the infra image is called in the release payload yet, still working on figuring that out. I have seen it being `docker.io/openshift/origin-pod:v4.0.0" in openshift-ansible so using that for now. Will update that once we get a confirmation.
Also opening a PR in installer to add the infra image to bootkube.sh
Fixes #455
Signed-off-by: Urvashi Mohnani umohnani@redhat.com