Netflix导体服务器本地docker容器不健康

问题描述 投票:2回答:1

我按照here的步骤在我的桌面上本地安装和运行Netflix Conductor。我正在尝试使用docker-compose来提供所有服务。在不正确的docker版本的初始问题,docker撰写版本,docker撰写构建问题(使用this解决)后,我遇到了这个错误的障碍 -

/ conductor / docker $ sudo docker-compose up

docker_elasticsearch_1是最新的

docker_dynomite_1是最新的

错误:对于导体 - 服务器容器“a89b4c61d465”是不健康的。

错误:启动项目时遇到错误。

此外,我在docker-compose.yaml,server / config / config.properties和server / config / config-local.properties中将elasticsearch端口更改为10300。

Docker撰写版本是1.23.2。 Docker版本是18.09.3。

PS:我对码头工人及相关概念非常陌生。

更多信息:将我的端口更改恢复为默认值(9200/9300)并添加了不健康容器的docker信息(由于重新构建而更改了docker container-id)

/ conductor / docker $ sudo docker ps -a --filter“id = 7be9f9b5288c”anshuman的[sudo]密码:CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

7be9f9b5288c docker.elastic.co/elasticsearch/elasticsearch:5.6.8“/ bin / bash bin / es-do ...”36分钟前最多36分钟(不健康)0.0.0.0:9200-> 9200 / tcp,0.0.0.0: 9300-> 9300 / tcp docker_elasticsearch_1

curl到elasticsearch似乎没问题。

/ conductor / docker $ curl http://127.0.0.1:9200/_cat/health 1553188720 17:18:40 docker-cluster yellow 1 1 5 5 0 0 5 0 - 50.0%

容器的Docker日志给了我这个(不知道他们的意思)

/ conductor / docker $ sudo docker logs 7be9f9b5288c [2019-03-21T17:12:06,323] [INFO] [o.e.x.m.MachineLearningTemplateRegistry] [M5hkiIZ]成功创建.ml-meta索引模板

[2019-03-21T17:12:06,413] [INFO] [o.e.x.m.MachineLearningTemplateRegistry] [M5hkiIZ]成功创建.ml-notifications索引模板

[2019-03-21T17:12:06,502] [INFO] [o.e.x.m.MachineLearningTemplateRegistry] [M5hkiIZ]成功创建.ml-anomalies-索引模板

[2019-03-21T17:12:07,152] [INFO] [o.e.l.LicenseService] [M5hkiIZ]执照[dfac41a4-9280-4c77-81ef-0f943039ef77]模式[试用] - 有效

[2019-03-21T17:12:15,712] [INFO] [oecmMetaDataCreateIndexService] [M5hkiIZ] [.monitoring-es-6-2019.03.21]创建索引,导致[auto(批量api)],模板[.monitoring- es],shards 1 / 1,mappings [doc]

[2019-03-21T17:12:16,122] [INFO] [oecmMetaDataCreateIndexService] [M5hkiIZ] [.watches]创建索引,导致[auto(批量api)],模板[观察],分片1 / 1,映射[watch ]

[2019-03-21T17:12:16,728] [INFO] [o.e.c.m.MetaDataMappingService] [M5hkiIZ] [.watches / t05gsw2UQjmWEJ9IiSKn6g] update_mapping [watch]

[2019-03-21T17:13:17,111] [INFO] [oecmMetaDataCreateIndexService] [M5hkiIZ] [.triggered_watches]创建索引,导致[auto(批量api)],模板[triggered_watches],分片1 / 1,mappings [triggered_watch] ]

[2019-03-21T17:13:17,644] [INFO] [oecmMetaDataCreateIndexService] [M5hkiIZ] [.monitoring-alerts-6]创建索引,导致[auto(批量api)],模板[.monitoring-alerts],分片1 / 1,mappings [doc]

[2019-03-21T17:13:17,918] [INFO] [oecmMetaDataCreateIndexService] [M5hkiIZ] [.watcher-history-6-2019.03.21]创建索引,导致[auto(bulk api)],模板[.watch-历史-6],碎片1 / 1,mappings [doc]

[2019-03-21T17:13:18,475] [INFO] [o.e.c.m.MetaDataMappingService] [M5hkiIZ] [.watcher-history-6-2019.03.21 / sP8OvfXNSmCImfRf3mCR3A] update_mapping [doc]

[2019-03-21T17:13:18,718] [INFO] [o.e.c.m.MetaDataMappingService] [M5hkiIZ] [.watcher-history-6-2019.03.21 / sP8OvfXNSmCImfRf3mCR3A] update_mapping [doc]

docker docker-compose netflix-conductor
1个回答
1
投票

最后,我想出了使这项工作成为问题的方法。它至少需要了解dockerDockerfile如何工作的基础知识。

  1. 基于文档here,我启动了本地服务器,并试图使用docker-compose来完成所有工作。这给了我一个端口冲突。
  2. 我为elasticsearch错误地改变了端口。在我学习了Dockerfile的基础知识后实现了这一点。这就是我不健康容器的原因。
  3. 然后在构建导体ui时出现错误。 错误的ERR!代码EINTEGRITY 这需要改变导体u的Dockerfilenpm install命令改为npm install --no-shrinkwrap --update-binary(根据答案here)。其他答案this issue
© www.soinside.com 2019 - 2024. All rights reserved.