-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checkpoint is not reverted when role aborts with log_error() #154
Comments
does it mean that #119 introduced a regression? Or did it just expose a bug present before? |
Instead of fixing the module so that it always reverts the checkpoint, wouldn't it be better to let NM itself revert the checkpoint (after a timeout)? There can always be unforeseen circumstances where the module would abort, so letting NM revert the checkpoint would be more robust. |
Previously the role did not use checkpoints and the new implementation is faulty.
There is also a timeout that will revert the checkpoint eventually. But in the meantime a possibly partial configuration might be active and the role will fail until the checkpoint is taken care of. Reference: |
Symptom: when the role fails (for whatever reason), subsequent invocation fails with a message like
Workaround: wait 90 seconds for each profile one specified when the role failed originally. |
Related bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1816140 |
Another workaround:
|
log_error()
does not only log but also exists the module. In this case, the role does not yet revert the checkpoint. This needs to be changed.The text was updated successfully, but these errors were encountered: