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

DFBUGS-943: Fix key and ownerRef bug #241

Merged

Conversation

Madhu-1
Copy link
Member

@Madhu-1 Madhu-1 commented Nov 27, 2024

This is a backport PR of csi-addons#718 to 4.18 branch, This is alaredy synced to downstream main branch

namespace + "/" + leader identity(pod name)
is the key for the connection.
this key is used by GetLeaderByDriver to
get the connection.
csi-lib-utils/leaderelection:sanitizeName() is
used to sanitize the leader identity used
for the leases csiaddonsnode need to store the
key with same format so that it can be used
to get the connection.

Signed-off-by: Madhu Rajanna <[email protected]>
(cherry picked from commit 6c31248)
The pod might move to new nodes and this
might create the stale CSIAddonsNode object.
so, we need to set the pod as the owner
for the deployment as we dont store any details
that are required later on for any other
operations like Fencing etc.

Signed-off-by: Madhu Rajanna <[email protected]>
(cherry picked from commit f037599)
@openshift-ci-robot
Copy link

@Madhu-1: No Jira issue with key BFBUGS-943 exists in the tracker at https://issues.redhat.com/.
Once a valid jira issue is referenced in the title of this pull request, request a refresh with /jira refresh.

In response to this:

This is a backport PR of csi-addons#718 to 4.18 branch, This is alaredy synced to downstream main branch

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.

@Madhu-1 Madhu-1 changed the title BFBUGS-943: Fix key and ownerRef bug DFBUGS-943: Fix key and ownerRef bug Nov 27, 2024
@openshift-ci-robot openshift-ci-robot added jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-reference jira/valid-bug Indicates that the referenced jira bug is valid for the branch this PR is targeting labels Nov 27, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 27, 2024

@Madhu-1: This pull request references [Jira Issue DFBUGS-943](https://issues.redhat.com//browse/DFBUGS-943), which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (odf-4.18) matches configured target version for branch (odf-4.18)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jilju

In response to this:

This is a backport PR of csi-addons#718 to 4.18 branch, This is alaredy synced to downstream main branch

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.

Copy link

openshift-ci bot commented Nov 27, 2024

@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: jilju.

Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@Madhu-1: This pull request references [Jira Issue DFBUGS-943](https://issues.redhat.com//browse/DFBUGS-943), which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (odf-4.18) matches configured target version for branch (odf-4.18)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @jilju

In response to this:

This is a backport PR of csi-addons#718 to 4.18 branch, This is alaredy synced to downstream main branch

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.

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.

@black-dragon74
Copy link
Member

/lgtm
/approve

Copy link

openshift-ci bot commented Nov 27, 2024

@black-dragon74: changing LGTM is restricted to collaborators

In response to this:

/lgtm
/approve

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.

@Madhu-1
Copy link
Member Author

Madhu-1 commented Nov 27, 2024

@nixpanic @Rakshith-R we need LGTM on this one

@Madhu-1
Copy link
Member Author

Madhu-1 commented Nov 27, 2024

/assign @iPraveenParihar

@iPraveenParihar
Copy link
Member

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Nov 27, 2024
Copy link

openshift-ci bot commented Nov 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: black-dragon74, iPraveenParihar, Madhu-1

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:
  • OWNERS [Madhu-1,iPraveenParihar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit da1d39c into red-hat-storage:release-4.18 Nov 27, 2024
12 checks passed
@openshift-ci-robot
Copy link

openshift-ci-robot commented Nov 27, 2024

@Madhu-1: [Jira Issue DFBUGS-943](https://issues.redhat.com//browse/DFBUGS-943): All pull requests linked via external trackers have merged:

[Jira Issue DFBUGS-943](https://issues.redhat.com//browse/DFBUGS-943) has been moved to the MODIFIED state.

In response to this:

This is a backport PR of csi-addons#718 to 4.18 branch, This is alaredy synced to downstream main branch

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-bug Indicates that the referenced jira bug is valid for the branch this PR is targeting jira/valid-reference lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants