Output of the info page (if this is a bug)
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target blkio from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpu from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target memory from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target blkio from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpu from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target memory from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target blkio from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpu from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target memory from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target blkio from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpu from mounts
[ AGENT ] 2018-11-07 23:43:29 UTC | ERROR | (cgroup_detect.go:53 in cgroupFilePath) | Missing target cpuacct from mounts
Describe what happened:
Successfully installed the Datadog Agent as a daemon service on my ECS cluster, per the instructions at https://docs.datadoghq.com/integrations/amazon_ecs/
With CloudFormation, updated the working AMI to Amazon Linux 2
amzn-ami-2018.03.h-amazon-ecs-optimized -> amzn2-ami-ecs-hvm-2.0.20181017-x86_64-ebs
Describe what you expected:
The 'docker' facet on our Datadog logs blew up with thousands of Error level messages after the upgrade. See the log output above.
Steps to reproduce the issue:
run the task https://docs.datadoghq.com/json/datadog-agent-ecs-logs.json on Amazon Linux 2
Additional environment details (Operating System, Cloud provider, etc):
Amazon Linux 2018.03 and Amazon Linux 2.20181017 and Datadog Agent v6.6.0
On Amazon Linux 2, the cgroup folder path changed from the custom /cgroup/ to the standard /sys/fs/cgroup/, you'll need to update the sourcePath value in your task definition.
Pinging @DataDog/baklava for the template update
Thanks @xvello! I figured it was something related to the mounts, but haven鈥檛 had time to dig into it.
https://github.com/DataDog/documentation/pull/3449 updates the json file. Will also submit a PR to update the docs page to support both AMI versions.
Most helpful comment
On Amazon Linux 2, the cgroup folder path changed from the custom
/cgroup/to the standard/sys/fs/cgroup/, you'll need to update thesourcePathvalue in your task definition.Pinging @DataDog/baklava for the template update