Red Hat Bugzilla – Bug 1312424
bootstrapping nodes for the first time has SSH issues
Last modified: 2017-01-25 16:37:17 EST
Description of problem:
It wants to perform a host key verification because the user has never SSH'd in before:
vagrant@vagrant:/opt/ceph-installer/ceph-ansible$ curl localhost:8080/setup/ | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1010 100 1010 0 0 492 0 0:00:02 0:00:02 --:--:-- 492
--> creating new user with disabled password: ceph-installer
useradd: user 'ceph-installer' already exists
passwd: password expiry information changed.
--> adding provisioning key to the ceph-installer user authorized_keys
--> ensuring correct permissions on .ssh/authorized_keys
--> ensuring that ceph-installer user will be able to sudo
--> ensuring ceph-installer user does not require a tty
vagrant@vagrant:/opt/ceph-installer/ceph-ansible$ ssh ceph-installer@localhost
The authenticity of host 'localhost (::1)' can't be established.
ECDSA key fingerprint is 15:26:b9:5d:50:8d:8f:7e:83:f3:3d:28:8d:b6:8a:6c.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. run the bootstrap script on a client
2. try to ssh from the ceph-installer host to the remote host (client)
No prompts, successful ssh login
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see firstname.lastname@example.org with any questions
verified with - ceph-installer-1.0.14-1.el7scon.noarch
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.