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
OCP 4.5.x : bootkube.sh[2365]: Error: unknown flag: --etcd-ca-key #4332
Comments
this is on libvirt IPI using the ocp_libvirt_ipi role (this has worked for me for months, on many different versions of OCP). |
@luisarizmendi Any ideas? |
I see the same behavior. In fact I am not able to get past 4.6.1 as well. I have tried both libvirt and Bare Metal. None of them is working.
|
Are you using a version of openshift-installer that matches the OpenShift version that you are trying to install? The |
@staebler ... Yes ... I am using the installer with the same version as that of the Openshift cluster. For me Openshift 4.5.6 works fine with the "same version installer". |
The ocp_libvirt_ipi role -always- uses the same version of the installer as the version of OCP you're trying to install |
Since #4150 (comment) seems to imply that the fix was merged only 3 days ago, when can we expect this in a 4.5 release? I tested 4.5.17 and got the same error. |
I am not convinced that this is accurate. How does the ocp_libvirt_ipi role know which commit to build in order to match it with the OpenShift release being installed? As far as I can tell, the clone [1] is just pulling the latest from the release-4.5 tag and not the commit matching a particular z-stream release. |
4.5.17 is scheduled to be released on Nov 5. |
I am not too sure on how the ansible role is doing this but I've always been using it for months and every time I specified an OCP version (4.5.6, 44.18, 4.3.36, 4.6.1, anything else). I would see the role download the precise revision of the installer and I would obtain a running OCP cluster with the -same- version. |
This is easy enough to verify. If you try to install 4.5.15, which commit is fetched from the installer repo? |
I tore down my 4.4.29 and tried again with 4.5.15.
|
That pulled the most recent commit from the release-4.5 branch. It did not pull the commit necessary to install 4.5.15. |
Ah, that's interesting.. so how would one identify the commit needed for 4.5.15? is there a table somewhere? I didn't find relevant tags.. |
I do not know of a authoritative location where you could find the commit used in the 4.5.15 release. There may be one, but I don't know of it. You can see here that the release was created on Oct 14. From that you can deduce from the history of the release-4.5 branch, that the commit used was 9893a48.
I guess you have been lucky in the past that there has not been any (noticeable) breaking changes.
|
I'm still seeing that very issue if I use '4.5.17' (the installer) and master. |
|
4.5.17 was built on Oct 28. The installer changes merged on Oct 29. |
@staebler Thanks for detailing that. So I should in fact be waiting for 4.5.18? when will its installer be release? do we have any idea at the moment? |
There is a weekly cadence for z-stream releases. So, barring something that would push back the release, 4.5.18 should be released on Nov 9. Note, however, that there is no libvirt installer released. You can use 4.5.17 right now: You just need to build the correct version of the installer. |
this is precisely my issue: in order for IPI to work on libvirt, the ocp_libvirt_ipi role downloads the client and the installer (it checks out master from the desired release branch) and rebuilds an installer with the libvirt bits enabled.. This is precisely where it's been failing for me since last week: because no installer currently carries the matching bits to be able to consume 'master' in 4.5. https://github.com/luisarizmendi/ocp-libvirt-ipi-role/blob/master/tasks/ocp_deploy.yml#L6-L60 |
@staebler ... I tested it 4.5.17 and i am facing the same issue as @ElCoyote27 ... For me until 4.15.16 is working fine (matching installer versions) while it breaks from 4.15.17 onwards. Additionally I am not able to run any successful installs at all on 4.6.1. These installs have been tried both on libvirt and Bare Metal. |
This sounds to me like a problem with https://github.com/luisarizmendi/ocp-libvirt-ipi-role rather than with https://github.com/openshift/installer. Maybe you could try opening an issue against that repo. |
I'm sure you already know this, but just in case - |
I tried 4.5.18 this morning on libvirt and the error is gone. My deployment is now proceeding happily. |
@nickhardiman Yes, that would have solved it (4.4 branch was unaffected) |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. 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. |
Since around the time 4.6.x came out, I've been unable to deploy 4.5.x as the bootstrap VM now complains that bootkube.sh doesn not recognize etc_ca_cert (that's from memory) as an argument.
Has anyone seen that?
as for 4.5, I've tried 4.5.11, 4.5.12 and 4.5.15, 4.5.16 and 4.5.17 (I always try not the latest version because I want to be able to have an update available right after deploy)
bootkube.sh gives a syntax error and aborts since it doesn't recognize that cli argument.. hence the bootstrap never completes
4.4.29 deploys fine, so does 4.6.1/
The text was updated successfully, but these errors were encountered: