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

STOR-1433: Restart azure-disk-csi-driver-controller Pods if metrics-serving-cert changed #91

Merged
merged 2 commits into from Aug 7, 2023

Conversation

Phaow
Copy link
Contributor

@Phaow Phaow commented Aug 4, 2023

STOR-1433: Restart azure-disk-csi-driver-controller Pods if metrics-serving-cert changed

  • Adding WithSecretHashAnnotationHook() for azure-disk-csi-driver-controller ensures that new annotation is published in azure-disk-csi-driver-controller deployment. This, in turn, leads to controller pods restart.

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

openshift-ci-robot commented Aug 4, 2023

@Phaow: This pull request references STOR-1433 which is a valid jira issue.

In response to this:

STOR-1433: Restart azure-disk-csi-driver-controller Pods if metrics-serving-cert changed

  • Adding WithSecretHashAnnotationHook() for azure-disk-csi-driver-controller ensures that new annotation is published in azure-disk-csi-driver-controller deployment. This, in turn, leads to controller pods restart.

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/test-infra repository.

1 similar comment
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 4, 2023

@Phaow: This pull request references STOR-1433 which is a valid jira issue.

In response to this:

STOR-1433: Restart azure-disk-csi-driver-controller Pods if metrics-serving-cert changed

  • Adding WithSecretHashAnnotationHook() for azure-disk-csi-driver-controller ensures that new annotation is published in azure-disk-csi-driver-controller deployment. This, in turn, leads to controller pods restart.

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/test-infra repository.

@mpatlasov
Copy link
Contributor

/assign @mpatlasov

@Phaow
Copy link
Contributor Author

Phaow commented Aug 7, 2023

/test e2e-azure

pkg/operator/starter.go Outdated Show resolved Hide resolved
@mpatlasov
Copy link
Contributor

@Phaow , please remove that redundant line in .WithCSIDriverNodeService(...). Other than that, the PR looks fine.

@Phaow
Copy link
Contributor Author

Phaow commented Aug 7, 2023

@Phaow , please remove that redundant line in .WithCSIDriverNodeService(...). Other than that, the PR looks fine.

Sure, updated, thank you!

@Phaow
Copy link
Contributor Author

Phaow commented Aug 7, 2023

/label tide/merge-method-squash

@openshift-ci openshift-ci bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Aug 7, 2023
@Phaow Phaow requested a review from mpatlasov August 7, 2023 00:48
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 7, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mpatlasov, Phaow

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 Aug 7, 2023
@mpatlasov
Copy link
Contributor

/label docs-approved
/label px-approved
/lgtm
/approved

@openshift-ci openshift-ci bot added docs-approved Signifies that Docs has signed off on this PR px-approved Signifies that Product Support has signed off on this PR labels Aug 7, 2023
@Phaow
Copy link
Contributor Author

Phaow commented Aug 7, 2023

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 7, 2023

@Phaow: 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-azure-csi-extended 682453a link false /test e2e-azure-csi-extended
ci/prow/e2e-azurestack-csi 682453a link false /test e2e-azurestack-csi

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

@Phaow
Copy link
Contributor Author

Phaow commented Aug 7, 2023

Pre verifiy passed with the pre merged build 4.14.0-0.ci.test-2023-08-07-014130-ci-ln-mnc9yfk-latest

# After the metrics-serving-cert secret changed, driver controller restarted
$ oc delete secret/azure-disk-csi-driver-controller-metrics-serving-cert
secret "azure-disk-csi-driver-controller-metrics-serving-cert" deleted

$ oc get po
NAME                                                READY   STATUS            RESTARTS   AGE
azure-disk-csi-driver-controller-765c59bd87-brntd   11/11   Running           0          10s
azure-disk-csi-driver-controller-765c59bd87-lbvcx   0/11    PodInitializing   0          4s
azure-disk-csi-driver-node-47ckd                    3/3     Running           0          5h20m
azure-disk-csi-driver-node-hztpn                    3/3     Running           0          5h20m
azure-disk-csi-driver-node-jf22m                    3/3     Running           0          5h20m
azure-disk-csi-driver-node-jxjkk                    3/3     Running           0          5h7m
azure-disk-csi-driver-node-n26ws                    3/3     Running           0          5h7m
azure-disk-csi-driver-node-t7sgw                    3/3     Running           0          5h7m
azure-disk-csi-driver-operator-648d5bbc45-7gllj     1/1     Running           0          5h20m
azure-file-csi-driver-controller-8558659fd6-gxtsc   9/9     Running           0          5h19m
azure-file-csi-driver-controller-8558659fd6-mb9gv   9/9     Running           0          5h20m
azure-file-csi-driver-node-2b84z                    3/3     Running           0          5h7m
azure-file-csi-driver-node-6qgd7                    3/3     Running           0          5h20m
azure-file-csi-driver-node-pdp76                    3/3     Running           0          5h7m
azure-file-csi-driver-node-rgtxt                    3/3     Running           0          5h7m
azure-file-csi-driver-node-thprg                    3/3     Running           0          5h20m
azure-file-csi-driver-node-zt84z                    3/3     Running           0          5h20m
azure-file-csi-driver-operator-5648bb47cd-n9xth     1/1     Running           0          5h20m

$ oc get po -l app=azure-disk-csi-driver-controller
NAME                                                READY   STATUS    RESTARTS   AGE
azure-disk-csi-driver-controller-765c59bd87-brntd   11/11   Running   0          7m31s
azure-disk-csi-driver-controller-765c59bd87-lbvcx   11/11   Running   0          7m25s

@Phaow
Copy link
Contributor Author

Phaow commented Aug 7, 2023

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Aug 7, 2023
@openshift-merge-robot openshift-merge-robot merged commit 4db2f8a into openshift:master Aug 7, 2023
7 of 9 checks passed
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. docs-approved Signifies that Docs has signed off on this PR 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. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants