You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by ad...@apache.org on 2019/09/12 14:42:38 UTC

[incubator-dlab] branch fix-dataproc created (now c1663b0)

This is an automated email from the ASF dual-hosted git repository.

adamsd pushed a change to branch fix-dataproc
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.


      at c1663b0  [DLAB-1090]:Fixed name of primary disk for dataproc.

This branch includes the following new commits:

     new c1663b0  [DLAB-1090]:Fixed name of primary disk for dataproc.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org


[incubator-dlab] 01/01: [DLAB-1090]:Fixed name of primary disk for dataproc.

Posted by ad...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

adamsd pushed a commit to branch fix-dataproc
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit c1663b05d6b05403d90f47b9fa96acee46561d88
Author: AdamsDisturber <ad...@gmail.com>
AuthorDate: Thu Sep 12 17:42:27 2019 +0300

    [DLAB-1090]:Fixed name of primary disk for dataproc.
---
 infrastructure-provisioning/src/general/lib/gcp/actions_lib.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
index 6b405a6..cdbae10 100644
--- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
@@ -854,13 +854,13 @@ class GCPActions:
                     slave_instances = cluster.get('config').get('workerConfig').get('instanceNames')
                     for instance in master_instances:
                         param = {}
-                        param['name'] = instance
-                        param['tag_name'] = instance + '-volume-primary'
+                        param['name'] = clusteName
+                        param['tag_name'] = clusteName + '-volume-primary'
                         dataproc_instances.append(param)
                     for instance in slave_instances:
                         param = {}
-                        param['name'] = instance
-                        param['tag_name'] = instance + '-volume-primary'
+                        param['name'] = clusteName
+                        param['tag_name'] = clusteName + '-volume-primary'
                         dataproc_instances.append(param)
             GCPActions().set_disks_tag(dataproc_instances, zone, labels)
         except Exception as err:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org