-
Notifications
You must be signed in to change notification settings - Fork 462
templates/mco: update template to replace setupetcdenv image with MCO image #899
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
templates/mco: update template to replace setupetcdenv image with MCO image #899
Conversation
|
/approve |
8dd4bf9 to
a3457a3
Compare
|
/lgtm |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
templates/master/00-master/_base/files/etc-kubernetes-manifests-etcd-member.yaml
Outdated
Show resolved
Hide resolved
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@runcom Other people are seeing this failure in BZ: 1724346 other people are seeing the same: |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
a3457a3 to
3c5b793
Compare
|
(Pushed a commit updating the author date to stop the bot's /retest insanity for now.) |
|
Hitting BZ 1724346 See in tests logs e2e-aws: artifacts/e2e-aws/installer/logbundle..../bootstrap/journals/kubelet.log : |
|
namespace deleted, trying again /retest |
|
/retest |
|
This 100% fails with that panic 🤔 I'm wondering if something else is going on here (but upgrade passed!) |
2f32f2d to
cdcd1d2
Compare
bf9f810 to
abedb3d
Compare
|
Ok I can confirm that the problem is this branch. The mco image isn't being passed in, in the template- templates/master/00-master/_base/files/etc-kubernetes-manifests-etcd-member.yaml- (tho it is passed elsewhere successfully from the bootstrap.go/operator.go):
Key part: "Image: < no value > ,Command:[/usr/bin/setup-etcd-environment]" This is from the template where I have: The above is from controlplane/1.1.somenumber/journals/kubelet.log UPDATE: I think I got it.. |
abedb3d to
cdd6809
Compare
| initContainers: | ||
| - name: discovery | ||
| image: "{{.Images.setupEtcdEnv}}" | ||
| image: "{{.Images.machineConfigOperator}}" |
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.
so there's an issue here that is still failing. I thought I found a fix by subbing MachineConfigOperator -> machineConfigOperator I did this bc I noticed the image referenced was setupEtcdEnv and kubeClientAgentImage which is from https://github.com/openshift/machine-config-operator/blob/master/install/0000_80_machine-config-operator_02_images.configmap.yaml as opposed to images.go like elsewhere. I think this change is correct, but there is something missing for this machineconfigoperator image to be seen from the templates/ and im really not sure why?
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.
is this image somehow referenced before it has a value? (since this is in a different place than the other mc* images)
9b94309 to
cdd6809
Compare
templates/master/00-master/_base/files/etc-kubernetes-manifests-etcd-member.yaml
Outdated
Show resolved
Hide resolved
28f6171 to
6569f91
Compare
Operator.go & bootstrap.go need to reference the MCO image instead of the old setupetcdenv image. Update template to add setupetcdenv entrypoint for MCO image. Required-for: openshift/installer#1875 Related-to: openshift#850 Related-to: openshift#739 (issue will only close when final installer pr merges)
6569f91 to
6189792
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ericavonb, kikisdeliveryservice, runcom 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 |
Honestly finding images in the struct confusing as it's really the collection of two different sets of images (renderConfig and ControllerConfig). This also led to some hassles around changing images in openshift#899 for instance. This patch adds some comments around the scope of the images, split the set in two different ones (still tied to the original struct) and change the template keys used to substite.
Operator.go & bootstrap.go need to reference the MCO image instead of the
old setupetcdenv image.
Update template to add setupetcdenv entrypoint for MCO image.
Required-for: openshift/installer#1875
Related-to: #850
Related-to: #739 (issue will only close when final installer pr merges)
cc: @runcom