Skip to content

Conversation

tjungblu
Copy link
Contributor

This newly introduced sidecar will monitor whether the boostrap member was removed by the CEO and remove its own static pod file from the kubelet manifest folder.

This ensures that the bootstrap member doesn't come back again or crash loops/restarts during that time.

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jul 24, 2025
@openshift-ci-robot
Copy link

@tjungblu: This pull request references Jira Issue OCPBUGS-48400, which is invalid:

  • expected the bug to target either version "4.20." or "openshift-4.20.", but it targets "4.19.z" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This newly introduced sidecar will monitor whether the boostrap member was removed by the CEO and remove its own static pod file from the kubelet manifest folder.

This ensures that the bootstrap member doesn't come back again or crash loops/restarts during that time.

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 openshift-eng/jira-lifecycle-plugin repository.

@tjungblu
Copy link
Contributor Author

/test all

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 24, 2025
Copy link
Contributor

openshift-ci bot commented Jul 24, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@tjungblu tjungblu changed the title OCPBUGS-48400: add bootstrap etcd sidecar OCPBUGS-48400: add bootstrap etcd removal sidecar Jul 24, 2025
Copy link
Contributor

openshift-ci bot commented Jul 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tjungblu

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 24, 2025
terminationMessagePolicy: FallbackToLogsOnError
securityContext:
privileged: true
volumeMounts:
Copy link
Contributor

@lance5890 lance5890 Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing volumeMounts points ?

-  name: certs

   mountPath: /etc/ssl/etcd/

This newly introduced sidecar will monitor whether
the boostrap member was removed by the CEO and remove
its own static pod file from the kubelet manifest folder.

This ensures that the bootstrap member doesn't come back
again or crash loops/restarts during that time.

Signed-off-by: Thomas Jungblut <[email protected]>
@tjungblu
Copy link
Contributor Author

/test e2e-aws-ovn-serial

Copy link
Contributor

openshift-ci bot commented Jul 29, 2025

@tjungblu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-metal-assisted 5a482f5 link true /test e2e-metal-assisted
ci/prow/e2e-gcp-ovn-etcd-scaling 5a482f5 link false /test e2e-gcp-ovn-etcd-scaling
ci/prow/e2e-aws-cpms 5a482f5 link true /test e2e-aws-cpms
ci/prow/e2e-metal-ovn-sno-cert-rotation-shutdown 5a482f5 link false /test e2e-metal-ovn-sno-cert-rotation-shutdown
ci/prow/e2e-vsphere-ovn-etcd-scaling 5a482f5 link false /test e2e-vsphere-ovn-etcd-scaling
ci/prow/e2e-metal-ovn-two-node-fencing 5a482f5 link false /test e2e-metal-ovn-two-node-fencing
ci/prow/e2e-metal-ovn-ha-cert-rotation-shutdown 5a482f5 link false /test e2e-metal-ovn-ha-cert-rotation-shutdown
ci/prow/e2e-aws-etcd-certrotation 5a482f5 link false /test e2e-aws-etcd-certrotation
ci/prow/e2e-gcp-disruptive-ovn 5a482f5 link false /test e2e-gcp-disruptive-ovn
ci/prow/e2e-azure 5a482f5 link false /test e2e-azure
ci/prow/e2e-aws-disruptive 5a482f5 link false /test e2e-aws-disruptive
ci/prow/e2e-gcp-disruptive 5a482f5 link false /test e2e-gcp-disruptive
ci/prow/e2e-aws-etcd-recovery 5a482f5 link false /test e2e-aws-etcd-recovery
ci/prow/e2e-aws-ovn-single-node 5a482f5 link true /test e2e-aws-ovn-single-node
ci/prow/e2e-metal-single-node-live-iso 5a482f5 link false /test e2e-metal-single-node-live-iso
ci/prow/configmap-scale 5a482f5 link false /test configmap-scale
ci/prow/okd-scos-e2e-aws-ovn 5a482f5 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-aws-ovn-etcd-scaling 5a482f5 link true /test e2e-aws-ovn-etcd-scaling
ci/prow/e2e-azure-ovn-etcd-scaling 5a482f5 link false /test e2e-azure-ovn-etcd-scaling
ci/prow/e2e-aws-disruptive-ovn 5a482f5 link false /test e2e-aws-disruptive-ovn
ci/prow/e2e-aws-ovn-serial d7586fd link true /test e2e-aws-ovn-serial

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

Comment on lines +101 to +102
- name: "ETCDCTL_ENDPOINTS"
value: "https://localhost:2379"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has a bit of a logical fallacy, because when the member is removed, you won't be able to member list anymore and you won't notice the bootstrap member was removed from the list.

@lance5890
Copy link
Contributor

I have a draft idea in mind. If you think this is okay, I'll finish it. If not, feel free to close/ignore it, please see openshift/installer#9857

  • as the ceo bootstrapteardown controller watches the bootstrap cm to tear down the bootstrap-etcd member
  • maybe should remove the bootstrap-etcd member in the temporary control plane by the report-grogress service,which create the bootstrap cm to show that the member can be removed now

@tjungblu
Copy link
Contributor Author

That's also a sensible approach @lance5890 - we can see what the installer team thanks about openshift/installer#9857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants