shamirlabs / diva-alpha-net

Diva alpha testnet
https://docs.shamirlabs.org/diva/testnet/intro
19 stars 17 forks source link

Bug - prometheus bind mount #2

Closed yorickdowne closed 1 year ago

yorickdowne commented 1 year ago

Bind mount should use ./prometheus/prometheus/prometheus.yaml, not ./prometheus/config/prometheus.yaml. The latter does not exist in the repo.

actuallymentor commented 1 year ago

For context, this bug causes:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/user/dev/diva-alpha-net/prometheus/config/prometheus.yaml" to rootfs at "/etc/prometheus/prometheus.yml": mount /home/user/dev/diva-alpha-net/prometheus/config/prometheus.yaml:/etc/prometheus/prometheus.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

Errors when running the with-metrics compose file.