Closed tormath1 closed 10 months ago
Hello, Please be aware that SSM Agent does not claim to support Flatcar Linux. That said, I would recommend uninstalling your Agent and then reinstalling the desired version (rather than trying to perform an update). Updating from a much older version to a much newer version can be the cause of issues like the one you are seeing.
Hello, Please be aware that SSM Agent does not claim to support Flatcar Linux. That said, I would recommend uninstalling your Agent and then reinstalling the desired version (rather than trying to perform an update). Updating from a much older version to a much newer version can be the cause of issues like the one you are seeing.
When @tormath1 says "upgraded" he means that this was done during the AMI build process and not on a running instance. So the instance that fails in this way only ever came up with 3.2.985.0
.
@armnejad are you able to share how/when /var/lib/amazon/ssm/
and /var/lib/amazon/ssm/runtimeconfig
are populated?
Closing this, it has been solved on our side.
Hello,
I am a maintainer of Flatcar container Linux, a Linux based OS. We upgraded Amazon SSM Agent from
2.3.1319.0
to3.2.985.0
and we're noticing issues which impact Flatcar AWS users:The instance is started with a role having the following permission:
AmazonSSMManagedInstanceCore
and I even tried using the Fleet Manager: Default Host Management Configuration on this role.Running the diagnostic tool, I see this:
I tried to get more logs without success and I am not sure if the following warning is somehow related:
Another information:
/var/lib/amazon/ssm/
does not even exist.Any chance to get some information on what to do next for debugging?
EDIT: I tried with ubuntu with the same role/config, and it works as expected.