Juju ERROR retrieving SSH host keys for "16": keys not found

Hi Team,

OpenStack version: Yoga

OS: Ubuntu 20.04 LTS

Today, I tried to scale-out 6 compute node. In that 5 node added without any issue. One node failed due to “ERROR retrieving SSH host keys for “16”: keys not found”

In Juju status, the failed machine status is pending but OS installed successfully and able to ping the IP. But not able to SSH due to the below error. Need your help to fix the compute node issue.


root@maas-openstack:~# juju ssh 16
ERROR retrieving SSH host keys for "16": keys not found

Juju status

16        pending  compute-3-ti-5-20-31     focal   default  Deployed

ICMP output

[root@runner ~]# ping -c 5
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=61 time=1.83 ms
64 bytes from icmp_seq=2 ttl=61 time=1.80 ms
64 bytes from icmp_seq=3 ttl=61 time=1.92 ms
64 bytes from icmp_seq=4 ttl=61 time=1.74 ms
64 bytes from icmp_seq=5 ttl=61 time=1.80 ms

--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 1.742/1.820/1.925/0.065 ms
1 Like

The juju agent running on each machine reports the SSH host keys back to the juju controller.

Can you try juju ssh --no-host-key-checks 16 then look at the /var/log/juju/machine-16.log to see if you can see any errors.