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

journal: Update group journal to accomudate rbd group #4687

Merged
merged 4 commits into from
Jun 20, 2024

Conversation

Madhu-1
Copy link
Collaborator

@Madhu-1 Madhu-1 commented Jun 18, 2024

Updated the group journal to remove snapshot-specific things from it and make it generic as it can be reused for rbd as well and also added a new key to the volume journal to store the groupID which is required to track the groupID of the volume from which we can identify the rbd image belongs to which group.

@Madhu-1 Madhu-1 added component/journal This PR has a change in volume journal ci/skip/e2e skip running e2e CI jobs labels Jun 18, 2024
@Madhu-1 Madhu-1 requested a review from nixpanic June 18, 2024 09:31
@Madhu-1 Madhu-1 force-pushed the update-group-journal branch 2 times, most recently from 46aab0f to 62f897e Compare June 18, 2024 09:45
Copy link
Member

@nixpanic nixpanic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks useful to me. I'm not completely sure yet how to use this within rbd grouping, but I hope to be able to try it out soon.

@Madhu-1 Madhu-1 requested review from a team, Rakshith-R and iPraveenParihar June 20, 2024 09:22
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Jun 20, 2024

@Mergifyio queue

Copy link
Contributor

mergify bot commented Jun 20, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at f8fbf2e

we need to have groupID stored and retrived
when we are doing group level operations,
we need to find out the groupID from the volumeID

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Adjusted method names to not have any
specific things to volumesnapshot as
we want to reuse the same journal for
volumegroup as well.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Updating the code to support removing
multiple volumeID's mapping from the
group journal.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
instead of adding single volumes to the
group journal, support adding multiple
volumeID's map to the group journal
which is required for RBD as well.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Jun 20, 2024
@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@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.27

@ceph-csi-bot
Copy link
Collaborator

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

@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.27

@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.29

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Jun 20, 2024
@mergify mergify bot merged commit f8fbf2e into ceph:devel Jun 20, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/skip/e2e skip running e2e CI jobs component/journal This PR has a change in volume journal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants