ERROR retrieving SSH host keys for ...: keys not found
Bug #1599272 reported by
Casey Marshall
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned |
Bug Description
This is a UX problem, but it was noticeable enough that I feel like it could trip up new users.
Deployed a service and tried to SSH in to see what was going on. I got this error until the service is "up" enough to have registered its keys (as I imagine it):
$ juju ssh prometheus/2
ERROR retrieving SSH host keys for "prometheus/2": keys not found
After a while, `juju ssh` succeeds. I don't think that error message is very clear to most users though. If this was my first time with Juju, I might conclude there was a persistent issue with that workload and conclude that "juju is broken".
This is also seen in CI
http://
tags: | added: ci |
tags: | added: retry |
description: | updated |
Changed in juju-core: | |
assignee: | nobody → Menno Smits (menno.smits) |
milestone: | none → 2.0.0 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
Changed in juju: | |
assignee: | Menno Finlay-Smits (menno.smits) → nobody |
To post a comment you must log in.
I also see this error before the error retrieving SSH host keys:
$ juju ssh ubuntu/0
ERROR no public address
It would be nice to state that the machine / unit isn't ready instead of these errors.