Cloned from launchpad bug 1635226.
After `openstack overcloud deploy ...` finishes, it should be possible to run the validations from the UI or via Mistral.
This is not the case though and instead, the (overcloud) validations error out with: "Failed to connect to the host via ssh."
As far as I could discover so far, it's because the deploy_ssh_keys workflow gets an empty list of servers to copy the SSH keys to. The workflow that sets up the keys is here:
which invokes copy_ssh_key:
When I run `mistral task-list`, there are no errors there, but the `get_servers` task returns an empty list (even though this should be a complete deployment now and all the nodes should be in nova).
Running `mistral run-action nova.servers_list` does return the expected result.
And running `mistral execution-create tripleo.validations.v1.copy_ssh_key` manually after the deployment does get the list of servers and uploads the keys properly.
Specification URL (additional information):
Needs reviews but patch posted. https://review.openstack.org/391093
master patch landed, proposed stable/newton backport
Both upstream patches and their stable/newton backports have landed now:
All post-deployment validations are failing. On the overcloud nodes there is no tripleo-validations entry in .ssh/authorized_keys. Failing the bug.
Udi it is my understanding that your environment was stale and that this is working as intended. Can you confirm?
What do you mean "stale"? This bug is still valid in:
Need to retest on new puddle.
I have post-deployment validations passing and tripleo-validations entry is present in the authorized_keys file on overcloud nodes.
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.