Closed Nesurion closed 8 years ago
The update task waits forever for the old slice to be deleted, which never happens as the delete task is not scheduled. We found that breaking
the loop in https://github.com/giantswarm/inago/blob/master/controller/update.go#L353 causes this error, because the outer loop iterates over the request slices (in our case just one) and breaks after scheduling the add
.
This is only part of the story though. Simply removing the break causes the update to run forever in all cases.
After testing different numbers of slices again and syncing with @xh3b4sd, we discovered that the update failure was due to a broken fleet and not inago.
I deployed a group with one slice and then tried updating it with:
inagoctl update mygroup
so using the default parameters:--max-growth=1
--min-alive=1
--ready-secs=30
.inago starts a second slice and waits until its up. Destroying the old slice however does not happen. It repeats the following step forever:
fleetctl list-units: