ceph-csi
ceph-csi copied to clipboard
doc: added note about monitor ips update during failover
Docs update: IP addresses in csi-config-map needs to be changed after failover to secondary site. Without this change, applications can't use mirrored rbd images.
Is there anything that requires special attention
Only documentation update.
Related issues
Fixes: #4493
Future concerns
No future concerns
Checklist:
- [x] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
- [x] Reviewed the developer guide on Submitting a Pull Request
- [ ] Pending release notes updated with breaking and/or notable changes for the next major release.
- [x] Documentation has been updated, if necessary.
- [ ] Unit tests have been added, if necessary.
- [ ] Integration tests have been added, if necessary.
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!)
hey @kmadac
The document talks about having a new cluster-mapping.json to provide cephcsi with the required information to map IDs from one cluster to another.
The config.json section does not need to be modified in either cluster. The configmap's config.json in each k8s cluster can have different config.json entries (mon ips, cluster IDs etc).
Just adding cluster-mapping.json info to each of these k8s cluster's cephcsi configmap is sufficient. The existing cephcsi configmap's config.json does not need to be modified.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
Sorry @Rakshith-R , I'm not sure I understand your comment. In the issue #4493 we found out that in order to successfully use volumes on secondary site during the failover period, it is necessary to set monitor ip addresses of primary cluster in config.json to secondary monitor ip addresses on secondary k8s cluster. Otherwise we see FailedMount errors in pods which tries to use those volumes.
Check please this comment in the issue: https://github.com/ceph/ceph-csi/issues/4493#issuecomment-1998555619
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
This pull request has been automatically closed due to inactivity. Please re-open if these changes are still required.
/reopen
it would be nice to also add the use case and example from https://github.com/ceph/ceph-csi/issues/4493 please !!!
and also rework the example ! It should be either an example or a template but the parenthesis inside the templates made me mad. I did not understand the syntax until I found an example in the issues.