31 Jan 2023 06:41 PM - last edited on 14 Jun 2023 09:46 AM by Michal_Gebacki
Hi there,
I am running PaaS agent (runtime injection through /api/v1/deployment/installer/agent/unix/paas/latest) on ECS Fargate container. The hostname detected is reported as ip-1-2-3-4.ec2.internal and the host has property "Cloud=EC2" attached.
Based on the sample case provided on Dynatrace KB, the hostname is supposed to be detected as ECS task name.
Would you please advise what could be the problem?
Thanks!
Solved! Go to Solution.
13 Apr 2023 12:37 PM
@thuang09 do you have the KB Link? I'm curious if they forgot to include a step for a Host Rename action. You can set automatic rules to rename the hosts as you see fit.
13 Apr 2023 01:58 PM
@ChadTurner The root cause is on container "ReadOnlyRootFileSystem". Dynatrace agent requires R/W access to temporary folder for ECS meta data processing . Issue fixed by binding a R/W volume to the container for such access.
Thanks!
13 Apr 2023 02:01 PM
@thuang09 thanks for providing the update! Happy to hear you got it fixed and thrilled that its now posted in the community to help out any other users that run into a similar issue!
30 Aug 2024 04:38 PM
@thuang09 i encounter the same issue. Can you share what was binded to the container? Thank you!