【发布时间】:2020-09-22 22:07:32
【问题描述】:
信息: 主机名: 猫 /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 172.16.49.41 ceph-gw-one 172.16.49.42 ceph-gw-2
shell: ceph orch 主机添加 172.16.49.42
错误 EINVAL: 新主机 172.16.49.42 (172.16.49.42) 检查失败: ['INFO:cephadm:podman|docker (/bin/docker) is present', 'INFO:cephadm:systemctl is present', 'INFO :cephadm:lvcreate is present', 'INFO:cephadm:Unit chronyd.service is enabled and running', 'INFO:cephadm:Hostname "172.16.49.42" 与预期相符。', 'ERROR: hostname "ceph-gw-两个”与预期的主机名“172.16.49.42”'']
不匹配shell: orch 主机添加 ceph-gw-two
错误 EINVAL:无法连接到 ceph-gw-two (ceph-gw-two)。 检查主机是否可达并接受使用 cephadm SSH 密钥的连接
你可能想跑:
ceph cephadm get-ssh-config > ssh_config ceph config-key 获取管理员/cephadm/ssh_identity_key > 密钥 ssh -F ssh_config -i key root@ceph-gw-two
我已经通过ip或主机名检查了ssh登录是否成功;
【问题讨论】: