This commit is contained in:
Artem Sobolev 2017-03-30 23:16:03 +03:00 коммит произвёл Fred Park
Родитель 144af61c72
Коммит bb14d2224e
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -738,7 +738,8 @@ def _add_pool(
storage_threads = []
if pool_settings.transfer_files_on_pool_creation:
storage_threads = data.ingress_data(
batch_client, config, rls=None, kind='storage')
batch_client, compute_client, network_client, config, rls=None,
kind='storage')
# shipyard settings
bs = settings.batch_shipyard_settings(config)
# data replication and peer-to-peer settings
@ -945,8 +946,8 @@ def _add_pool(
if pool_settings.transfer_files_on_pool_creation:
_pool = batch_client.pool.get(pool.id)
data.ingress_data(
batch_client, config, rls=rls, kind='shared',
current_dedicated=_pool.current_dedicated)
batch_client, compute_client, network_client, config, rls=rls,
kind='shared', current_dedicated=_pool.current_dedicated)
del _pool
# wait for storage ingress processes
data.wait_for_storage_threads(storage_threads)