-
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
vsphere: Close a possible race with Ignition firstboot completion #2554
Conversation
I was looking at https://bugzilla.redhat.com/show_bug.cgi?id=1762509 and that linked to this code (I don't quite understand why we're rebooting here...this code really needs like some comments) but anyways one possible issue I see here is that we will race with `ignition-firstboot-complete.service`. I'm going to fix FCOS so that service runs much earlier too, but let's add this ordering here. And someone please explain in some comments what is going on here.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cgwalters 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 |
See: openshift/installer#2554 Basically the OpenShift installer on vSphere injects a service which reboots the first time, but I believe this could easily race with `ignition-firstboot-complete`. Let's mark the boot complete much earlier.
@staebler @dav1x this was before my time working on this any ideas for the need of the reboot? |
/test e2e-vsphere |
In RHCOS today we teardown the Ignition network (DHCP) by default for exactly this reason: So it should work without rebooting. |
Yes, this was prior to the change in rhcos where the network was configured at the time of the ignition application. This was meant to activate the static ip configuration from ignition after the system was idle. This can probably be removed now. |
See: openshift/installer#2554 Basically the OpenShift installer on vSphere injects a service which reboots the first time, but I believe this could easily race with `ignition-firstboot-complete`. Let's mark the boot complete much earlier. (cherry picked from commit 598bbdd)
See: openshift/installer#2554 Basically the OpenShift installer on vSphere injects a service which reboots the first time, but I believe this could easily race with `ignition-firstboot-complete`. Let's mark the boot complete much earlier. (cherry picked from commit 598bbdd)
/retest |
@cgwalters: 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. |
I will defer to the experts here. |
/close |
@cgwalters: 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. |
I was looking at https://bugzilla.redhat.com/show_bug.cgi?id=1762509
and that linked to this code (I don't quite understand why
we're rebooting here...this code really needs like some comments)
but anyways one possible issue I see here is that we will
race with
ignition-firstboot-complete.service
.I'm going to fix FCOS so that service runs much earlier too,
but let's add this ordering here.
And someone please explain in some comments what is going on
here.