You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We faced an Issue that after an update of the SSM Agent running on an EC2 Instance it returned an error that it cannot find the EC2 Instance Role.
The update is triggered by the SSM Agent Document: AWS-UpdateSSMAgent.
The update was from version: 3.3.1142.0-1.x86_64 to 3.3.1230.0-1.x86_64.
The Issue persisted until the EC2 Instance was restarted.
Stopping amazon-ssm-agent...
2024-11-04 09:07:41.2240 INFO [amazon-ssm-agent] amazon-ssm-agent got signal:terminated value:0x7f30b0e916a0
2024-11-04 09:07:41.2318 INFO [amazon-ssm-agent] Stopping Core Agent
2024-11-04 09:07:41.2422 INFO [amazon-ssm-agent] [LongRunningWorkerContainer] Receiving stop signal, stop worker monitor
2024-11-04 09:07:48.2660 INFO [CredentialRefresher] Sending credential refresher stop signal
2024-11-04 09:07:48.2669 INFO [Registrar] Registrar is already stopped
2024-11-04 09:07:48.2696 INFO [amazon-ssm-agent] Bye.
Stopped amazon-ssm-agent.
Updated: amazon-ssm-agent-3.3.1230.0-1.x86_64
Started amazon-ssm-agent.
Error occurred fetching the seelog config file path: open /etc/amazon/ssm/seelog.xml: no such file or directory
Initializing new seelog logger
New Seelog Logger Creation Complete
2024-11-04 09:08:13.4731 INFO Proxy environment variables:
2024-11-04 09:08:13.4731 INFO https_proxy:
2024-11-04 09:08:13.4732 INFO http_proxy:
2024-11-04 09:08:13.4732 INFO no_proxy:
2024-11-04 09:08:13.4732 INFO Checking if agent identity type OnPrem can be assumed
2024-11-04 09:08:13.4742 INFO Checking if agent identity type EC2 can be assumed
2024-11-04 09:08:13.5829 INFO Agent will take identity from EC2
2024-11-04 09:08:13.5868 INFO [amazon-ssm-agent] amazon-ssm-agent - v3.3.1230.0
2024-11-04 09:08:13.5868 INFO [amazon-ssm-agent] OS: linux, Arch: amd64
2024-11-04 09:08:13.5868 INFO [amazon-ssm-agent] Starting Core Agent
2024-11-04 09:08:13.5868 INFO [amazon-ssm-agent] Registrar detected. Attempting registration
2024-11-04 09:08:13.5869 INFO [Registrar] Starting registrar module
2024-11-04 09:08:13.5900 INFO [EC2Identity] Checking disk for registration info
2024-11-04 09:08:13.5929 INFO [EC2Identity] Registration info found for ec2 instance
2024-11-04 09:08:13.5930 INFO [amazon-ssm-agent] Registration attempted. Resuming core agent startup.
2024-11-04 09:08:13.5931 INFO [CredentialRefresher] credentialRefresher has started
2024-11-04 09:08:13.5931 INFO [CredentialRefresher] Credentials ready
2024-11-04 09:08:13.5933 INFO [CredentialRefresher] Starting credentials refresher loop
2024-11-04 09:08:13.5933 INFO [CredentialRefresher] Next credential rotation will be in 21.183134547233333 minutes
2024-11-04 09:08:14.6429 INFO [amazon-ssm-agent] [LongRunningWorkerContainer] [WorkerProvider] Worker ssm-agent-worker is not running, starting worker process
2024-11-04 09:08:14.6517 INFO [amazon-ssm-agent] [LongRunningWorkerContainer] [WorkerProvider] Worker ssm-agent-worker (pid:28561) started
2024-11-04 09:08:14.6517 INFO [amazon-ssm-agent] [LongRunningWorkerContainer] Monitor long running worker health every 60 seconds
Invoked with creates=None executable=None _uses_shell=False strip_empty_ends=True _raw_params=systemctl is-active falcon-sensor removes=None argv=None warn=True chdir=None stdin_add_newline=True stdin=None
2024-11-04 10:02:44.9629 WARN EC2RoleProvider Failed to connect to Systems Manager with instance profile role credentials. Err: retrieved credentials failed to report to ssm. Error: EC2RoleRequestError: no EC2 instance role found
2024-11-04 10:02:45.1341 ERROR [TokenRequestService] failed to retrieve instance identity role. Error: RequestError: send request failed
caused by: Get "http://169.254.169.254/latest/meta-data/identity-credentials/ec2/security-credentials/ec2-instance": dial tcp 169.254.169.254:80: connect: network is unreachable
2024-11-04 10:02:45.1353 ERROR EC2RoleProvider Failed to connect to Systems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: unable to build RSA signature. No Authorization header in request
2024-11-04 10:02:45.1353 ERROR [CredentialRefresher] Retrieve credentials produced error: no valid credentials could be retrieved for ec2 identity. Default Host Management Err: error calling RequestManagedInstanceRoleToken: unable to build RSA signature. No Authorization header in
2024-11-04 10:02:45.1353 INFO [CredentialRefresher] Sleeping for 5m0s before retrying retrieve credentials
We faced an Issue that after an update of the SSM Agent running on an EC2 Instance it returned an error that it cannot find the EC2 Instance Role.
The update is triggered by the SSM Agent Document: AWS-UpdateSSMAgent.
The update was from version: 3.3.1142.0-1.x86_64 to 3.3.1230.0-1.x86_64.
The Issue persisted until the EC2 Instance was restarted.
Output from /etc/os-release
The text was updated successfully, but these errors were encountered: