hawkbit icon indicating copy to clipboard operation
hawkbit copied to clipboard

Set rollout error state for failed creation, starting or deletion process

Open herdt-michael opened this issue 2 years ago • 4 comments

Set rollout into error state in case of too many tries of starting, creating or deleting a rollout.

herdt-michael avatar Apr 26 '23 12:04 herdt-michael

Can one of the admins verify this patch?

hawkbit-bot avatar Apr 26 '23 12:04 hawkbit-bot

@herdt-michael, is this PR something that is to be processed? There was some time without a progress, and there are unresolved reviews. Anyway, what is the motivation of this feature? An rollout start/delete could fail many times because of temporary DB failures/overload or whatever. Do we need to put it in error state? What are the cases when rollout isn't recoverable? Could you provide a little bit motivation for the PR.

avgustinmm avatar Sep 27 '23 09:09 avgustinmm

@herdt-michael, is this PR something that is to be processed? There was some time without a progress, and there are unresolved reviews. Anyway, what is the motivation of this feature? An rollout start/delete could fail many times because of temporary DB failures/overload or whatever. Do we need to put it in error state? What are the cases when rollout isn't recoverable? Could you provide a little bit motivation for the PR.

Hi @avgustinmm , please excuse the late reply.

In cases where an exception has occurred during the handling of a rollout creation, with the next scheduler run the same rollout is processed again. The issue arises because the old scheduler run was not fully completed and ended up in an unexpected state. In some cases, this resulted in a mismatch between the target count and the targets actually included. With an error handling concept, for example, the creation of a rollout should be stopped with an error state rather than "forcing" trying to create a possibly corrupt rollout.

herdt-michael avatar Dec 01 '23 09:12 herdt-michael

Not required anymore.

herdt-michael avatar Jan 28 '25 07:01 herdt-michael