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/06/12 08:49:24 UTC

[incubator-dlab] branch DLAB-54-dev created (now 6212366)

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

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


      at 6212366  [DLAB-54]: changed code to create use and delete custom images

This branch includes the following new commits:

     new 9eab69a  [DLAB-54]: added script to terminate custom notebook image
     new cd0415e  [DLAB-54]: added script to create custom notebook image
     new 9e74e03  [DLAB-54]: changed to terminate both primary and secondary images
     new a7d8ebb  Allowed creation images on gcp from UI
     new db5483c  Added mock file for dev mode for creating image
     new 6212366  [DLAB-54]: changed code to create use and delete custom images

The 6 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/06: [DLAB-54]: added script to terminate custom notebook image

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

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

commit 9eab69a1a6752c8b60d130be4e0f3f4ed38dcd92
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Jun 9 15:32:11 2020 +0300

    [DLAB-54]: added script to terminate custom notebook image
---
 .../scripts/gcp/common_terminate_notebook_image.py | 47 ++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
new file mode 100644
index 0000000..94d75d5
--- /dev/null
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+
+# *****************************************************************************
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# ******************************************************************************
+
+import dlab.fab
+import dlab.actions_lib
+import dlab.meta_lib
+import sys
+import json
+import os
+
+
+if __name__ == "__main__":
+    try:
+        image_conf = dict()
+        image_conf['full_image_name'] = os.environ['notebook_image_name']
+        image = dlab.meta_lib.GCPMeta.get_list_images(image_conf['full_image_name'])
+        if image != '':
+            dlab.actions_lib.GCPActions.remove_image(image)
+            with open("/root/result.json", 'w') as result:
+                res = {"notebook_image_name": image_conf['full_image_name'],
+                       "status": "terminated",
+                       "Action": "Delete existing notebook image"}
+                result.write(json.dumps(res))
+
+    except Exception as err:
+        dlab.fab.append_result("Failed to delete existing notebook image", str(err))
+        sys.exit(1)


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


[incubator-dlab] 02/06: [DLAB-54]: added script to create custom notebook image

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

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

commit cd0415e6efff6a995a387bdd535358caf0a8a345
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Jun 9 15:59:52 2020 +0300

    [DLAB-54]: added script to create custom notebook image
---
 .../scripts/gcp/common_create_notebook_image.py    | 90 ++++++++++++++++++++++
 1 file changed, 90 insertions(+)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py b/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py
new file mode 100644
index 0000000..2359e27
--- /dev/null
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py
@@ -0,0 +1,90 @@
+#!/usr/bin/python
+
+# *****************************************************************************
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# ******************************************************************************
+
+import dlab.fab
+import dlab.actions_lib
+import dlab.meta_lib
+import sys
+import json
+import uuid
+import os
+
+
+if __name__ == "__main__":
+    try:
+        image_conf = dict()
+        try:
+            image_conf['exploratory_name'] = (os.environ['exploratory_name']).replace('_', '-').lower()
+        except:
+            image_conf['exploratory_name'] = ''
+        image_conf['service_base_name'] = os.environ['conf_service_base_name'] = dlab.fab.replace_multi_symbols(
+            os.environ['conf_service_base_name'][:20], '-', True)
+        image_conf['endpoint_name'] = (os.environ['endpoint_name']).replace('_', '-').lower()
+        image_conf['endpoint_tag'] = image_conf['endpoint_name']
+        image_conf['project_name'] = os.environ['project_name']
+        image_conf['project_tag'] = os.environ['project_name']
+        image_conf['instance_name'] = os.environ['notebook_instance_name']
+        image_conf['instance_tag'] = '{}-tag'.format(image_conf['service_base_name'])
+        image_conf['application'] = os.environ['application']
+        image_conf['image_name'] = os.environ['notebook_image_name']
+        image_conf['expected_primary_image_name'] = '{}-{}-{}-{}-primary-{}'.format(
+            image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
+            os.environ['application'], image_conf['image_name'])
+        image_conf['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-{}'.format(
+            image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
+            os.environ['application'], image_conf['image_name'])
+        image_conf['image_labels'] = {"sbn": image_conf['service_base_name'],
+                                           "endpoint_tag": image_conf['endpoint_tag'],
+                                           "project_tag": image_conf['project_tag'],
+                                           "image": image_conf['image_name'],
+                                           os.environ['conf_billing_tag_key']: os.environ['conf_billing_tag_value']}
+        image_conf['instance_name'] = '{0}-{1}-{2}-nb-{3}'.format(image_conf['service_base_name'],
+                                                                       image_conf['project_name'],
+                                                                       image_conf['endpoint_name'],
+                                                                       image_conf['exploratory_name'])
+        image_conf['zone'] = os.environ['gcp_zone']
+        print('[CREATING IMAGE]')
+        primary_image_id = GCPMeta.get_image_by_name(image_conf['expected_primary_image_name'])
+        if primary_image_id == '':
+            image_id_list = GCPActions.create_image_from_instance_disks(
+                image_conf['expected_primary_image_name'], image_conf['expected_secondary_image_name'],
+                image_conf['instance_name'], image_conf['zone'], image_conf['image_labels'])
+            if image_id_list and image_id_list[0] != '':
+                print("Image of primary disk was successfully created. It's ID is {}".format(image_id_list[0]))
+            else:
+                print("Looks like another image creating operation for your template have been started a "
+                      "moment ago.")
+            if image_id_list and image_id_list[1] != '':
+                print("Image of secondary disk was successfully created. It's ID is {}".format(image_id_list[1]))
+
+            with open("/root/result.json", 'w') as result:
+                res = {"primary_image_name": image_conf['expected_primary_image_name'],
+                       "secondary_image_name": image_conf['expected_secondary_image_name'],
+                       "project_name": image_conf['project_name'],
+                       "application": image_conf['application'],
+                       "status": "created",
+                       "Action": "Create image from notebook"}
+                result.write(json.dumps(res))
+    except Exception as err:
+        dlab.fab.append_result("Failed to create image from notebook", str(err))
+        sys.exit(1)


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


[incubator-dlab] 03/06: [DLAB-54]: changed to terminate both primary and secondary images

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

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

commit 9e74e03d64f037c371094d34c41d892077878517
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Jun 9 16:00:49 2020 +0300

    [DLAB-54]: changed to terminate both primary and secondary images
---
 .../scripts/gcp/common_terminate_notebook_image.py  | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
index 94d75d5..373a426 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
@@ -32,10 +32,23 @@ import os
 if __name__ == "__main__":
     try:
         image_conf = dict()
-        image_conf['full_image_name'] = os.environ['notebook_image_name']
-        image = dlab.meta_lib.GCPMeta.get_list_images(image_conf['full_image_name'])
-        if image != '':
-            dlab.actions_lib.GCPActions.remove_image(image)
+        image_conf['image_name'] = os.environ['notebook_image_name']
+        image_conf['service_base_name'] = os.environ['conf_service_base_name'] = dlab.fab.replace_multi_symbols(
+            os.environ['conf_service_base_name'][:20], '-', True)
+        image_conf['endpoint_name'] = (os.environ['endpoint_name']).replace('_', '-').lower()
+        image_conf['endpoint_tag'] = image_conf['endpoint_name']
+        image_conf['project_name'] = os.environ['project_name']
+        image_conf['project_tag'] = os.environ['project_name']
+        image_conf['expected_primary_image_name'] = '{}-{}-{}-{}-primary-{}'.format(
+            image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
+            os.environ['application'], image_conf['image_name'])
+        image_conf['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-{}'.format(
+            image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
+            os.environ['application'], image_conf['image_name'])
+        primary_image_id = dlab.meta_lib.GCPMeta.get_image_by_name(image_conf['expected_primary_image_name'])
+        if primary_image_id != '':
+            dlab.actions_lib.GCPActions.remove_image(notebook_config['expected_primary_image_name'])
+            dlab.actions_lib.GCPActions.remove_image(notebook_config['expected_secondary_image_name'])
             with open("/root/result.json", 'w') as result:
                 res = {"notebook_image_name": image_conf['full_image_name'],
                        "status": "terminated",


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


[incubator-dlab] 06/06: [DLAB-54]: changed code to create use and delete custom images

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

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

commit 6212366858d7ce280c5c681e685a64bd4814d52e
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Jun 11 20:01:22 2020 +0300

    [DLAB-54]: changed code to create use and delete custom images
---
 .../general/scripts/gcp/common_create_notebook_image.py  |  8 +++++---
 .../src/general/scripts/gcp/common_prepare_notebook.py   | 16 ++++++++++------
 .../scripts/gcp/common_terminate_notebook_image.py       | 12 +++++++-----
 3 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py b/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py
index 2359e27..c7b4b0a 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_create_notebook_image.py
@@ -33,6 +33,8 @@ import os
 if __name__ == "__main__":
     try:
         image_conf = dict()
+        GCPMeta = dlab.meta_lib.GCPMeta()
+        GCPActions = dlab.actions_lib.GCPActions()
         try:
             image_conf['exploratory_name'] = (os.environ['exploratory_name']).replace('_', '-').lower()
         except:
@@ -46,11 +48,11 @@ if __name__ == "__main__":
         image_conf['instance_name'] = os.environ['notebook_instance_name']
         image_conf['instance_tag'] = '{}-tag'.format(image_conf['service_base_name'])
         image_conf['application'] = os.environ['application']
-        image_conf['image_name'] = os.environ['notebook_image_name']
-        image_conf['expected_primary_image_name'] = '{}-{}-{}-{}-primary-{}'.format(
+        image_conf['image_name'] = os.environ['notebook_image_name'].replace('_', '-').lower()
+        image_conf['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image-{}'.format(
             image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
             os.environ['application'], image_conf['image_name'])
-        image_conf['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-{}'.format(
+        image_conf['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image-{}'.format(
             image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
             os.environ['application'], image_conf['image_name'])
         image_conf['image_labels'] = {"sbn": image_conf['service_base_name'],
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py b/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
index c83208b..d616350 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_prepare_notebook.py
@@ -113,12 +113,13 @@ if __name__ == "__main__":
                 notebook_config['service_base_name'], notebook_config['endpoint_name'], os.environ['application'])
             notebook_config['expected_secondary_image_name'] = '{}-{}-{}-secondary-image'.format(
                 notebook_config['service_base_name'], notebook_config['endpoint_name'], os.environ['application'])
-        notebook_config['notebook_primary_image_name'] = \
-            (lambda x: os.environ['notebook_primary_image_name'] if x != 'None'
-             else notebook_config['expected_primary_image_name'])(str(os.environ.get('notebook_primary_image_name')))
+        notebook_config['notebook_primary_image_name'] = (lambda x: '{0}-{1}-{2}-{3}-primary-image-{4}'.format(
+            notebook_config['service_base_name'], notebook_config['project_name'], notebook_config['endpoint_name'],
+            os.environ['application'], os.environ['notebook_image_name'].replace('_', '-').lower()) if (x != 'None' and x != '')
+            else notebook_config['expected_primary_image_name'])(str(os.environ.get('notebook_image_name')))
         print('Searching pre-configured images')
         notebook_config['primary_image_name'] = GCPMeta.get_image_by_name(
-            notebook_config['expected_primary_image_name'])
+            notebook_config['notebook_primary_image_name'])
         if notebook_config['primary_image_name'] == '':
             notebook_config['primary_image_name'] = os.environ['gcp_{}_image_name'.format(os.environ['conf_os_family'])]
         else:
@@ -126,9 +127,12 @@ if __name__ == "__main__":
                 notebook_config['primary_image_name'].get('name')))
             notebook_config['primary_image_name'] = 'global/images/{}'.format(
                 notebook_config['primary_image_name'].get('name'))
-
+        notebook_config['notebook_secondary_image_name'] = (lambda x: '{0}-{1}-{2}-{3}-secondary-image-{4}'.format(
+            notebook_config['service_base_name'], notebook_config['project_name'], notebook_config['endpoint_name'],
+            os.environ['application'], os.environ['notebook_image_name'].replace('_', '-').lower()) if (x != 'None' and x != '')
+            else notebook_config['expected_secondary_image_name'])(str(os.environ.get('notebook_image_name')))
         notebook_config['secondary_image_name'] = GCPMeta.get_image_by_name(
-            notebook_config['expected_secondary_image_name'])
+            notebook_config['notebook_secondary_image_name'])
         if notebook_config['secondary_image_name'] == '':
             notebook_config['secondary_image_name'] = 'None'
         else:
diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
index 373a426..a869a38 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
@@ -32,6 +32,8 @@ import os
 if __name__ == "__main__":
     try:
         image_conf = dict()
+        GCPMeta = dlab.meta_lib.GCPMeta()
+        GCPActions = dlab.actions_lib.GCPActions()
         image_conf['image_name'] = os.environ['notebook_image_name']
         image_conf['service_base_name'] = os.environ['conf_service_base_name'] = dlab.fab.replace_multi_symbols(
             os.environ['conf_service_base_name'][:20], '-', True)
@@ -39,16 +41,16 @@ if __name__ == "__main__":
         image_conf['endpoint_tag'] = image_conf['endpoint_name']
         image_conf['project_name'] = os.environ['project_name']
         image_conf['project_tag'] = os.environ['project_name']
-        image_conf['expected_primary_image_name'] = '{}-{}-{}-{}-primary-{}'.format(
+        image_conf['expected_primary_image_name'] = '{}-{}-{}-{}-primary-image-{}'.format(
             image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
             os.environ['application'], image_conf['image_name'])
-        image_conf['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-{}'.format(
+        image_conf['expected_secondary_image_name'] = '{}-{}-{}-{}-secondary-image-{}'.format(
             image_conf['service_base_name'], image_conf['project_name'], image_conf['endpoint_name'],
             os.environ['application'], image_conf['image_name'])
-        primary_image_id = dlab.meta_lib.GCPMeta.get_image_by_name(image_conf['expected_primary_image_name'])
+        primary_image_id = GCPMeta.get_image_by_name(image_conf['expected_primary_image_name'])
         if primary_image_id != '':
-            dlab.actions_lib.GCPActions.remove_image(notebook_config['expected_primary_image_name'])
-            dlab.actions_lib.GCPActions.remove_image(notebook_config['expected_secondary_image_name'])
+            GCPActions.remove_image(notebook_config['expected_primary_image_name'])
+            GCPActions.remove_image(notebook_config['expected_secondary_image_name'])
             with open("/root/result.json", 'w') as result:
                 res = {"notebook_image_name": image_conf['full_image_name'],
                        "status": "terminated",


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


[incubator-dlab] 04/06: Allowed creation images on gcp from UI

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

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

commit a7d8ebb0ab32b0eec6f63083f1cb8bd543bbc01f
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Thu Jun 11 16:21:59 2020 +0300

    Allowed creation images on gcp from UI
---
 .../src/app/resources/resources-grid/resources-grid.component.html    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 69edcc3..8f07e60 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
@@ -199,9 +199,9 @@
                   </li>
                 </div>
                 <li (click)="exploratoryAction(element, 'ami')"
-                  *ngIf="element.status === 'running' && element.cloud_provider !== 'gcp' && element.image !== 'docker.dlab-superset' && element.image !== 'docker.dlab-jupyterlab'">
+                  *ngIf="element.status === 'running'  && element.image !== 'docker.dlab-superset' && element.image !== 'docker.dlab-jupyterlab'">
                   <i class="material-icons">view_module</i>
-                  <span>Create {{ DICTIONARY[element.cloud_provider].image }}</span>
+                  <span>Create AMI</span>
                 </li>
                 <li (click)="exploratoryAction(element, 'install')"
                   *ngIf="element.image !== 'docker.dlab-superset' && element.image !== 'docker.dlab-jupyterlab'">


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


[incubator-dlab] 05/06: Added mock file for dev mode for creating image

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

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

commit db5483c9fe59f4774c5e043f62ded45feed1d99e
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Thu Jun 11 16:32:37 2020 +0300

    Added mock file for dev mode for creating image
---
 .../mock_response/gcp/notebook_create_image.json        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/services/provisioning-service/src/main/resources/mock_response/gcp/notebook_create_image.json b/services/provisioning-service/src/main/resources/mock_response/gcp/notebook_create_image.json
new file mode 100644
index 0000000..344bb51
--- /dev/null
+++ b/services/provisioning-service/src/main/resources/mock_response/gcp/notebook_create_image.json
@@ -0,0 +1,17 @@
+{
+   "status": "ok",
+   "response": {
+      "result": {
+         "notebook_image_name": "${CONF_SERVICE_BASE_NAME}-${IMAGE_NAME}",
+         "full_image_name": "${IMAGE_NAME}-${CONF_SERVICE_BASE_NAME}-${EDGE_USER_NAME}-${APPLICATION}-${IMAGE_NAME}-${REQUEST_ID}",
+         "user_name": "${EDGE_USER_NAME}",
+         "application": "${APPLICATION}",
+         "image_id": "${IMAGE_NAME}-${REQUEST_ID}",
+         "status": "created",
+         "ip": "102.011.10.3",
+         "Action": "Create image from notebook"
+      },
+      "log": "/var/log/dlab/notebook/notebook_${EDGE_USER_NAME}_${REQUEST_ID}.log"
+   },
+   "request_id": "${REQUEST_ID}"
+}


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