From 0c6035058f198554ec11b66b3a3f119f67f9729c Mon Sep 17 00:00:00 2001 From: Tatiana Korchuganova Date: Thu, 25 May 2023 14:39:37 +0200 Subject: [PATCH 1/5] taskInfo | added on demand option to see summary of data movement initiated by PanDA --- core/static/css/page-sections.css | 9 ++++ core/templates/taskInfo.html | 75 ++++++++++++++++++++++++++++--- core/urls.py | 2 + core/views.py | 44 ++++++++++++++++++ 4 files changed, 125 insertions(+), 5 deletions(-) diff --git a/core/static/css/page-sections.css b/core/static/css/page-sections.css index ac61981e..85bc6077 100644 --- a/core/static/css/page-sections.css +++ b/core/static/css/page-sections.css @@ -124,6 +124,10 @@ li.news{padding:0px; margin-left: 0em; text-indent: -.4em;} /*padding: 0 0.3rem 0 0.3rem;*/ } +span.bold { + font-weight: bold; +} + .panel { width: 600px; height: 500px; @@ -205,6 +209,11 @@ div.bp-selected-params p { border: none; padding: 0.7rem; } +.callout h6 { + font-size: 0.875rem; + font-weight: bold; + margin-bottom: 0.5rem; +} .callout p { font-size: 0.875rem; margin-bottom: 0.5rem; diff --git a/core/templates/taskInfo.html b/core/templates/taskInfo.html index 75544155..73c3670c 100644 --- a/core/templates/taskInfo.html +++ b/core/templates/taskInfo.html @@ -306,7 +306,8 @@
The split rule has been changed for this task:
Show taskflow Show task status log {% if viewParams.MON_VO == 'ATLAS' %} - Show task logs from ElasticSearch + Show task logs from ElasticSearch + Show task data movement summary {% endif %} Jump to job parameters {% if jobscoutids|length > 0 %} @@ -509,6 +510,19 @@
Warning! {{ warning.memoryleaksuspicion.message }}
+
+
+
Data Movement Summary:
+
+

+ In total, times + unique files have been moved by PanDA for + jobs in this tasks, + the total volume is GB. +

+
+
+