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

OCPBUGS-33038: Rebase v1.29.5 for OCP 4.15 #65

Merged

Conversation

umagnus and others added 30 commits November 24, 2023 07:11
[release-1.29] doc: add volume cloning doc
…ot/cherry-pick-1602-to-release-1.29

[release-1.29] doc: add noresvport, actimeo=30 mount option in static nfs pv
…ot/cherry-pick-1611-to-release-1.29

[release-1.29] chore: increase windows host deployment driver log level
…ot/cherry-pick-1613-to-release-1.29

[release-1.29] test: fix e2e test failure
…ot/cherry-pick-1616-to-release-1.29

[release-1.29] chore: reaplce NewSmbLink with os.Symlink call
…ot/cherry-pick-1639-to-release-1.29

[release-1.29] feat: upgrade azcopy to v10.22.1 for volume clone feature
…ot/cherry-pick-1642-to-release-1.29

[release-1.29] fix: reduce mount lock to avoid volumeID collision issue
commit 15c7f99
Merge: 8388a01 7fe3ebc
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 27 09:37:50 2023 +0000

    Merge branch 'master' of https://github.com/kubernetes-sigs/azurefile-csi-driver into workload-identity

commit 8388a01
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 27 09:33:51 2023 +0000

    fix

commit 44c4812
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 27 06:15:20 2023 +0000

    fix

commit 09e5b67
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 27 04:00:47 2023 +0000

    fix

commit 354f4d7
Author: weizhichen <weizhichen@microsoft.com>
Date:   Tue Dec 26 08:29:07 2023 +0000

    helm

commit 960912d
Merge: 0c58154 5dd86f5
Author: weizhichen <weizhichen@microsoft.com>
Date:   Tue Dec 26 08:00:51 2023 +0000

    Merge branch 'master' of https://github.com/kubernetes-sigs/azurefile-csi-driver into workload-identity

commit 0c58154
Merge: e3adfa4 d519073
Author: weizhichen <weizhichen@microsoft.com>
Date:   Mon Dec 18 02:18:53 2023 +0000

    Merge branch 'master' of https://github.com/kubernetes-sigs/azurefile-csi-driver into workload-identity

commit e3adfa4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Dec 14 03:17:25 2023 +0000

    spell

commit 78c82b5
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Dec 14 03:09:16 2023 +0000

    doc

commit 7bb959f
Author: weizhichen <weizhichen@microsoft.com>
Date:   Thu Dec 14 03:05:08 2023 +0000

    doc

commit 2dde59d
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 13 14:45:37 2023 +0000

    doc

commit e774ff5
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 13 13:46:37 2023 +0000

    update go mod

commit 2e79ca3
Merge: 7846026 6cfe218
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 13 13:19:41 2023 +0000

    Merge branch 'master' of https://github.com/kubernetes-sigs/azurefile-csi-driver into workload-identity

commit 7846026
Author: weizhichen <weizhichen@microsoft.com>
Date:   Wed Dec 13 13:07:48 2023 +0000

    update go mod

commit 0446a46
Author: weizhichen <weizhichen@microsoft.com>
Date:   Fri Nov 24 08:52:03 2023 +0000

    update cloud-provider-azure

commit ff2aeb4
Author: weizhichen <weizhichen@microsoft.com>
Date:   Tue Nov 14 12:29:14 2023 +0000

    doc

commit 633641b
Author: weizhichen <weizhichen@microsoft.com>
Date:   Tue Nov 14 12:01:02 2023 +0000

    add docs

commit afcb818
Author: weizhichen <weizhichen@microsoft.com>
Date:   Tue Nov 14 11:20:40 2023 +0000

    feat: support workload identity setting in static PV mount on AKS
Signed-off-by: Fan Shang Xiang <fanshangxiang@gmail.com>
…t-permission-issue-1.29

[release-1.29] fix: mountPermission settting issue due to case insensitive parameter
[release-1.29] feat: support workload identity setting in static PV mount
…getClientID

[release-1.29] cleanup: remove getClientID func
…ot/cherry-pick-1645-to-release-1.29

[release-1.29] test: always use latest azcopy version in sanity test
…ttacher-1.29

[release-1.29] cleanup: remove csi-attacher config
Copy link

openshift-ci bot commented Apr 26, 2024

@RomanBednar: The following test 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/security 9e6762e link false /test security

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.

@sdodson
Copy link
Member

sdodson commented Apr 26, 2024

/jira refresh

@openshift-ci-robot
Copy link

@sdodson: This pull request references Jira Issue OCPBUGS-33038, which is invalid:

  • expected dependent Jira Issue OCPBUGS-32785 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is MODIFIED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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.

@RomanBednar
Copy link
Author

/retest-required

@jsafrane
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2024
@jsafrane
Copy link

/label cherry-pick-approved

Copy link

openshift-ci bot commented Apr 29, 2024

@jsafrane: Can not set label cherry-pick-approved: Must be member in one of these teams: []

In response to this:

/label cherry-pick-approved

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.

@duanwei33
Copy link

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Apr 30, 2024
@RomanBednar
Copy link
Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 6, 2024
@duanwei33
Copy link

pre-merge verified with this open PR and openshift/azure-file-csi-driver-operator#103:
build 4.15.0-0.ci,openshift/azure-file-csi-driver#65,openshift/azure-file-csi-driver-operator#103

Followed https://github.com/kubernetes-sigs/azurefile-csi-driver/blob/master/docs/workload-identity-static-pv-mount.md to test static provision with PV, the pod with azure file volume gets running:

$ oc get pod
NAME                      READY   STATUS    RESTARTS   AGE
statefulset-azurefile-0   1/1     Running   0          74m

$ oc rsh statefulset-azurefile-0 
$ df -h | grep azure
//wduantestshare.file.core.windows.net/wduantest  100T  192K  100T   1% /mnt/azurefile
$ touch /mnt/azurefile/415-premerge
$ ls /mnt/azurefile
415-premerge  outfile
$ oc get pv pv-azurefile -o yaml | yq .spec.csi
driver: file.csi.azure.com
volumeAttributes:
  clientID: 8b57a4f3-3a24-42bc-9dda-2507a9f6b8e4
  resourcegroup: wduan-share
  shareName: wduantest2
  storageaccount: wduantestshare
volumeHandle: wduantestshare-wduantest2

In the log we see the service account token is used to get the account key during NodePublishVolume:

I0506 11:58:16.896151       1 utils.go:77] GRPC call: /csi.v1.Node/NodeStageVolume
I0506 11:58:16.896175       1 utils.go:78] GRPC request: {"staging_target_path":"/var/lib/kubelet/plugins/kubernetes.io/csi/file.csi.azure.com/dbe10a3e863ebf7788bc4e5747d9ef072f254c092936b01d5475a3560a54a311/globalmount","volume_capability":{"AccessType":{"Mount":{"mount_flags":["dir_mode=0777","file_mode=0777","uid=0","gid=0","mfsymlinks","cache=strict","nosharesock"],"volume_mount_group":"1000700000"}},"access_mode":{"mode":5}},"volume_context":{"clientID":"8b57a4f3-3a24-42bc-9dda-2507a9f6b8e4","resourcegroup":"wduan-share","shareName":"wduantest2","storageaccount":"wduantestshare"},"volume_id":"wduantestshare-wduantest2"}
I0506 11:58:16.896469       1 nodeserver.go:173] Skip NodeStageVolume for volume(wduantestshare-wduantest2) since clientID 8b57a4f3-3a24-42bc-9dda-2507a9f6b8e4 is provided but service account token is empty

......
I0506 11:58:16.923523       1 utils.go:77] GRPC call: /csi.v1.Node/NodePublishVolume
I0506 11:58:16.923898       1 azurefile.go:799] clientID(8b57a4f3-3a24-42bc-9dda-2507a9f6b8e4) is specified, use service account token to get account key

@duanwei33
Copy link

/label qe-approved
/label cherry-pick-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label May 6, 2024
@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels May 6, 2024
@openshift-ci-robot
Copy link

@RomanBednar: This pull request references Jira Issue OCPBUGS-33038, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.z) matches configured target version for branch (4.15.z)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-32785 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-32785 targets the "4.16.0" version, which is one of the valid target versions: 4.16.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (wduan@redhat.com), skipping review request.

In response to this:

Diff to upstream v1.29.5:
kubernetes-sigs/azurefile-csi-driver@v1.29.5...RomanBednar:azure-file-csi-driver:rebase-v1.29.5-ocp4.15

Notable changes:

@openshift/storage

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-merge-bot openshift-merge-bot bot merged commit dc463da into openshift:release-4.15 May 6, 2024
9 checks passed
@openshift-ci-robot
Copy link

@RomanBednar: Jira Issue OCPBUGS-33038: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-33038 has not been moved to the MODIFIED state.

In response to this:

Diff to upstream v1.29.5:
kubernetes-sigs/azurefile-csi-driver@v1.29.5...RomanBednar:azure-file-csi-driver:rebase-v1.29.5-ocp4.15

Notable changes:

@openshift/storage

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-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-azure-file-csi-driver-container-v4.15.0-202405061250.p0.gdc463da.assembly.stream.el9 for distgit azure-file-csi-driver.
All builds following this will include this PR.

@openshift-merge-robot
Copy link

Fix included in accepted release 4.15.0-0.nightly-2024-05-08-090106

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. 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. qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet