Skip to content

fatal: [ 127.0.0.1 ]: network internet-monitoring-back-tier was found but has incorrect label #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stinnoo opened this issue Oct 15, 2024 · 2 comments
Labels

Comments

@stinnoo
Copy link

stinnoo commented Oct 15, 2024

While installing internet-pi and running ansible-playbook main.yml, I get the following error:

fatal: [ 127.0.0.1 ]: FAILED! => { "actions": [], "changed": false, "cmd": "/usr/bin/docker compose --ansi never --progress json --project-directory /home/stijn/internet-monitoring up --detach --no-color --quiet-pull --no-build --", "containers": [ { "Command": "\"/run.sh\"", "CreatedAt": "2024-10-15 11:48:43 +0100 BST", "ExitCode": 0, "Health": "", "ID": "eb193e17467b2b0ecc1056ce418f77f62a97db25b8fa91b2f656e4b9644fe59d", "Image": "grafana/grafana:latest", "Labels": { "com.docker.compose.config-hash": "7c609ea009ebf4b739b257768937d17637f8b9430abb6c76daa6c22d62568645", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "internet-monitoring", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/home/stijn/internet-monitoring", "com.docker.compose.service": "grafana", "com.docker.compose.version": "1.29.2", "maintainer": "Grafana Labs <[email protected]>" }, "LocalVolumes": "1", "Mounts": "/home/stijn/internet-monitoring/grafana/provisioning,/etc/localtime,internet-monitoring_grafana_data", "Name": "internet-monitoring_grafana_1", "Names": [ "internet-monitoring_grafana_1" ], "Networks": [ "internet-monitoring-back-tier", "internet-monitoring-front-tier" ], "Ports": "0.0.0.0:3030->3000/tcp, [::]:3030->3000/tcp", "Project": "internet-monitoring", "Publishers": [ { "Protocol": "tcp", "PublishedPort": 3030, "TargetPort": 3000, "URL": "0.0.0.0" }, { "Protocol": "tcp", "PublishedPort": 3030, "TargetPort": 3000, "URL": "::" } ], "RunningFor": "21 minutes ago", "Service": "grafana", "Size": "0B", "State": "running", "Status": "Up 9 minutes" }, { "Command": "\"/bin/node_exporter --path.procfs=/host/proc --path.sysfs=/host/sys --collector.filesystem.ignored-mount-points ^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($|/)\"", "CreatedAt": "2024-10-15 11:48:41 +0100 BST", "ExitCode": 0, "Health": "", "ID": "ea192a2ddfcac12d607ff8ff0416e9fe1207127cc9e3f2e93794d19ef18a0104", "Image": "prom/node-exporter:latest", "Labels": { "com.docker.compose.config-hash": "158f1600874ae213b1412f934eb12401dc6c62edca2084547308a7d480c38c04", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "internet-monitoring", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/home/stijn/internet-monitoring", "com.docker.compose.service": "nodeexp", "com.docker.compose.version": "1.29.2", "maintainer": "The Prometheus Authors <[email protected]>" }, "LocalVolumes": "0", "Mounts": "/etc/localtime,/proc,/sys,/", "Name": "internet-monitoring_nodeexp_1", "Names": [ "internet-monitoring_nodeexp_1" ], "Networks": [ "internet-monitoring-back-tier" ], "Ports": "0.0.0.0:9100->9100/tcp, :::9100->9100/tcp", "Project": "internet-monitoring", "Publishers": [ { "Protocol": "tcp", "PublishedPort": 9100, "TargetPort": 9100, "URL": "0.0.0.0" }, { "Protocol": "tcp", "PublishedPort": 9100, "TargetPort": 9100, "URL": "::" } ], "RunningFor": "21 minutes ago", "Service": "nodeexp", "Size": "0B", "State": "running", "Status": "Up 9 minutes" }, { "Command": "\"/bin/blackbox_exporter --config.file=/config/blackbox.yml\"", "CreatedAt": "2024-10-15 11:48:41 +0100 BST", "ExitCode": 0, "Health": "", "ID": "fa31692609d1b43a8d83ae8149d20cf1a731752ca9e1c97299b7edf1b98bb0ac", "Image": "prom/blackbox-exporter:latest", "Labels": { "com.docker.compose.config-hash": "6aab511535f269830a3856e756c4dfa17755c3f2186c7de3e3a79e6eaf9b5f39", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "internet-monitoring", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/home/stijn/internet-monitoring", "com.docker.compose.service": "ping", "com.docker.compose.version": "1.29.2", "maintainer": "The Prometheus Authors <[email protected]>" }, "LocalVolumes": "0", "Mounts": "/home/stijn/internet-monitoring/blackbox/config,/etc/localtime", "Name": "internet-monitoring_ping_1", "Names": [ "internet-monitoring_ping_1" ], "Networks": [ "internet-monitoring-back-tier" ], "Ports": "0.0.0.0:9115->9115/tcp, :::9115->9115/tcp", "Project": "internet-monitoring", "Publishers": [ { "Protocol": "tcp", "PublishedPort": 9115, "TargetPort": 9115, "URL": "0.0.0.0" }, { "Protocol": "tcp", "PublishedPort": 9115, "TargetPort": 9115, "URL": "::" } ], "RunningFor": "21 minutes ago", "Service": "ping", "Size": "0B", "State": "running", "Status": "Up 9 minutes" }, { "Command": "\"/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus --storage.tsdb.retention.time=90d --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles\"", "CreatedAt": "2024-10-15 11:48:43 +0100 BST", "ExitCode": 0, "Health": "", "ID": "421dcbcc2eb3465e83c885dd8b3256341e249301c3c983b3b153ba0127c9f210", "Image": "prom/prometheus:latest", "Labels": { "com.docker.compose.config-hash": "25cfc7cce51bb7b863b09301fa70838163da099a48dec22f84e08ab8f36f322a", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "internet-monitoring", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/home/stijn/internet-monitoring", "com.docker.compose.service": "prometheus", "com.docker.compose.version": "1.29.2", "maintainer": "The Prometheus Authors <[email protected]>" }, "LocalVolumes": "1", "Mounts": "/etc/localtime,/home/stijn/internet-monitoring/prometheus,internet-monitoring_prometheus_data", "Name": "internet-monitoring_prometheus_1", "Names": [ "internet-monitoring_prometheus_1" ], "Networks": [ "internet-monitoring-back-tier" ], "Ports": "0.0.0.0:9090->9090/tcp, :::9090->9090/tcp", "Project": "internet-monitoring", "Publishers": [ { "Protocol": "tcp", "PublishedPort": 9090, "TargetPort": 9090, "URL": "0.0.0.0" }, { "Protocol": "tcp", "PublishedPort": 9090, "TargetPort": 9090, "URL": "::" } ], "RunningFor": "21 minutes ago", "Service": "prometheus", "Size": "0B", "State": "running", "Status": "Up 9 minutes" }, { "Command": "\"python -u exporter.py\"", "CreatedAt": "2024-10-15 11:48:41 +0100 BST", "ExitCode": 0, "Health": "healthy", "ID": "87c1e899a914ca6650bc5c0c6fbec61fe75d009b0185956a4aaf23768d46d52b", "Image": "miguelndecarvalho/speedtest-exporter:latest", "Labels": { "com.docker.compose.config-hash": "aec82e7660dc92785ca8bc4d60e1bb5fe8555cfeca784768c81e1a29223eb7fe", "com.docker.compose.container-number": "1", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "internet-monitoring", "com.docker.compose.project.config_files": "docker-compose.yml", "com.docker.compose.project.working_dir": "/home/stijn/internet-monitoring", "com.docker.compose.service": "speedtest", "com.docker.compose.version": "1.29.2" }, "LocalVolumes": "0", "Mounts": "", "Name": "internet-monitoring_speedtest_1", "Names": [ "internet-monitoring_speedtest_1" ], "Networks": [ "internet-monitoring-back-tier" ], "Ports": "0.0.0.0:9798->9798/tcp, :::9798->9798/tcp", "Project": "internet-monitoring", "Publishers": [ { "Protocol": "tcp", "PublishedPort": 9798, "TargetPort": 9798, "URL": "0.0.0.0" }, { "Protocol": "tcp", "PublishedPort": 9798, "TargetPort": 9798, "URL": "::" } ], "RunningFor": "21 minutes ago", "Service": "speedtest", "Size": "0B", "State": "running", "Status": "Up 9 minutes (healthy)" } ], "images": [ { "ContainerName": "internet-monitoring_grafana_1", "ID": "sha256:9f82e9bb37c0690323b7aa7a71c1148bcac28940dcc84c103ee574736944242f", "Repository": "grafana/grafana", "Size": 467261775, "Tag": "latest" }, { "ContainerName": "internet-monitoring_nodeexp_1", "ID": "sha256:95133add9e51d0bfd49f0135f5000b5a681bcc0f4a2d90d6d379794a6e03e7bd", "Repository": "prom/node-exporter", "Size": 22673954, "Tag": "latest" }, { "ContainerName": "internet-monitoring_ping_1", "ID": "sha256:cbc74c33b9186758185335d11f20bb229224ce92c6be31909d394108727e5b0f", "Repository": "prom/blackbox-exporter", "Size": 23899897, "Tag": "latest" }, { "ContainerName": "internet-monitoring_prometheus_1", "ID": "sha256:4336a50d4ad97ffbd86705dcb191caf8449593dd7b9043d3797ed164c0e97236", "Repository": "prom/prometheus", "Size": 269114849, "Tag": "latest" }, { "ContainerName": "internet-monitoring_speedtest_1", "ID": "sha256:256beb9c3f3f5f2bc642e65c32e18082f41ae0dd76c2ca5fa46e3e3fc9e4ef65", "Repository": "miguelndecarvalho/speedtest-exporter", "Size": 72123439, "Tag": "latest" } ], "msg": "General error: network internet-monitoring-back-tier was found but has incorrect label com.docker.compose.network set to \"internet-monitoring-back-tier\"", "rc": 1, "stderr": "{\"error\":true,\"message\":\"network internet-monitoring-back-tier was found but has incorrect label com.docker.compose.network set to \\\"internet-monitoring-back-tier\\\"\"}\n", "stderr_lines": [ "{\"error\":true,\"message\":\"network internet-monitoring-back-tier was found but has incorrect label com.docker.compose.network set to \\\"internet-monitoring-back-tier\\\"\"}" ], "stdout": "", "stdout_lines": []

Terrabytee added a commit to Terrabytee/internet-pi that referenced this issue Jan 1, 2025
Modified front-tier and back-tier network names since install will fail without these names modified. Should be a fix for issue geerlingguy#619
Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Feb 17, 2025
Copy link

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant