From 7ebd31b815bd4e3857b07c398f8ba3dcbdc4b90c Mon Sep 17 00:00:00 2001
From: Hugo Dominois <hugo.dominois@inria.fr>
Date: Thu, 3 Apr 2025 15:49:51 +0200
Subject: [PATCH] [sophia][esterel26] Change to production queue

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

diff --git a/data/grid5000/accesses/nodesets.json b/data/grid5000/accesses/nodesets.json
index 1639680d816..55f425b3645 100644
--- a/data/grid5000/accesses/nodesets.json
+++ b/data/grid5000/accesses/nodesets.json
@@ -1726,6 +1726,61 @@
       ]
     }
   },
+  "esterel26": {
+    "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": [
+        "stars"
+      ],
+      "sites": [
+        "mc-staff-site",
+        "g5k-staff-site"
+      ]
+    }
+  },
   "esterel3": {
     "besteffort": {
       "ggas": [
diff --git a/data/grid5000/sites/sophia/clusters/esterel26/esterel26.json b/data/grid5000/sites/sophia/clusters/esterel26/esterel26.json
index 552a9c5d699..42d9c51a72b 100644
--- a/data/grid5000/sites/sophia/clusters/esterel26/esterel26.json
+++ b/data/grid5000/sites/sophia/clusters/esterel26/esterel26.json
@@ -84,7 +84,7 @@
   "priority": 202110,
   "queues": [
     "admin",
-    "testing"
+    "production"
   ],
   "redfish": true,
   "type": "cluster",
diff --git a/data/grid5000/sites/sophia/clusters/esterel26/nodes/esterel26-1.json b/data/grid5000/sites/sophia/clusters/esterel26/nodes/esterel26-1.json
index 1742887005a..031d0a54cef 100644
--- a/data/grid5000/sites/sophia/clusters/esterel26/nodes/esterel26-1.json
+++ b/data/grid5000/sites/sophia/clusters/esterel26/nodes/esterel26-1.json
@@ -314,10 +314,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 cf1ca42efd9..8773bc7fa95 100644
--- a/input/grid5000/access/sophia.yaml
+++ b/input/grid5000/access/sophia.yaml
@@ -36,6 +36,7 @@ esterel5: &dedicated-stars
 
 esterel4: *dedicated-stars
 esterel7: *dedicated-stars
+esterel26: *dedicated-stars
 
 
 mercantour6:
diff --git a/input/grid5000/sites/sophia/clusters/esterel26/esterel26.yaml b/input/grid5000/sites/sophia/clusters/esterel26/esterel26.yaml
index 548b4eb6ac0..78a48d3d211 100644
--- a/input/grid5000/sites/sophia/clusters/esterel26/esterel26.yaml
+++ b/input/grid5000/sites/sophia/clusters/esterel26/esterel26.yaml
@@ -6,13 +6,13 @@ boot_type: uefi
 exotic: false 
 queues:
   - admin
-  - testing
+  - production
 nodes:
   esterel26-1:
     supported_job_types:
       deploy: true
       besteffort: true
-      max_walltime: 0
+      max_walltime: 604800
     processor:
       microarchitecture: Cascade Lake-SP
       clock_speed: 2100000000
-- 
GitLab