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

rbd: remove dummy image workaround #3413

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

Madhu-1
Copy link
Collaborator

@Madhu-1 Madhu-1 commented Oct 5, 2022

To address the problem that snapshot schedules are triggered for volumes that are promoted, a dummy image was
disabled/enabled for replication. This was done as a workaround, because the promote operation was not triggering the schedules for the image being promoted.

The bugs related to the same have been fixed in RBD mirroring functionality and hence the workaround #2656 can be removed from the code base.

ceph tracker https://tracker.ceph.com/issues/53914

Signed-off-by: Madhu Rajanna madhupr007@gmail.com

@Madhu-1 Madhu-1 added the ci/skip/e2e skip running e2e CI jobs label Oct 5, 2022
@mergify mergify bot added the component/rbd Issues related to RBD label Oct 5, 2022
@Madhu-1 Madhu-1 requested review from a team October 5, 2022 17:15
Rakshith-R
Rakshith-R previously approved these changes Oct 6, 2022
@humblec
Copy link
Collaborator

humblec commented Oct 6, 2022

In case the ceph csi is with this PR/Fix in place and ceph cluster version running is without the https://tracker.ceph.com/issues/53914, this could be a problem , Isnt it ?

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 6, 2022

In case the ceph csi is with this PR/Fix in place and ceph cluster version running in the cluster is without the https://tracker.ceph.com/issues/53914, this could be a problem , Isnt it ?

Dont have plan to support those clusters this is not a nice workaround going forward removing it, if someone wants to DR then can use pool mode.

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 6, 2022

In case the ceph csi is with this PR/Fix in place and ceph cluster version running in the cluster is without the https://tracker.ceph.com/issues/53914, this could be a problem , Isnt it ?

Dont have plan to support those clusters this is not a nice workaround going forward removing it, if someone wants to DR then can use pool mode.

or use older version of cephcsi

@idryomov
Copy link
Contributor

idryomov commented Oct 6, 2022

In case the ceph csi is with this PR/Fix in place and ceph cluster version running in the cluster is without the https://tracker.ceph.com/issues/53914, this could be a problem , Isnt it ?

This fix was backported all the way to octopus. I don't think we need to worry about that case.

@idryomov
Copy link
Contributor

idryomov commented Oct 6, 2022

Dont have plan to support those clusters this is not a nice workaround going forward removing it, if someone wants to DR then can use pool mode.

or use older version of cephcsi

To clarify: pool mode isn't supported with snapshot-based mirroring. But, as I said, just assuming that the fix for https://tracker.ceph.com/issues/53914 is present is fine.

Copy link
Contributor

@idryomov idryomov left a comment

Choose a reason for hiding this comment

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

Ack from the RBD perspective

nixpanic
nixpanic previously approved these changes Oct 7, 2022
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 7, 2022

@Mergifyio rebase

@mergify
Copy link
Contributor

mergify bot commented Oct 7, 2022

rebase

☑️ Nothing to do

  • any of:
    • #commits-behind>0 [:pushpin: rebase requirement]
    • -linear-history [:pushpin: rebase requirement]
  • -closed [:pushpin: rebase requirement]

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 7, 2022

github action are not started on this PR, manually pushing to the PR to get it started

To address the problem that snapshot
schedules are triggered for volumes
that are promoted, a dummy image was
disabled/enabled for replication.
This was done as a workaround, because the
promote operation was not triggering
the schedules for the image being promoted.

The bugs related to the same have been fixed in
RBD mirroring functionality and hence the
workaround ceph#2656 can be removed from the code base.

ceph tracker https://tracker.ceph.com/issues/53914

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
@Madhu-1 Madhu-1 force-pushed the remove-dummy-image-workaround branch from 09b83e1 to 1736001 Compare October 7, 2022 08:04
@mergify mergify bot dismissed stale reviews from Rakshith-R and nixpanic October 7, 2022 08:04

Pull request has been modified.

@nixpanic
Copy link
Member

nixpanic commented Oct 7, 2022

github action are not started on this PR, manually pushing to the PR to get it started

That was reported by others at actions/checkout#948 as well. Failures seem to have cleared up now.

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 10, 2022

/retest all

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 10, 2022

@Mergifyio refresh

@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Oct 10, 2022

/test all

@mergify
Copy link
Contributor

mergify bot commented Oct 10, 2022

refresh

✅ Pull request refreshed

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/rbd Issues related to RBD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants