python-tripleoclient/tripleoclient
Emilien Macchi 7c518a40d9 Convert enable-ssh-admin.sh to python
Instead of using the script from the templates, use python for the
enable-ssh-admin logic. This will allow for more properly handling
failures.

This also fixes a race condition where sshd has not already started on
some of the nodes before we try and connect via ssh. A timeout is added
where we wait for the port to come up. If the timeout has passed and the
port is still not up, then an exception is raised.

Change-Id: I3431d2ec724a880baf0de8f586490d145bedf870
Closes-Bug: #1769230
(cherry picked from commit I3431d2ec724a880baf0de8f586490d145bedf870)
2018-06-18 20:30:19 +00:00
..
tests Convert enable-ssh-admin.sh to python 2018-06-18 20:30:19 +00:00
v1 Convert enable-ssh-admin.sh to python 2018-06-18 20:30:19 +00:00
workflows Convert enable-ssh-admin.sh to python 2018-06-18 20:30:19 +00:00
__init__.py Add ReNo support 2016-10-08 00:28:43 +00:00
command.py Add each command to the history file 2017-11-27 15:37:00 +00:00
constants.py Convert enable-ssh-admin.sh to python 2018-06-18 20:30:19 +00:00
exceptions.py Fix error handling for actions 2017-09-27 18:09:33 +02:00
heat_launcher.py Mount a tmpfs filesystem for heat tmpfiles 2017-11-27 23:30:43 +00:00
noauth_policy.json Add heat_launcher module to help launch heat-all 2017-02-08 15:49:24 -05:00
plugin.py Pass the queue_name to messaging_websocket function for update 2018-03-06 13:47:52 +02:00
utils.py Add --stack to update, upgrade and ffwd-upgrade 'run' CLI. 2018-05-05 15:45:23 +02:00