Skip to content

Make HostedControlPlane delete more robust - #8

Merged
openshift-merge-robot merged 2 commits into
openshift:mainfrom
csrwng:fix-delete
Feb 2, 2021
Merged

Make HostedControlPlane delete more robust#8
openshift-merge-robot merged 2 commits into
openshift:mainfrom
csrwng:fix-delete

Conversation

@csrwng

@csrwng csrwng commented Feb 2, 2021

Copy link
Copy Markdown
Contributor

The hosted control plane controller can get stuck deleting resources if certain resources have already been deleted or their CRD is no longer present. This change ignores those errors when deleting a hosted control plane.

@csrwng
csrwng requested a review from enxebre February 2, 2021 00:29
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 2, 2021
@derekwaynecarr

Copy link
Copy Markdown
Member

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 2, 2021
@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csrwng, derekwaynecarr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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-merge-robot
openshift-merge-robot merged commit 68b5328 into openshift:main Feb 2, 2021
zanetworker pushed a commit to zanetworker/hypershift that referenced this pull request Sep 28, 2021
Add ability to wait for resource deletion
@csrwng
csrwng deleted the fix-delete branch June 14, 2022 19:12
cblecker added a commit to cblecker/hypershift that referenced this pull request May 29, 2026
Move E2E_ADDITIONAL_PULL_SECRET_FILE registration to the
central env var catalog (Standard openshift#8) and replace defer with
DeferCleanup for Ginkgo abort/timeout safety.

Assisted-by: Claude:claude-sonnet-4-6
YamunadeviShanmugam pushed a commit to YamunadeviShanmugam/hypershift that referenced this pull request Jun 5, 2026
Move E2E_ADDITIONAL_PULL_SECRET_FILE registration to the
central env var catalog (Standard openshift#8) and replace defer with
DeferCleanup for Ginkgo abort/timeout safety.

Assisted-by: Claude:claude-sonnet-4-6
dhgautam99 pushed a commit to dhgautam99/hypershift that referenced this pull request Jun 9, 2026
Move E2E_ADDITIONAL_PULL_SECRET_FILE registration to the
central env var catalog (Standard openshift#8) and replace defer with
DeferCleanup for Ginkgo abort/timeout safety.

Assisted-by: Claude:claude-sonnet-4-6
hypershift-jira-solve-ci Bot pushed a commit to hypershift-community/hypershift that referenced this pull request Jul 9, 2026
The router's adaptConfig function lists existing Route objects to
generate the HAProxy ConfigMap. When the router was registered early in
the component list (position openshift#8), components that create Routes —
ignition-server (openshift#35) and metrics-proxy (openshift#38) — had not yet run during
the first reconcile pass. This caused the initial HAProxy config to miss
ignition and metrics-proxy backends, routing ignition requests to the
KAS default backend and failing NodePool ignition.

Move the router component to after metricsproxyv2 (the last
route-creating component) so that all Routes exist when the router
config is generated. This reduces the race window between router config
generation and route creation, though the informer cache update from
watch events is still async so the ordering is not a hard guarantee.

Signed-off-by: OpenShift CI Bot <ci-bot@redhat.com>
YamunadeviShanmugam pushed a commit to YamunadeviShanmugam/hypershift that referenced this pull request Jul 27, 2026
Move E2E_ADDITIONAL_PULL_SECRET_FILE registration to the
central env var catalog (Standard openshift#8) and replace defer with
DeferCleanup for Ginkgo abort/timeout safety.

Assisted-by: Claude:claude-sonnet-4-6
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants