-
Notifications
You must be signed in to change notification settings - Fork 547
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
Tracker issue for intree rbd to ceph csi online migration #2509
Comments
@humblec any specific reason not to use/suggest the CSI migration tool which is getting developed by @Yuggupta27 and @subhamkrai?
IMO This is an extra burden to the cephcsi supportability point of view can you please provide more details with examples of why we are taking this approach? |
@Madhu-1 For At any point they want to do offline migration , they could make use of the tool as well.. so users are left with good amount of choices and have options for both online and offline migration and make use of Ceph CSI. !!
I dont think so, these helpers will be ONLY called for
The intree driver has |
yes if we go for offline tools we can support all these features.
we don't support DeleteVolume for the static PVC but you have added it to the list. as I already mentioned in #1725 (comment) not sure it's worth supporting this one with extra effort. If we really need/want to support this one please make sure we support only the ceph version mentioned in the readme |
Yep, iow, at any point in time ( even after online migration has been enabled) , if users want to go with offline migration (now or later or even only for few volumes) , they can take that route based on the production downtime and feasibility of making other changes for the consumers of current volumes and its templates. Online can be an intermediate path as well for many deployments.
As this delete will be only for "migration volumes" it will be a very shim helper function and can be done with it.
Sure @Madhu-1 , thats the plan 👍 |
as part of migration support, the clusterID has to be fetched from passed in mon. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
as part of migration support, the clusterID has to be fetched from passed in mon. Because the intree RBD storage class only got monitor and not `clusterID` parameter support. However, in CSI, SC has the `clusterID` parameter support but not mon. Due to that we have to fetch the clusterID from config file for the passed in mon and use it in our operations. This adds a helper function to retrieve clusterID from passed in mon string. Updates #2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Fixes ceph#2596 Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds migration design doc which carry information about the required changes and design for rbd intree to csi migration. Fixes ceph#2596 Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
@humblec I have added one more todo to |
This commit adds the migration secret request validation to expand, create controller functions. Ref # #2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit adds the migration secret request validation to expand, create controller functions. Ref # ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit make recreateCSIRBDPods function to be a general one so that it can be consumed by more clients. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit make recreateCSIRBDPods function to be a general one so that it can be consumed by more clients. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit make recreateCSIRBDPods function to be a general one so that it can be consumed by more clients. Updates #2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit make recreateCSIRBDPods function to be a general one so that it can be consumed by more clients. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This commit make recreateCSIRBDPods function to be a general one so that it can be consumed by more clients. Updates ceph#2509 Signed-off-by: Humble Chirammal <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
Describe the bug
This issue track the few changes required to support in tree rbd migration to ceph csi ( Project # https://github.com/ceph/ceph-csi/projects/18) , this allows an in tree rbd user to do online migration without changing any existing templates. This feature is tracked in kubernetes for v1.23 as alpha under kubernetes/enhancements#2963.
Demo : part 1 shows PVCs created before enabling migration and part2 shows PVCs created after migration.
https://drive.google.com/file/d/1yfcngCEyrOPDG5tOg7gva0wVJqNELRGc/view
As discussed in CSI calls, currently identified changes are:
The volume handle would include the migration version, mon, pool and image which could be used for operations like delete. Once we have these information available with us its well possible to delete the existing in tree PVs. The volume handle can
The current format of the volume handle looks like this:
Admin supposed to create a clusterID based on the monitors hash ( md5sum) in the csi config map and keep the monitors under this configuration before enabling the migration. While CSI driver receive the volume handle it will look at the configmap and figure out the mons to do the operations.
The initial plan was to ask the admin to adjust the secret as a pre-upgrade step for migration which avoid this change in the CSI driver, however taking out admin burden is the main ask from kubernetes community so this change is introduced.
"key" field value will be picked up from the migraion secret to "UserKey" field. "adminId" field value will be picked up from the migration secret to "UserID" field. if
adminId
field is nil or not set,UserID
field will be filled with default value ieadmin
.The above logic get activated only when the secret is a migration secret, otherwise skipped to the normal workflow as we have today.ToDo:
Is there a plan to add rbd csimigration controller in kubernetes? #1725
Release 3.6 Items:
The text was updated successfully, but these errors were encountered: