From 530aba87ff8d53bc1ecb03e397d9e3ea4742e78c Mon Sep 17 00:00:00 2001
From: Nathan Paulin <nathan.paulin@inria.fr>
Date: Thu, 3 Apr 2025 08:34:17 +0200
Subject: [PATCH] [sophia][esterel24] add to production queue

---
 data/grid5000/accesses/nodesets.json          | 55 +++++++++++++++++++
 .../sophia/clusters/esterel24/esterel24.json  |  2 +-
 .../clusters/esterel24/nodes/esterel24-1.json |  4 +-
 input/grid5000/access/sophia.yaml             |  2 +
 .../sophia/clusters/esterel24/esterel24.yaml  |  4 +-
 5 files changed, 62 insertions(+), 5 deletions(-)

diff --git a/data/grid5000/accesses/nodesets.json b/data/grid5000/accesses/nodesets.json
index 9ddfedf4ab..1639680d81 100644
--- a/data/grid5000/accesses/nodesets.json
+++ b/data/grid5000/accesses/nodesets.json
@@ -1671,6 +1671,61 @@
       ]
     }
   },
+  "esterel24": {
+    "besteffort": {
+      "ggas": [
+        "cidre",
+        "kerdata",
+        "magellan",
+        "myriads",
+        "pacap",
+        "wide",
+        "pirat",
+        "coast",
+        "avalon",
+        "chroma",
+        "emeraude",
+        "maracas",
+        "inria-chile",
+        "inria-dsi",
+        "inria-sidf",
+        "swh",
+        "tadaam"
+      ],
+      "sites": [
+        "mc-rennes",
+        "mc-nancy",
+        "mc-lyon",
+        "mc-economic-activity",
+        "mc-sophia",
+        "mc-lille",
+        "mc-grenoble",
+        "mc-paris",
+        "mc-saclay",
+        "mc-bordeaux",
+        "mc-siege",
+        "mc-guest",
+        "slices-fr-grenoble",
+        "slices-fr-lille",
+        "slices-fr-lyon",
+        "slices-fr-nancy",
+        "slices-fr-nantes",
+        "slices-fr-rennes",
+        "slices-fr-sophia",
+        "slices-fr-strasbourg",
+        "slices-fr-toulouse"
+      ]
+    },
+    "p1": {
+      "ggas": [
+        "graphdeco"
+      ],
+      "sites": [
+        "mc-staff-site",
+        "g5k-staff-site"
+      ]
+    }
+  },
   "esterel3": {
     "besteffort": {
       "ggas": [
diff --git a/data/grid5000/sites/sophia/clusters/esterel24/esterel24.json b/data/grid5000/sites/sophia/clusters/esterel24/esterel24.json
index 1c87d5f6c5..ad80aafc5a 100644
--- a/data/grid5000/sites/sophia/clusters/esterel24/esterel24.json
+++ b/data/grid5000/sites/sophia/clusters/esterel24/esterel24.json
@@ -84,7 +84,7 @@
   "priority": 202109,
   "queues": [
     "admin",
-    "testing"
+    "production"
   ],
   "redfish": true,
   "type": "cluster",
diff --git a/data/grid5000/sites/sophia/clusters/esterel24/nodes/esterel24-1.json b/data/grid5000/sites/sophia/clusters/esterel24/nodes/esterel24-1.json
index 8505fe1e81..45aac423ab 100644
--- a/data/grid5000/sites/sophia/clusters/esterel24/nodes/esterel24-1.json
+++ b/data/grid5000/sites/sophia/clusters/esterel24/nodes/esterel24-1.json
@@ -297,10 +297,10 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 0,
+    "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/input/grid5000/access/sophia.yaml b/input/grid5000/access/sophia.yaml
index cac8f4ccfb..cf1ca42efd 100644
--- a/input/grid5000/access/sophia.yaml
+++ b/input/grid5000/access/sophia.yaml
@@ -28,6 +28,7 @@ esterel2: &dedicated-epione
 esterel3: &dedicated-graphdeco
     p1: [graphdeco, '@admin']
     besteffort: ['@inria_group', '@other_groups_with_access']
+esterel24: *dedicated-graphdeco
 
 esterel5: &dedicated-stars
     p1: [stars, '@admin']
@@ -36,6 +37,7 @@ esterel5: &dedicated-stars
 esterel4: *dedicated-stars
 esterel7: *dedicated-stars
 
+
 mercantour6:
     p1: [coati, '@admin']
     besteffort: ['@inria_group', '@other_groups_with_access']
diff --git a/input/grid5000/sites/sophia/clusters/esterel24/esterel24.yaml b/input/grid5000/sites/sophia/clusters/esterel24/esterel24.yaml
index 13fe346475..c49ce10bce 100644
--- a/input/grid5000/sites/sophia/clusters/esterel24/esterel24.yaml
+++ b/input/grid5000/sites/sophia/clusters/esterel24/esterel24.yaml
@@ -6,13 +6,13 @@ boot_type: bios
 exotic: false
 queues:
   - admin
-  - testing
+  - production
 nodes:
   esterel24-1:
     supported_job_types:
       deploy: true
       besteffort: true
-      max_walltime: 0
+      max_walltime: 604800
     processor:
       microarchitecture: Cascade Lake-SP
       clock_speed: 2_400_000_000
-- 
GitLab