aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.03k stars 323 forks source link

Feature request: make `maxBackOffInterval` configurable #491

Closed hencrice closed 1 year ago

hencrice commented 1 year ago

In some cases, our on-premise hosts boot up without internet connectivity. And once the SSM agent enters hibernate mode, it becomes increasingly harder to make it resume back to active mode even though the connectivity is restored.

Please consider making the maxBackOffInterval below configurable.

https://github.com/aws/amazon-ssm-agent/blob/44665b7ca49ae3d5e302a57d0931edea6d8e4771/agent/hibernation/hibernation.go#L54

Thanks!

timharris777 commented 1 year ago

We are having the same issue. Our boxes can be installed without an internet connection. We just ran into a box that was waiting six hours to connect once the internet connection was live because of the exponential backoff. Being able to set a maxBackOffInterval would be awesome.

sluggard76 commented 1 year ago

hencrice

We have created a feature request. Please note that we have a backlog of feature requests. We'll prioritize and work on those requests as they come in.

timharris777 commented 1 year ago

@sluggard76 , how do we track the progress of the feature request?

strophy commented 3 weeks ago

@sluggard76 can you let us know that status of this feature request? We have an edge device with occasional network failures, and all connectivity except SSM Agent is restored promptly when network connectivity is restored. The exponential backoff takes too long to retry, we need to be able to limit it somehow.

Why did you close this issue as completed if it isn't actually done, doesn't that defeat the purpose of a public issue tracker?