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
If I read the code correctly, this is caused by the machineDeployment controller adding an EventHandler for Adds of machineSets in its Init which subsequently causes all machineDeployments that own a machineSet to get enqeued - However the queue gets created after the Init is called:
Currently, the
machineDeployment
controller sometimes panics on startup when amachineSet
already exists:If I read the code correctly, this is caused by the
machineDeployment
controller adding an EventHandler for Adds of machineSets in itsInit
which subsequently causes allmachineDeployments
that own amachineSet
to get enqeued - However the queue gets created after theInit
is called:cluster-api/pkg/controller/machinedeployment/zz_generated.api.register.go
Lines 59 to 71 in ba672fe
So if the initial
List
ofmachineSets
is fast enough, this results in a NPE.The text was updated successfully, but these errors were encountered: