-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.20
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
CLOUD Sprint 277, CLOUD Sprint 278
-
2
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
We set up watches for the machine sync controller to rewrite reconciles for an InfraMachine to be for a MAPI machine with the same name. This assumes that the infra machine and CAPI machine (therefore MAPI machine) share the same name. If the CAPI machine is created from a MAPI one, this assumption holds. However, if we onboard an existing CAPI machine, it may not hold as there is no requirement that the CAPI Infra Machine share a name with the CAPI Machine. We should update the watches to resolve by owner reference (which are in place as part of the CAPI contract), to missing reconciles and this being an issue.
How reproducible:
Always
Steps to Reproduce:
1. Create CAPI Machine, with infra machine of different name. 2. Create MAPI Machine with spec.AuthoritativeAPI of CAPI (onboard the CAPI Machine)