-
Notifications
You must be signed in to change notification settings - Fork 182
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 extra manifests during 06_deploy_bootstrap_vm.sh #127
Conversation
manifests/README.md
Outdated
done | ||
``` | ||
These manifests will be applied by the installer in order, based on the | ||
prefix, but not that currently kni-installer uses prefixes of 99 for most |
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.
typo s/not/note
Build SUCCESS, see build http://10.8.144.11:8080/job/dev-tools/133/ |
We add a create manifests step before generating the ignition configs, because the assets in kni-installer will read all files in the location, so we can easily patch in the extra manifests needed. In future it may be cleaner to add the manifest assets directly to kni-installer, but for now this should be a simple way to iterate on testing the manifests. Note that the index prefix was changed to align with the existing manifests generated by kni_installer, I'm assuming using a larger index here will result in the desired serialization so these are applied post-openshift things, testing needed to confirm this.
Build SUCCESS, see build http://10.8.144.11:8080/job/dev-tools/135/ |
Ok so this appears to apply the manifests (I see the kubevirt CRD) but kubevirt doesn't yet come up - from talking with @fabiand it sounds like we're blocked on some testing of kubevirt on OCP4 on other platforms, so we should probably revisit debugging when that is completed, and metalkube can deploy workers. Probably no harm in deploying with these manifests though, provided the deploy still works and it doesn't add much time to the walltime. |
@hardys I don't think it actually works. Yes I see
This is weird because I was able to bring up kubevirt several days ago. |
@hardys I see the following errors in
Which is the same error as when trying to apply manifests manually. |
I think there is some issue with |
Hm, let's not move kubevirt to @slintes you are an expert in this area. Thoughts? |
@vrutkovs perhaps you can help outline the plan as discussed on slack here, my understanding is short-term we need to replace this approach with some script that will run after the masters are deployed (with the wait stuff from #130), but that long term we should be able to correctly serialize the manifests but I'm still not completely clear on what is needed to make that work? |
Yes, according to https://github.com/openshift/installer/blob/master/docs/user/customization.md#kubernetes-customization-unvalidated the installer can tell CVO to apply additional manifests during/after install, similar to what #137 is doing. In the end it would become a part of kni-install |
Ok closing this for now and we'll apply the manifests with a script, then revisit applying them via kni-installer later |
We expect this to be handled via kni-installer but there were issues with that ref openshift-metal3#127 so lets just apply them via a script for now, which is probably easier for test/dev workflows anyway.
We expect this to be handled via kni-installer but there were issues with that ref openshift-metal3#127 so lets just apply them via a script for now, which is probably easier for test/dev workflows anyway.
We add a create manifests step before generating the ignition
configs, because the assets in kni-installer will read all files
in the location, so we can easily patch in the extra manifests
needed.
In future it may be cleaner to add the manifest assets directly
to kni-installer, but for now this should be a simple way to
iterate on testing the manifests.
Note that the index prefix was changed to align with the existing
manifests generated by kni_installer, I'm assuming using a larger
index here will result in the desired serialization so these are
applied post-openshift things, testing needed to confirm this.