Skip to content

CORS-3998: Remove base domain from metadata #9711

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rna-afk
Copy link
Contributor

@rna-afk rna-afk commented May 14, 2025

Since HIVE finds it real hard to add extra field to the metadata, adding this base domain causes things to crash at their end. Removing the base domain field from the metadata.

The base domain field was added to the metadata for the sole purpose of checking the public dns zone for any stray records of a cluster. This only happens if the user deletes the resource group of the cluster instead of running destroy cluster through the installer.

Ascertaining the public record is going to be a real tough task without passing the value through the metadata and hence, choosing the bug with the lower probability.

This reverts commit 9f392fa.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 14, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented May 14, 2025

@rna-afk: This pull request references CORS-3998 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set.

In response to this:

Since HIVE finds it real hard to add extra field to the metadata, adding this base domain causes things to crash at their end. Removing the base domain field from the metadata.

The base domain field was added to the metadata for the sole purpose of checking the public dns zone for any stray records of a cluster. This only happens if the user deletes the resource group of the cluster instead of running destroy cluster through the installer.

Ascertaining the public record is going to be a real tough task without passing the value through the metadata and hence, choosing the bug with the lower probability.

This reverts commit 9f392fa.

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.

@openshift-ci openshift-ci bot requested review from jhixson74 and sadasu May 14, 2025 06:29
@patrickdillon
Copy link
Contributor

IIUC this is just reverting #9365 and not proposing an alternate fix? That is fine, just want to make sure I understand. I suggested that we could glean the name from the private dns zone, but I realize by the nature of this bug, the private DNS zone has been destroyed. 🤦 So I agree with your conclusion, it seems like in this scenario, we cannot determine zone/record.

Because Azure DNS records allow tags, it should be do-able for clients to setup automation to scrub leaked records.

Since HIVE finds it real hard to add extra field to the metadata,
adding this base domain causes things to crash at their end.
Removing the base domain field from the metadata.

The base domain field was added to the metadata for the sole
purpose of checking the public dns zone for any stray records
of a cluster. This only happens if the user deletes the
resource group of the cluster instead of running destroy
cluster through the installer.

Ascertaining the public record is going to be a real tough
task without passing the value through the metadata and
hence, choosing the bug with the lower probability.

This reverts commit 9f392fa.
@rna-afk rna-afk force-pushed the remove_base_domain_metadata branch from ebf61da to 153366e Compare May 20, 2025 16:51
Copy link
Contributor

openshift-ci bot commented May 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rna-afk for approval. For more information see the Code Review Process.

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

Copy link
Contributor

openshift-ci bot commented May 20, 2025

@rna-afk: 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-azurestack 153366e link false /test e2e-azurestack
ci/prow/okd-scos-e2e-aws-ovn 153366e link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-vsphere-ovn-multi-network 153366e link false /test e2e-vsphere-ovn-multi-network

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.

@sadasu
Copy link
Contributor

sadasu commented May 29, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. 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