You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ComputeInstance using Windows images will error resolving externally-managed fields #524
If this issue is time-sensitive, I have submitted a corresponding issue with GCP support.
Bug Description
KCC can be used to create GCP ComputeInstance VMs with Windows Server images. In order to RDP, there needs to be users created first, which GCP supports via the "Set Windows Password" button. Doing this (it seems like the first user is fine, but more than 1 will fail, but not 100% sure) however, creates a state of UpdateFailed
It seems like KCC needs to let this field "float" i.e. be managed be GCP, or parse it as a map instead of a list and save as string(?), or as a workaround (we haven't tried yet) the user needs a round-trip to re-acquire the GCP generated configs under spec.metadata.[]
Update: The workaround of another round-trip to re-acquire the GCP generated configs under spec.metadata.[key="windows-keys",value="long string"] managed to move the state back to UpToDate
Activity
tonybenchsci commentedon Aug 6, 2021
Update: The workaround of another round-trip to re-acquire the GCP generated configs under spec.metadata.[key="windows-keys",value="long string"] managed to move the state back to
UpToDatejcanseco commentedon Aug 12, 2021
Thank you @tonybenchsci for providing a workaround and an update. It helps us understand the problem more easily and helps other users as well!
I can confirm that I am able to reproduce the issue consistently, and that we should have a fix out within the next 2 releases.
jcanseco commentedon Aug 28, 2021
Hi @tonybenchsci, can you try the latest KCC version and see if the issue has been fixed? We put out a bug fix in KCC 1.59.0.
Closing this issue now, but please feel free to add a comment if you find that the issue still exists.