Skip to content
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

Remove DRPC deletion command, as it is automatically deleted. #8799

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

sidhant-agrawal
Copy link
Contributor

Fixes: #8798

The DRPC deletion command was used to delete the DRPC during ApplicationSet workload deletion. However, this command is no longer necessary, as the DRPC is now automatically deleted (BZ 2234428)
This change removes the DRPC deletion command.

@sidhant-agrawal sidhant-agrawal requested a review from a team as a code owner November 7, 2023 06:36
@sidhant-agrawal sidhant-agrawal requested a review from a team November 7, 2023 06:37
@sidhant-agrawal
Copy link
Contributor Author

Verified: https://url.corp.redhat.com/21b9a28

@sidhant-agrawal sidhant-agrawal added the Verified Mark when PR was verified and log provided label Nov 7, 2023
finally:
config.switch_acm_ctx()
run_cmd(
f"oc delete drpc -n {constants.GITOPS_CLUSTER_NAMESPACE} {drpc_name}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is constants.GITOPS_CLUSTER_NAMESPACE used somewhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's being used in dr_helpers.py

@am-agrawa
Copy link
Contributor

@sidhant-agrawal Have you checked if placement is getting auto-deleted every time so that we no longer need to delete drpc?

@sidhant-agrawal
Copy link
Contributor Author

@sidhant-agrawal Have you checked if placement is getting auto-deleted every time so that we no longer need to delete drpc?

Yes, the placement will be deleted here. Therefore, manual deletion of DRPC not needed.

Copy link
Contributor

@shylesh shylesh left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

openshift-ci bot commented Nov 21, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: am-agrawa, jilju, prsurve, shylesh, sidhant-agrawal

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

@sidhant-agrawal sidhant-agrawal merged commit 89ca4a7 into red-hat-storage:master Nov 21, 2023
4 checks passed
@sidhant-agrawal sidhant-agrawal added the DR Metro and Regional DR related PRs label May 21, 2024
@sidhant-agrawal sidhant-agrawal deleted the fix-tier1 branch August 9, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DR Metro and Regional DR related PRs lgtm size/XS Squad/Turquoise Verified Mark when PR was verified and log provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RDR tests using the ApplicationSet workload fail during teardown
5 participants