Wrapping ssh calls into subprocesses

Eventlet does not work properly with Paramiko when several connections
are opened concurrently (see bug #1212341). The fix moves ssh calls
from main code to subprocess to avoid the issue.

Also changed:
 * added timeout to all remote operations
 * old SSH utilities were moved from remote.py to integration tests,
   because new ones can not be utilized there

Fixes: bug #1212341

Change-Id: Ib89af3a3bbcb587af46dad3431d512a21d1ba826
This commit is contained in:
Dmitry Mescheryakov 2013-08-26 01:27:46 +04:00
parent 369fc623fa
commit b728bc58d2

View File

@ -31,6 +31,7 @@ data_files =
console_scripts =
savanna-api = savanna.cli.savanna_api:main
savanna-db-manage = savanna.db.migration.cli:main
savanna-subprocess = savanna.cli.savanna_subprocess:main
[build_sphinx]
all_files = 1