|
发表于 2018-4-11 16:16:02
|
显示全部楼层
本帖最后由 yuanyunchang 于 2018-4-12 14:59 编辑
用户反馈的部署时提示不具备部署条件的问题,是salt master已经连接不了目标主机了。 在私有主机上运行salt-minion的安装脚本后。能正常执行应用部署。比较奇怪的现象是初始化成功后,过一段时间再次执行初始化就会连接失败。 已和用户沟通,提供远程访问工具登录目标主机查找问题原因。
登录主机查看部署日志,kong 启动失败。从日志上看,kong进程异常退出后一直在尝试重启。
2018-04-12 06:49:55,542 INFO success: kong entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
kong-aa123_1 | deployer-agent stdout | kong: started
kong-aa123_1 | 2018-04-12 06:49:56,056 INFO exited: kong (exit status 132; not expected)
kong-aa123_1 | 2018-04-12 06:49:56,078 INFO spawned: 'kong' with pid 44
kong-aa123_1 | deployer-agent stdout | start kong process done. cost: 1323ms.
kong-aa123_1 | kong stdout | \u83b7\u53d6/usr/local/x5/conf/kong-dbcon.conf \u6210\u529f.\u5185\u5bb9\u5982\u4e0b:
kong-aa123_1 | kong stdout | host=postgres-aa123
kong-aa123_1 | port=5432
kong-aa123_1 | database=kong
kong-aa123_1 | schema=kong
kong-aa123_1 | user=kong
kong-aa123_1 | password=f016da02877ff622
kong-aa123_1 | createid=
kong-aa123_1 | kong stdout | host: postgres-aa123
kong-aa123_1 | port: 5432
kong-aa123_1 | database: kong
kong-aa123_1 | schema: kong
kong-aa123_1 | user: kong
kong-aa123_1 | password: f016da02877ff622
kong-aa123_1 | createid:
kong-aa123_1 | 2018-04-12 06:49:56,648 INFO exited: kong (exit status 132; not expected)
kong-aa123_1 | 2018-04-12 06:49:57,652 INFO spawned: 'kong' with pid 54
kong-aa123_1 | kong stdout | \u83b7\u53d6/usr/local/x5/conf/kong-dbcon.conf \u6210\u529f.\u5185\u5bb9\u5982\u4e0b:
kong-aa123_1 | kong stdout | host=postgres-aa123
kong-aa123_1 | port=5432
kong-aa123_1 | database=kong
kong-aa123_1 | schema=kong
kong-aa123_1 | user=kong
kong-aa123_1 | password=f016da02877ff622
kong-aa123_1 | createid=
kong-aa123_1 | kong stdout | host: postgres-aa123
kong-aa123_1 | kong stdout | port: 5432
kong-aa123_1 | database: kong
kong-aa123_1 | schema: kong
kong-aa123_1 | user: kong
kong-aa123_1 | kong stdout | password: f016da02877ff622
kong-aa123_1 | createid:
kong-aa123_1 | 2018-04-12 06:49:57,912 INFO exited: kong (exit status 132; not expected)
kong-aa123_1 | 2018-04-12 06:49:59,916 INFO spawned: 'kong' with pid 64
kong-aa123_1 | kong stdout | \u83b7\u53d6/usr/local/x5/conf/kong-dbcon.conf \u6210\u529f.\u5185\u5bb9\u5982\u4e0b:
kong-aa123_1 | kong stdout | host=postgres-aa123
kong-aa123_1 | port=5432
kong-aa123_1 | database=kong
kong-aa123_1 | schema=kong
kong-aa123_1 | user=kong
kong-aa123_1 | password=f016da02877ff622
kong-aa123_1 | createid=
kong-aa123_1 | kong stdout | host: postgres-aa123
|
|