-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
3
-
None
-
None
-
CLOUD Sprint 274, CLOUD Sprint 275, CLOUD Sprint 276, CLOUD Sprint 277, CLOUD Sprint 278, CLOUD Sprint 279
Background
Currently we determine the direction of migration by checking what the spec.authoritativeAPI.
This works for the base case, but it doesn't work when a migration is stuck in .status.authoritativeAPI: Migrating and the user, to unblock the migration, changes the .spec.authoritativeAPI back to the original value.
At that point we need to reliably tell which way we were trying to migrate to when we got stuck. That will allow us to then be able to exactly tell which API engine to roll back to and to apply the rollback procedure to undo the partial migration.
So we want to add a `.status.synchronizedAPI` field (with possible values as "" | MachineAPI | ClusterAPI) on both MAPI MachineSet and MAPI Machine.
Steps
- Add .status.synchronizedAPI of Machine API resources based on the enhancement
- Adding setting the field in the sync controllers and in the migration controllers logic
- Get API review
- Get API merged
Stakeholders
- <Who is interested in this/where did they request this>
Definition of Done
- <Add items that need to be completed for this card>
- Docs
- <Add docs requirements for this card>
- Testing
- <Explain testing that will be added>