Skip to content

Conversation

stephenfin
Copy link
Member

@stephenfin stephenfin commented Apr 4, 2025

This is a manual backport of #2862 (master) and #2871 (release-1.32). As noted in the first commit, the merge conflict was trivial and due to the absence of #2734, which added a log into the Manila CSI Driver.

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 4, 2025
@k8s-ci-robot k8s-ci-robot requested review from dulek and tsmetana April 4, 2025 10:07
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 4, 2025
@stephenfin
Copy link
Member Author

These failures are due to the version of golangci-lint we use. I've proposed #2874 to fix this. We'll need to merge that first.

stephenfin added 3 commits May 8, 2025 17:30
%T prints the type. %t prints the word true/false, which is what we
want. [1]

[1] https://pkg.go.dev/fmt

Conflicts:
	pkg/csi/manila/driver.go

NOTE(stephenfin): Merge conflicts are due to the absence of PR kubernetes#2734,
which we don't want to backport.

Signed-off-by: Stephen Finucane <[email protected]>
…ogy=False

The 'PluginCapability_Service_VOLUME_ACCESSIBILITY_CONSTRAINTS'
capability flag determines whether the provisioner attempts to look up
topology information from the node or not [1][2]. If we report it but
don't return topology information from the node, we end up with
failures to provision [3]. Fix the issue by optionally reporting the
capability, like Manila already does.

[1] https://github.com/kubernetes-csi/external-provisioner/blob/17e2429e9f/pkg/controller/controller.go#L685-L700
[2] https://github.com/kubernetes-csi/external-provisioner/blob/17e2429e9f/pkg/controller/controller.go#L994-L996
[3] https://github.com/kubernetes-csi/external-provisioner/blob/17e2429e9f/pkg/controller/topology.go#L177

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin stephenfin force-pushed the fix-cinder-with-topology-flag-release-1.31 branch from 6504e5c to e4f658a Compare May 8, 2025 16:30
@stephenfin
Copy link
Member Author

These failures are due to the version of golangci-lint we use. I've proposed #2874 to fix this. We'll need to merge that first.

That's merged now, so I've rebased and force pushed this.

@stephenfin
Copy link
Member Author

Jobs are failing because the stable/2023.2 branch was recently deleted upstream. Looks like that's also borked on master. This is going to be fun 🙈

@stephenfin
Copy link
Member Author

Waiting on #2742

@kayrus
Copy link
Contributor

kayrus commented Jul 2, 2025

/test openstack-cloud-csi-manila-e2e-test-release-131

@kayrus
Copy link
Contributor

kayrus commented Jul 2, 2025

/test openstack-cloud-csi-cinder-e2e-test-release-131

@kayrus
Copy link
Contributor

kayrus commented Jul 2, 2025

/test openstack-cloud-csi-manila-e2e-test-release-131
/test openstack-cloud-csi-cinder-e2e-test-release-131

@kayrus
Copy link
Contributor

kayrus commented Jul 2, 2025

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 2, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kayrus

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 2, 2025
@k8s-ci-robot k8s-ci-robot merged commit 209f30f into kubernetes:release-1.31 Jul 2, 2025
8 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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants