Skip to content

[manila-csi-plugin] ControllerExpandVolume: fix bad key for deleting from pendingVolumes#1667

Merged
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
m-k8s:bug/1666
Oct 13, 2021
Merged

[manila-csi-plugin] ControllerExpandVolume: fix bad key for deleting from pendingVolumes#1667
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
m-k8s:bug/1666

Conversation

@m-k8s
Copy link
Copy Markdown
Contributor

@m-k8s m-k8s commented Oct 12, 2021

What this PR does / why we need it:

Correctly removes the volume from pendingVolumes when the expansion is complete.

Which issue this PR fixes(if applicable):
fixes #1666

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added the release-note-none Denotes a PR that doesn't merit a release note. label Oct 12, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


Details

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.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Oct 12, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Welcome @alexisries!

It looks like this is your first PR to kubernetes/cloud-provider-openstack 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/cloud-provider-openstack has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 12, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @alexisries. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 12, 2021
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Oct 12, 2021

Build failed.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 12, 2021
@m-k8s m-k8s changed the title [manila-csi-plugin] ControllerExpandVolume: fix bad key for deleting from pendingVolumes WIP: [manila-csi-plugin] ControllerExpandVolume: fix bad key for deleting from pendingVolumes Oct 12, 2021
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 12, 2021
Comment thread pkg/csi/manila/controllerserver.go Outdated
@gouthampacha
Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 13, 2021
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Oct 13, 2021

Build failed.

@gman0
Copy link
Copy Markdown
Contributor

gman0 commented Oct 13, 2021

@alexisries thank you for your contribution! The CI job is failing because it's WIP. I believe we can merge this since this is just reverting (accidental) change we've done earlier, as @gouthampacha pointed out.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 13, 2021
@gman0
Copy link
Copy Markdown
Contributor

gman0 commented Oct 13, 2021

/override cloud-provider-openstack-acceptance-test-csi-manila
/override openstack-cloud-csi-manila-e2e-test

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@gman0: gman0 unauthorized: /override is restricted to Repo administrators.

Details

In response to this:

/override cloud-provider-openstack-acceptance-test-csi-manila
/override openstack-cloud-csi-manila-e2e-test

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.

@gman0
Copy link
Copy Markdown
Contributor

gman0 commented Oct 13, 2021

@ramineni can you please help us merge this?

@m-k8s m-k8s changed the title WIP: [manila-csi-plugin] ControllerExpandVolume: fix bad key for deleting from pendingVolumes [manila-csi-plugin] ControllerExpandVolume: fix bad key for deleting from pendingVolumes Oct 13, 2021
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 13, 2021
@m-k8s
Copy link
Copy Markdown
Contributor Author

m-k8s commented Oct 13, 2021

/retest-required

@gman0
Copy link
Copy Markdown
Contributor

gman0 commented Oct 13, 2021

@alexisries the tests need to be overriden by CPO admins.

@ramineni
Copy link
Copy Markdown
Contributor

/override openlab/cloud-provider-openstack-acceptance-test-csi-manila

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@ramineni: Overrode contexts on behalf of ramineni: openlab/cloud-provider-openstack-acceptance-test-csi-manila

Details

In response to this:

/override openlab/cloud-provider-openstack-acceptance-test-csi-manila

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.

@ramineni
Copy link
Copy Markdown
Contributor

/override openstack-cloud-csi-manila-e2e-test

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@ramineni: Overrode contexts on behalf of ramineni: openstack-cloud-csi-manila-e2e-test

Details

In response to this:

/override openstack-cloud-csi-manila-e2e-test

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.

@ramineni
Copy link
Copy Markdown
Contributor

/approve

@k8s-ci-robot k8s-ci-robot merged commit 4128209 into kubernetes:master Oct 13, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gman0, ramineni

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@m-k8s m-k8s deleted the bug/1666 branch October 14, 2021 07:41
jingczhang pushed a commit to nokia/cloud-provider-openstack that referenced this pull request Oct 18, 2021
…from pendingVolumes (kubernetes#1667)

* [manila-csi-plugin] in ControllerExpandVolume fix bad key for pendingVolumes.Delete

/closes kubernetes#1666

* [manila-csi-plugin] use share.Name to identify volumes in pendingVolumes.Delete
gman0 pushed a commit to gman0/cloud-provider-openstack that referenced this pull request Oct 26, 2021
…from pendingVolumes (kubernetes#1667)

* [manila-csi-plugin] in ControllerExpandVolume fix bad key for pendingVolumes.Delete

/closes kubernetes#1666

* [manila-csi-plugin] use share.Name to identify volumes in pendingVolumes.Delete
k8s-ci-robot pushed a commit that referenced this pull request Nov 2, 2021
…from pendingVolumes (#1667) (#1675)

* [manila-csi-plugin] in ControllerExpandVolume fix bad key for pendingVolumes.Delete

/closes #1666

* [manila-csi-plugin] use share.Name to identify volumes in pendingVolumes.Delete

Co-authored-by: Alexis Ries <42094254+alexisries@users.noreply.github.com>
powellchristoph pushed a commit to powellchristoph/cloud-provider-openstack that referenced this pull request Jan 19, 2022
…from pendingVolumes (kubernetes#1667)

* [manila-csi-plugin] in ControllerExpandVolume fix bad key for pendingVolumes.Delete

/closes kubernetes#1666

* [manila-csi-plugin] use share.Name to identify volumes in pendingVolumes.Delete
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[manila-csi-plugin] Cannot extend the same volume twice

5 participants