Skip to content

customConfd is broken because of wrong path mount #2243

@juljaeg

Description

@juljaeg

This change here broke the mounting of confd files as the usage of / instead of -- does not happen anymore: a1280f4#diff-a80e1dad44b204bcd75eed397bfa4a89f944c4804baebd6f988392094f058dc2L540

Please fix it as it is effectively breaking cluster-agent checks.

agent:

$ agent health
  Loading Errors
  ==============
    tcp_check.d--1
    --------------
      Core Check Loader:
        Check tcp_check.d--1 not found in Catalog

      Python Check Loader:
        unable to load check tcp_check.d--1: unable to load python module datadog_checks.tcp_check.d--1: unable to import module 'datadog_checks.tcp_check.d--1': No module named 'datadog_checks.tcp_check.d--1', unable to load python module tcp_check.d--1: unable to import module 'tcp_check.d--1': No module named 'tcp_check'

cluster-agent:

cluster-agent '/conf.d/tcp_check.d--1.yaml' -> '/etc/datadog-agent/conf.d/tcp_check.d--1.yaml'
cluster-agent '/conf.d/dns_check.d--1.yaml' -> '/etc/datadog-agent/conf.d/dns_check.d--1.yaml'
cluster-agent '/conf.d/istio.d--auto_conf.yaml' -> '/etc/datadog-agent/conf.d/istio.d--auto_conf.yaml'
cluster-agent '/conf.d/kubernetes_apiserver.yaml' -> '/etc/datadog-agent/conf.d/kubernetes_apiserver.yaml'
cluster-agent '/conf.d/http_check.d--1.yaml' -> '/etc/datadog-agent/conf.d/http_check.d--1.yaml'
cluster-agent '/conf.d/kubernetes_state_core.yaml.default' -> '/etc/datadog-agent/conf.d/kubernetes_state_core.yaml.default'
cluster-agent '/conf.d/tcp_check.d--1.yaml' -> '/etc/datadog-agent/conf.d/tcp_check.d--1.yaml'
cluster-agent '/conf.d/dns_check.d--1.yaml' -> '/etc/datadog-agent/conf.d/dns_check.d--1.yaml'
cluster-agent '/conf.d/istio.d--auto_conf.yaml' -> '/etc/datadog-agent/conf.d/istio.d--auto_conf.yaml'
cluster-agent '/conf.d/kubernetes_apiserver.yaml' -> '/etc/datadog-agent/conf.d/kubernetes_apiserver.yaml'
cluster-agent '/conf.d/http_check.d--1.yaml' -> '/etc/datadog-agent/conf.d/http_check.d--1.yaml'
cluster-agent '/conf.d/kubernetes_state_core.yaml.default' -> '/etc/datadog-agent/conf.d/kubernetes_state_core.yaml.default'
cluster-agent 2025-12-16 17:51:26 UTC | CLUSTER | ERROR | (pkg/collector/scheduler.go:223 in getChecks) | Unable to load a check from instance of config 'istio.d--auto_conf': Core Check Loader: Check istio.d--auto_conf not found in Catalog

It gets mounted to /etc/datadog-agent/conf.d/http_check.d--1.yaml where it should be /etc/datadog-agent/conf.d/http_check.d/1.yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions