Skip to content

Conversation

@Nikhil-Ladha
Copy link
Contributor

Describe what this PR does

Currently, we fetch the volumeId's from VGRContent.Spec.Source which has all the volumes that should be part of the group. But, it might happen that the initial modify call might fail due to some reason like network/config issue. In that case, the volumegroup omap will already be updated with the volumeIds and subsequent ModifyVolumeGroup call will fail as the volumes before and after Modify operation is same.
Therefore, we should fetch the volumeIds from the VGRContent status, which only gets updated post a succesfull modification.

@mergify mergify bot added the component/rbd Issues related to RBD label Jan 6, 2026
@Nikhil-Ladha Nikhil-Ladha requested a review from a team January 6, 2026 09:51
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.

I assume that when fetching the PV fails, a new reconcile is scheduled?

@Nikhil-Ladha
Copy link
Contributor Author

I assume that when fetching the PV fails, a new reconcile is scheduled?

Yes, it will trigger a new reconcile.

@Nikhil-Ladha Nikhil-Ladha force-pushed the fetch-vols-from-vgrc-status branch from ee9b0d3 to 59629e7 Compare January 6, 2026 11:38
nixpanic
nixpanic previously approved these changes Jan 6, 2026
@nixpanic nixpanic requested a review from a team January 6, 2026 12:42
@Nikhil-Ladha Nikhil-Ladha force-pushed the fetch-vols-from-vgrc-status branch from 59629e7 to 4189187 Compare January 6, 2026 14:24
@Nikhil-Ladha Nikhil-Ladha requested a review from Madhu-1 January 6, 2026 14:24
@mergify mergify bot dismissed nixpanic’s stale review January 6, 2026 14:25

Pull request has been modified.

@iPraveenParihar
Copy link
Contributor

@Mergifyio rebase

Currently, we fetch the volumeId's from VGRContent.Spec.Source
which has all the volumes that should be part of the group.
But, it might happen that the initial modify call might
fail due to some reason like network/config issue. In that case,
the volumegroup omap will already be updated with the volumeIds
and subsequent ModifyVolumeGroup call will fail as the volumes before and
after Modify operation is same.
Therefore, we should fetch the volumeIds from the VGRContent status,
which only gets updated post a succesfull modification.

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
@mergify
Copy link
Contributor

mergify bot commented Jan 7, 2026

rebase

✅ Branch has been successfully rebased

@ceph-csi-bot ceph-csi-bot force-pushed the fetch-vols-from-vgrc-status branch from 4189187 to d20b696 Compare January 7, 2026 09:49
@iPraveenParihar
Copy link
Contributor

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Jan 7, 2026

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at e62e083

@mergify
Copy link
Contributor

mergify bot commented Jan 7, 2026

Merge Queue Status

✅ The pull request has been merged at d20b696

This pull request spent 2 hours 45 minutes 27 seconds in the queue, including 2 hours 39 minutes 23 seconds running CI.
The checks were run on draft #5904.

Required conditions to merge
  • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • any of:
    • all of:
      • base=devel
      • status-success=codespell
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
      • status-success=uncommitted-code-check
      • any of:
        • all of:
          • status-success=ci/centos/k8s-e2e-external-storage/1.32
          • status-success=ci/centos/k8s-e2e-external-storage/1.33
          • status-success=ci/centos/k8s-e2e-external-storage/1.34
          • status-success=ci/centos/mini-e2e-helm/k8s-1.32
          • status-success=ci/centos/mini-e2e-helm/k8s-1.33
          • status-success=ci/centos/mini-e2e-helm/k8s-1.34
          • status-success=ci/centos/mini-e2e/k8s-1.32
          • status-success=ci/centos/mini-e2e/k8s-1.33
          • status-success=ci/centos/mini-e2e/k8s-1.34
          • status-success=ci/centos/upgrade-tests-cephfs
          • status-success=ci/centos/upgrade-tests-rbd
        • label=ci/skip/e2e
    • all of:
      • base~=^(release-.+)$
      • any of:
        • label=ci/skip/e2e
        • all of:
          • status-success=ci/centos/k8s-e2e-external-storage/1.31
          • status-success=ci/centos/mini-e2e-helm/k8s-1.31
          • status-success=ci/centos/mini-e2e/k8s-1.31
          • status-success=ci/centos/k8s-e2e-external-storage/1.32
          • status-success=ci/centos/k8s-e2e-external-storage/1.33
          • status-success=ci/centos/mini-e2e-helm/k8s-1.32
          • status-success=ci/centos/mini-e2e-helm/k8s-1.33
          • status-success=ci/centos/mini-e2e/k8s-1.32
          • status-success=ci/centos/mini-e2e/k8s-1.33
          • status-success=ci/centos/upgrade-tests-cephfs
          • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
      • status-success=uncommitted-code-check
    • all of:
      • base=release-v3.14
      • any of:
        • label=ci/skip/e2e
        • all of:
          • status-success=ci/centos/k8s-e2e-external-storage/1.30
          • status-success=ci/centos/k8s-e2e-external-storage/1.31
          • status-success=ci/centos/mini-e2e-helm/k8s-1.30
          • status-success=ci/centos/mini-e2e-helm/k8s-1.31
          • status-success=ci/centos/mini-e2e/k8s-1.30
          • status-success=ci/centos/mini-e2e/k8s-1.31
          • status-success=ci/centos/k8s-e2e-external-storage/1.32
          • status-success=ci/centos/mini-e2e-helm/k8s-1.32
          • status-success=ci/centos/mini-e2e/k8s-1.32
          • status-success=ci/centos/upgrade-tests-cephfs
          • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
      • status-success=uncommitted-code-check
    • all of:
      • base=ci/centos
      • status-success=ci/centos/jjb-validate
      • status-success=ci/centos/job-validation

@mergify mergify bot added the queued label Jan 7, 2026
mergify bot added a commit that referenced this pull request Jan 7, 2026
@mergify mergify bot merged commit e62e083 into ceph:devel Jan 7, 2026
17 checks passed
@mergify mergify bot removed the queued label Jan 7, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants