-
Notifications
You must be signed in to change notification settings - Fork 46
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
(Nucleus): component is not gracefully terminated when a new version is deployed #1667
Comments
When I restart greengrass via systemctl ( (I get exit code |
Right now, I cannot quickly bump the |
As a workaround, I added a
Heads up, you probably have to change the following to the script:
|
Thank you for the detailed report. We will look into this and get back to you about the fix. About updating versions: Our plugin(type) components (such as ShadowManager) are meant to be used with the minor version of nucleus which they have been tested with. So to bump Nucleus up to 2.13.x, you should also bump all your plugin components at the same time. This would be 2.3.9 for ShadowManager. |
@aws-kevinrickard thanks for the explanation of the update strategy. Let me know if you think updating the version would solve the issue or would give you more insights. I didn't see any changes in the relevant code over releases (See #1668), but I might be wrong. My setup involves a couple of different devices and testing is a little cumbersome, I'd prefer to bump the version only when it gives value. I hope that makes sense. |
@timvlaer We don't have reason to believe that upgrading the version to 2.13 would solve it. Thanks also for the draft PR |
Describe the bug
When I deploy a new version of my component, the currently running version of my component is not nicely shutdown but immediately killed.
To Reproduce
Expected behavior
I expected to get a SIGTERM signal first and then after a while a hard SIGKILL.
Actual behavior
The application is immediately killed. The logs say they send a sigterm (force=false) and then a sigkill (force=true) but I don't see the SIGTERM. It doesn't look like a get a SIGTERM or I don't have the time to react to it.
Environment
Additional context
In the debug logs, a couple of things seems weird to me:
force is false
andforce is true
is a couple of milliseconds. The code suggests it should be 5 seconds.bluetoothctl power on\npython3 -u
) but if I dops -ef
on the machine, it only shows a processpython3...
. I guess the string logged is taken from the config and not the real situation.The text was updated successfully, but these errors were encountered: