Skip to content

[cinder-csi-plugin]add 'force-create' into tag param to support force…#1832

Merged
k8s-ci-robot merged 1 commit intokubernetes:release-1.23from
jichenjc:bug/1203-123
May 13, 2022
Merged

[cinder-csi-plugin]add 'force-create' into tag param to support force…#1832
k8s-ci-robot merged 1 commit intokubernetes:release-1.23from
jichenjc:bug/1203-123

Conversation

@jichenjc
Copy link
Copy Markdown
Contributor

@jichenjc jichenjc commented Apr 14, 2022

… create

What this PR does / why we need it:

#1813
1.23 version

also, there is a golint issue , fixed in this PR as well

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

Special notes for reviewers:

Release note:

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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 14, 2022
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

Build failed.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 14, 2022

Build failed.

@ramineni
Copy link
Copy Markdown
Contributor

ramineni commented May 2, 2022

please add cherry-pick PR number in description, easy for future reference.

@jichenjc
Copy link
Copy Markdown
Contributor Author

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.19

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@jichenjc: Overrode contexts on behalf of jichenjc: openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.19

Details

In response to this:

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.19

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.

@jichenjc
Copy link
Copy Markdown
Contributor Author

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance
/override openlab/cloud-provider-openstack-multinode-csi-migration-test
/override openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization
/override
openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.21

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@jichenjc: /override requires a failed status context or a job name to operate on.
The following unknown contexts were given:

  • ``

Only the following contexts were expected:

  • EasyCLA
  • openlab/cloud-provider-openstack-acceptance-test-e2e-conformance
  • openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.19
  • openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.20
  • openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.21
  • openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization
  • openlab/cloud-provider-openstack-multinode-csi-migration-test
  • openstack-cloud-csi-cinder-e2e-test-release-123
  • openstack-cloud-csi-cinder-sanity-test-release-123
  • pull-cloud-provider-openstack-check
  • pull-cloud-provider-openstack-test
  • tide
Details

In response to this:

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance
/override openlab/cloud-provider-openstack-multinode-csi-migration-test
/override openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization
/override
openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.21

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.

@jichenjc
Copy link
Copy Markdown
Contributor Author

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance
/override openlab/cloud-provider-openstack-multinode-csi-migration-test
/override openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@jichenjc: Overrode contexts on behalf of jichenjc: openlab/cloud-provider-openstack-acceptance-test-e2e-conformance, openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization, openlab/cloud-provider-openstack-multinode-csi-migration-test

Details

In response to this:

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance
/override openlab/cloud-provider-openstack-multinode-csi-migration-test
/override openlab/cloud-provider-openstack-acceptance-test-keystone-authentication-authorization

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.

@jichenjc
Copy link
Copy Markdown
Contributor Author

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.21
/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.20

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@jichenjc: Overrode contexts on behalf of jichenjc: openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.20, openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.21

Details

In response to this:

/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.21
/override openlab/cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.20

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.

@jichenjc
Copy link
Copy Markdown
Contributor Author

@chrigl can you help check this?

@chrigl
Copy link
Copy Markdown
Contributor

chrigl commented May 12, 2022

@jichenjc I did an e2e on our infra. Mostly looks good, but I have to check some weird failures. Stay tuned :)

@chrigl
Copy link
Copy Markdown
Contributor

chrigl commented May 12, 2022

/lgtm

my testfailures were just flaky.

You could rename the PR to [cinder-csi-plugin] Backport-1.23: ... to clarify the purpose, and maybe add the release notes in the PR description.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 12, 2022
@chrigl
Copy link
Copy Markdown
Contributor

chrigl commented May 12, 2022

Just one thing: We change default behavior from force-create=false to force-create=true with this. We might want to change the documentation.

This could imho be done as a separate PR to master and backport. What do you think @jichenjc ?

@jichenjc
Copy link
Copy Markdown
Contributor Author

jichenjc commented May 12, 2022

@chrigl I double checked, but I don't think I updated the default param .. where did you find the change in the code?

@chrigl
Copy link
Copy Markdown
Contributor

chrigl commented May 13, 2022

When I understand your change correctly, the code was not working before anyways. So I think your change is good.

The only thing I would change is this line:
https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/cinder-csi-plugin/using-cinder-csi-plugin.md?plain=1#L244
Because if I understand it correctly, force-create is now by default true ?

@jichenjc
Copy link
Copy Markdown
Contributor Author

no, my change only honor the force-create flag .. which is removed as regression bug
but didn't change the default value ..

the code you saw might be test code?

@chrigl
Copy link
Copy Markdown
Contributor

chrigl commented May 13, 2022

the code you saw might be test code?

Indeed. That's a bit embarrassing :)

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrigl

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2022
@k8s-ci-robot k8s-ci-robot merged commit 28891db into kubernetes:release-1.23 May 13, 2022
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants