Skip to content

Conversation

@nixpanic
Copy link
Member

@nixpanic nixpanic commented Oct 3, 2024

The go-ceph rbd.GroupCreate() now returns ErrExist in case the group
that is created, already exists. The previous check only ever matched
the string comparison, which is prone to errors in case the contents is
modified by go-ceph.

Related issues

Found while working on #4502.


Show available bot commands

These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

  • /retest ci/centos/<job-name>: retest the <job-name> after unrelated
    failure (please report the failure too!)

The go-ceph rbd.GroupCreate() now returns ErrExist in case the group
that is created, already exists. The previous check only ever matched
the string comparison, which is prone to errors in case the contents is
modified by go-ceph.

Signed-off-by: Niels de Vos <[email protected]>
The main change that is useful, is the new rbd.ErrExist error.

Signed-off-by: Niels de Vos <[email protected]>
@nixpanic nixpanic added the dependency/go-ceph depends on go-ceph functionality label Oct 3, 2024
@mergify mergify bot added the component/rbd Issues related to RBD label Oct 3, 2024
@Madhu-1 Madhu-1 requested a review from a team October 4, 2024 06:23
@nixpanic
Copy link
Member Author

nixpanic commented Oct 4, 2024

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Oct 4, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 9267210

@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Oct 4, 2024
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.31

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.31

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Oct 4, 2024
@mergify mergify bot merged commit 9267210 into ceph:devel Oct 4, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/rbd Issues related to RBD dependency/go-ceph depends on go-ceph functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants