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

Syncing latest changes from devel for ceph-csi #286

Merged
merged 8 commits into from
Apr 4, 2024

Conversation

df-build-team
Copy link

PR containing the latest commits from devel branch

@df-build-team df-build-team requested a review from a team April 3, 2024 09:58
Copy link

openshift-ci bot commented Apr 3, 2024

@df-build-team: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

Syncing latest changes from devel for ceph-csi

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.

@nixpanic
Copy link
Member

nixpanic commented Apr 3, 2024

strange, golangci-lint fails here, but not in upstream?

nixpanic and others added 8 commits April 4, 2024 13:01
Just like GenVolFromVolID() the genSnapFromSnapID() function can return
a snapshot. There is no need to allocated an empty snapshot and pass
that to the genSnapFromSnapID() function.

Signed-off-by: Niels de Vos <[email protected]>
Not all snapshot objects are free'd correctly after they were allocated.
It is possible that some connections to the Ceph cluster were never
closed. This does not need to be a noticeable problem, as connections
are re-used where possible, but it isn't clean either.

Signed-off-by: Niels de Vos <[email protected]>
By returning a connected rbdVolume in parseVolCreateRequest(), the
CreateVolume() function can be simplified a little. There is no need to
call the additional Connect() and detect failures with it.

Signed-off-by: Niels de Vos <[email protected]>
This commit fixes the typo from `.Values.seLinuxMount` to
`.Values.CSIDriver.seLinuxMount` used in helm charts.

Signed-off-by: Praveen M <[email protected]>
The "slices" package has been introduced in Go 1.21 and can be used
instead of the Kubernetes package that will be replaced by the standard
package at one point too.

Signed-off-by: Niels de Vos <[email protected]>
@nixpanic
Copy link
Member

nixpanic commented Apr 4, 2024

Attempt to fix the CI failure

  • checked out the pr with git fetch ... pull/286/merge
  • run make containerized-tests
  • see the test fail

Inspection of the CreateVolume function shows a weird duplicate code block:
image

  • run git rebase origin/release-4.16
  • inspect the function again
  • verify that the duplicate code block is removed

Pushed the updated commits to the branch for this PR.

@openshift-ci openshift-ci bot added the lgtm Code looks good label Apr 4, 2024
Copy link

openshift-ci bot commented Apr 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: df-build-team, Madhu-1

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 Its a good idea label Apr 4, 2024
@nixpanic
Copy link
Member

nixpanic commented Apr 4, 2024

This is the latest auto-sync PR for release-4.16. Added the bugzilla/valid-bug to get it merged. QE has been testing ODF-4.16 with the devel branch until now, by merging this PR there can not be any regressions compared to latest testing.

@openshift-merge-bot openshift-merge-bot bot merged commit e24107e into release-4.16 Apr 4, 2024
10 checks passed
@Nikhil-Ladha Nikhil-Ladha deleted the sync_ds--devel branch May 16, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Its a good idea bugzilla/valid-bug lgtm Code looks good
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants