What happened:
An invalid disk size spec in shootdataVolumes can cause invalid MachineClass to be created which can prevent deletion of Machine objects.
For example, a MachineClass with disk sizeGb: 1 is invalid and all Machine objects associated with that MachineClass will be stuck in Terminating state.
What you expected to happen:
Deletion of Machine objects should not be blocked because there is an error in the associated MachineClass
How to reproduce it (as minimally and precisely as possible):
See canary issue 4986
What happened: An invalid disk size spec in shoot
dataVolumes
can cause invalidMachineClass
to be created which can prevent deletion ofMachine
objects.For example, a
MachineClass
with disksizeGb: 1
is invalid and allMachine
objects associated with thatMachineClass
will be stuck inTerminating
state.What you expected to happen:
Deletion of
Machine
objects should not be blocked because there is an error in the associatedMachineClass
How to reproduce it (as minimally and precisely as possible): See canary issue 4986
Anything else we need to know:
Environment: GCP