BOSH deployment fails When running apply changes on TPCF tile with the following errors found in the /var/vcap/sys/log/otel-collector/ logs on the failed vm.
Error: cannot start pipelines: listen tcp 127.0.0.1:9100: bind: address already in use
2025/08/21 13:55:22 collector server run finished with error: cannot start pipelines: listen tcp 127.0.0.1:9100: bind: address already in use
Port 9100 is the default ingress port for OTEL collector and is used by the local TPCF forwarding agents to ingest logs into the OTEL collector pipeline. At the time of writing this article the ingress port of 9100 is not configurable through the operations manager TPCF tile.
Some third party tiles or bosh releases may include, for example, the Node Exporter bosh release which uses port 9100. If you are concerned there might be a conflict before enabling OTEL collector or before upgrading Tanzu Application service to 6.0.20/10.2.3 you can look for other processes using port 9100 by running the following command on your bosh deployed vms
bosh -d <deployment> ssh <instance_group> -c "sudo ss -tulnp" | grep 9100
In a future version of TPCF the OTEL collector ingress port will be configurable to help in cases like this.
For now the workaround is to identify the BOSH add-on that is conflicting with OTEL collector port 9100 and take one of the following workarounds to mitigate this issue.
~$ head *
==> 521cbbcf8fb7.yml <==
---
name: cf
product_version: 6.0.20
minimum_version_for_upgrade: 4.0.0
pivnet_filename_regex: cf-.*\.pivotal
label: VMware Tanzu Application Service
rank: 90
metadata_version: 3.0.6
original_metadata_version: '3.0'
service_broker: false
- name: otel-collector
runtime_config: |
addons:
- name: otel-collector
jobs:
- name: otel-collector
release: tanzu-otel-collector
properties:
enabled: true
ingress:
grpc:
port: 9102
addons:
- name: node_exporter
jobs:
- name: node_exporter
release: node-exporter
properties:
node_exporter:
web:
port: 9191