edgexfoundry / edgex-compose

EdgeX Foundry Docker Compose release compose files and tools for building EdgeX compose files
Apache License 2.0
83 stars 119 forks source link

add-device-bacnet.yaml docker compose start fail #238

Closed ocatting closed 2 years ago

ocatting commented 2 years ago

Why does the device-bacnet service fail to start ?

![image](https://user-images.githubusercontent.com/25273828/167982242-b169c61b-60ba-4868-bebb-012afc95c562.png) ### Execute commands in β€œcompose-builder” folder ### docker compose -f docker-compose-base.yml up -d ![image](https://user-images.githubusercontent.com/25273828/167982988-71da3a0b-2141-4119-8bce-a124ade4460e.png) ### docker compose -f add-device-bacnet.yml up edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="iot_threadpool_alloc (threads: 8 max_jobs: 0 default_priority: -1 affinity: -1)" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="iot_threadpool_alloc (threads: 8 max_jobs: 0 default_priority: -1 affinity: -1)" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-2 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-1 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-2 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-3 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-3 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-4 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-5 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-6 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-7 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-1 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-4 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-5 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-6 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-7 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread iot-0-0 starting" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread iot-0-0 starting" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="iot_scheduler_alloc (priority: -1 affinity: -1)" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="iot_scheduler_alloc (priority: -1 affinity: -1)" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="iot_threadpool_start()" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="iot_threadpool_start()" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread waiting for new job" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Found registry service at consul://edgex-core-consul:8500" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Found registry service at consul://edgex-core-consul:8500" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="iot_threadpool_add_work()" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Added new job #0" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="iot_threadpool_add_work jobs/max: 1/4294967295" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Thread processing job #0" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Override config Service/Host = edgex-device-bacnet" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Setting LogLevel to WARNING" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="iot_threadpool_add_work()" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Added new job #0" edgex-device-bacnet | level=DEBUG ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="iot_threadpool_add_work jobs/max: 1/4294967295" edgex-device-bacnet | level=TRACE ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Thread processing job #0" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Override config Service/Host = edgex-device-bacnet" edgex-device-bacnet | level=INFO ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Setting LogLevel to WARNING" edgex-device-bacnet | level=ERROR ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="consul: no service named edgex-core-metadata" edgex-device-bacnet | level=ERROR ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="consul: no service named edgex-core-metadata" edgex-device-bacnet | level=ERROR ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="consul: no service named edgex-core-data" edgex-device-bacnet | level=ERROR ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="consul: no service named edgex-core-data" edgex-device-bacnet | level=ERROR ts=2022-05-12T02:19:39Z app=device-bacnet-ip msg="Missing endpoint for core-data service." edgex-device-bacnet | level=ERROR ts=2022-05-12T02:19:39Z app=device-bacnet-mstp msg="Missing endpoint for core-data service." edgex-device-bacnet | Error: 4: Configuration is invalid edgex-device-bacnet | Error: 4: Configuration is invalid edgex-device-bacnet exited with code 4 ### Error: 4: Configuration is invalid ## Environment **Deployment Environment:** macOS Monterey version 12.3.1 **EdgeX Version [**REQUIRED**]: 2.1**
lenny-goodell commented 2 years ago

Please read the README for compose builder so you use it properly.