Closed BEllis closed 2 years ago
Hi @BEllis, Thanks for reaching us. Are we seeing this in-progress command being picked up after the update? There should be a log line which says "Processing in-progress document - {CommandId}". Could you please provide few more logs which were logged during this period in amazon-ssm-agent.log and error.log file?
I'll take a look next time it happens, but from my experience they don't get picked up after the update.
There was a queue issue resolved in version 3.1.127.0, what versions of the agent are you running before the update?
Feel free to reopen when the issue pops up again. We have few fixes in the latest version for this type of issue. Thanks
If an SSM Command is issued while the SSM Agent is being upgraded, it will be marked as "In Progress" but will never Complete.
This is an issue for us in that we have instances that are stopped for long periods of time, when they start they receive an update command to update the SSM Agent, but the agent reports back as "Online" so our scripts also issue SSM commands to be run but these randomly get lost if they are received while the agent is updating. There is an error in the SSM log about not being able to send the response due to the queue being closed.