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
CAPO conversion webhook from v1alpha3 to v1alpha4 is not initialized. You can notice this in two ways:
Creating v1alpha3 CAPO resources doesn't work.
There is no log about conversion webhook registered (log line should be conversion webhook enabled).
Error output:
Error from server (InternalError): error when creating "xxx.yaml": Internal error occurred: conversion webhook for infrastructure.cluster.x-k8s.io/v1alpha3, Kind=OpenStackMachine failed: the server could not find the requested resource
During troubleshooting me and my colleague @jsen- ran debug mode in VSCode and we noticed that during webhook setup the schema implemented only Hub interface and no Convertible. This was because the v1alpha3 schema is not added in the main.go.
Environment:
Cluster API Provider OpenStack version: Tested both with main (1576e9c1ff8e2f292d8ec01840367cf16246f21c) and 0.4.0
Oh, I didn't notice this PR in the meantime, it was opened 1 day before mine. Difference in code change is that it includes also old CAPI schemas, which are IMO not needed here.
Hi @jichenjc we can close this, but I assume you should do new release as this is critical otherwise users will use the old one and report this same bug.
/kind bug
CAPO conversion webhook from
v1alpha3
tov1alpha4
is not initialized. You can notice this in two ways:v1alpha3
CAPO resources doesn't work.conversion webhook enabled
).Error output:
During troubleshooting me and my colleague @jsen- ran debug mode in VSCode and we noticed that during webhook setup the schema implemented only Hub interface and no Convertible. This was because the
v1alpha3
schema is not added in the main.go.Environment:
main
(1576e9c1ff8e2f292d8ec01840367cf16246f21c
) and0.4.0
kubectl version
): 1.20.2Fix opened in MR #988
The text was updated successfully, but these errors were encountered: