You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/09/24 13:19:24 UTC

[incubator-dlab] branch DLAB-1911 updated: [DLAB-1911]: added "datalab" network tag for new gcp instances so that traffic between them will be allowed by custom security group

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

lfrolov pushed a commit to branch DLAB-1911
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1911 by this push:
     new 81cec1d  [DLAB-1911]: added "datalab" network tag for new gcp instances so that traffic between them will be allowed by custom security group
81cec1d is described below

commit 81cec1d84a5060cbe460e97f9795dd229fb535d6
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Sep 24 16:17:55 2020 +0300

    [DLAB-1911]: added "datalab" network tag for new gcp instances so that traffic between them will be allowed by custom security group
---
 infrastructure-provisioning/src/general/lib/gcp/actions_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
index 91aba5c..0849201 100644
--- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
@@ -460,7 +460,7 @@ class GCPActions:
             request = self.service.instances().get(instance=instance_name, project=self.project,
                                                    zone=zone)
             res = request.execute()
-            instance_tag = {"items": [network_tag], "fingerprint": res['tags']['fingerprint']}
+            instance_tag = {"items": [network_tag, "datalab"], "fingerprint": res['tags']['fingerprint']}
             request = self.service.instances().setTags(instance=instance_name, project=self.project,
                                                        zone=zone,
                                                        body=instance_tag)


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