Handle containers as SSH targets #12

Merged
merged 1 commit into from Aug 7, 2017

Conversation

Projects
None yet
2 participants
Member

axw commented Aug 7, 2017

Proxy SSH connections to containers
through their hosts.

Refactor parallelCall, renaming it
to parallelExec, and dropping the
irrelevant details of DistResult.
It now takes a list of targets
(machine/host addresses), and a
command to execute on each. The
callers mix the results with
machine details as needed.

Also, stop swallowing errors when
making "service" command calls. We
are still just logging the output of
failed "service" command executions,
but we no longer swallow the outright
SSH transport failures.

Nice.

Handle containers as SSH targets
Proxy SSH connections to containers
through their hosts.

Refactor parallelCall, renaming it
to parallelExec, and dropping the
irrelevant details of DistResult.
It now takes a list of targets
(machine/host addresses), and a
command to execute on each. The
callers mix the results with
machine details as needed.

Also, Stop swallowing errors when
making "service" command calls. We
are still just logging the output of
failed "service" command executions,
but we no longer swallow the outright
SSH transport failures.

@axw axw merged commit 282c0a5 into juju:master Aug 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment