obd自动化部署单节点集群user配置Open ssh connection failed 问题

部署场景:
中控机A上使用User1用户部署,计划将observer部署在B主机的User2上。
问题描述:
按下图配置好deploy.yaml


部署过程报:

[ERROR] scfctg_dev1@xx.xx.xx.xx connect failed: [Errno 2] No such file or directory: ‘/ztesoft/scfctg_dev1/.ssh/id_rsa’

问题原因:
key_file:配置路径指定错误,key_file需要指定中控机上的id_rsa,并设置好到个部署主机的免密登录

2 个赞

没有找到指定的密钥?