Docker and docker-py compatibility improvements

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Parallelize orchestration plays

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Update CHANGELOG with recent work

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Restrict orchestration play dependencies to involved containers

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Fix maestro logs command. Fixes #46.

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Default to reading maestro.yaml instead of stdin. Fixes #47

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Make TCP check default max wait 5 minutes

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Don't force dependencies on maestro status command

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Fix version, should now be 0.1.8.2 for next release

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Implement sleep lifecycle check

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Use multiprocessing.pool instead of multiprocessing.dummy

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Make orchestration threads daemon and detect error status when waiting for them

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Take into account container state during lifecycle checks

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Correctly handle no lifecycle checks being configured

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Refactor check_for_state/wait_for_state

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Add -v flag to show version; also show in usage

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Fix restart orchestration play

Affected containers should be the same as for a stop (i.e. you first
stop dependents, then start everything back in start order, but for
dependents, not dependencies).

Display order is still incorrect, but orchestration actions are carried
out in the correct order because the parallelization checks force it to
be.

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Fix indentation bug that broke container start failure detection

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Detect host down on maestro status

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Add exception to denote YAML environment configuration issues

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>