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
mon entries in csi configmap is not updated for subvolume group/rados namespace in external cluster mode #10126
Comments
|
cc @travisn |
|
Are entries working fine with the normal rook-ceph mode? |
I don't think so if new mon's are added/deleted (still need to test it) but rook-operator pod update should fix it i think |
A restart will not work because of the predicate we added, as there is no change in CR it will not get reconciled again. |
|
I'm imagining a format slightly different from the first option you mentioned.
|
|
This might not work for upgraded cluster we might need to consider that one as well. |
What versions do we need to worry about? It seems like a new feature that we could assume starting fresh, no? |
|
Existing cluster which already have subvolumegroups created? |
|
Am fine with new clusters also. |
|
This has been in v1.8 so I guess there could be some clusters. Perhaps it would be simple for rook to just convert those entries to the new format if it finds them. I'll look at that. |
Sounds good. Thanks @travisn |
|
Per offline discussion, #10131 isn't feasible since the unique clusterID for each subvolumegroup and rados namespace is key to the current design. What I want to avoid is that the operator should not have to update the mon endpoints in multiple places if there are multiple subvolumegroups and rados namespaces. The list of mons should only be defined in a single place for each cluster. What if we just add a new field to the ClusterInfo struct such as |
The mon IP are updated only for the default cluster ID in case of the external mode and more subvolume groups created, Below is the configmap output.
For cluster-ID
rook-cephwe have all 3 monitors Rook reconciled but for the cluster-ID301f300cac48f552a5cd6b837c49d355we have only one Mon. Rook should update all the clusterID belonging to one ceph cluster with required mon informationAS discussed with @travisn below could be two possible approaches
or
with new empty in configmap clusterIDMappings we will have a mapping between clusterID's of subvolumegroups and rados namespaces to the namespace name of ceph cluster.
The text was updated successfully, but these errors were encountered: