EdgeX Docker deployment keeps restarting #17
Replies: 2 comments 13 replies
-
Please attach the compose file you are using. Can you browse successfully to localhost:8500 and interact with the Consul UI? |
Beta Was this translation helpful? Give feedback.
-
Here's the compose file: networks: |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I am running Ubuntu Server 22.04 LTS in a VirtualBox inside Windows 10. I am able to successfully run docker containers in it. But when I am trying to deploy EdgeX using the EdgeX-Compose repository with the no-secty command all the core services keep restarting. Only services running properly are consul and redis.
When I try to see the docker logs for core-data I get the following.
level=INFO ts=2022-10-11T22:02:04.350549681Z app=core-data source=config.go:392 msg="Loaded service configuration from /res/configuration.toml"
level=INFO ts=2022-10-11T22:02:04.351128515Z app=core-data source=variables.go:371 msg="Variables override of 'Databases.Primary.Host' by environment variable: DATABASES_PRIMARY_HOST=edgex-redis"
level=INFO ts=2022-10-11T22:02:04.351152214Z app=core-data source=variables.go:371 msg="Variables override of 'MessageQueue.Host' by environment variable: MESSAGEQUEUE_HOST=edgex-redis"
level=INFO ts=2022-10-11T22:02:04.351158284Z app=core-data source=variables.go:371 msg="Variables override of 'Registry.Host' by environment variable: REGISTRY_HOST=edgex-core-consul"
level=INFO ts=2022-10-11T22:02:04.351162553Z app=core-data source=variables.go:371 msg="Variables override of 'Service.Host' by environment variable: SERVICE_HOST=edgex-core-data"
level=INFO ts=2022-10-11T22:02:04.351262379Z app=core-data source=config.go:161 msg="Using Configuration Provider access token of length 0"
level=INFO ts=2022-10-11T22:02:04.351268409Z app=core-data source=config.go:367 msg="Using Configuration provider (consul) from: http://edgex-core-consul:8500 with base path of edgex/core/2.0/core-data"
level=ERROR ts=2022-10-11T22:02:14.357025181Z app=core-data source=config.go:180 msg="configuration provider is not available"
level=ERROR ts=2022-10-11T22:02:25.35845714Z app=core-data source=config.go:180 msg="configuration provider is not available"
level=ERROR ts=2022-10-11T22:02:36.363766648Z app=core-data source=config.go:180 msg="configuration provider is not available"
level=ERROR ts=2022-10-11T22:02:47.368369597Z app=core-data source=config.go:180 msg="configuration provider is not available"
level=ERROR ts=2022-10-11T22:02:58.373320549Z app=core-data source=config.go:180 msg="configuration provider is not available"
level=ERROR ts=2022-10-11T22:03:09.374630023Z app=core-data source=config.go:180 msg="configuration provider is not available"
level=INFO ts=2022-10-11T22:03:10.375093844Z app=core-data source=registry.go:61 msg="Using Registry access token of length 0"
level=INFO ts=2022-10-11T22:03:10.375133705Z app=core-data source=registry.go:85 msg="Using Registry (consul) from http://edgex-core-consul:8500"
level=ERROR ts=2022-10-11T22:03:10.375160111Z app=core-data source=bootstrap.go:46 msg="unable to register with Registry in allotted time"
Any help is appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions