From 36a5ff043641de95f5e6e465104c5864037051d4 Mon Sep 17 00:00:00 2001
From: Noah Mandler <noah.mandler@inria.fr>
Date: Wed, 7 May 2025 09:56:13 +0200
Subject: [PATCH] [sophia][esterel27] Add cluster to production queue

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

diff --git a/data/grid5000/accesses/nodesets.json b/data/grid5000/accesses/nodesets.json
index 431fd71887c..cddb7b05a74 100644
--- a/data/grid5000/accesses/nodesets.json
+++ b/data/grid5000/accesses/nodesets.json
@@ -2001,6 +2001,69 @@
       ]
     }
   },
+  "esterel27": {
+    "p1": {
+      "ggas": [
+        "zenith"
+      ],
+      "sites": [
+        "mc-sophia",
+        "mc-staff-site",
+        "g5k-staff-site"
+      ]
+    },
+    "p3": {
+      "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"
+      ]
+    },
+    "p4": {
+      "ggas": [
+
+      ],
+      "sites": [
+        "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"
+      ]
+    }
+  },
   "esterel3": {
     "besteffort": {
       "ggas": [
diff --git a/data/grid5000/sites/sophia/clusters/esterel27/esterel27.json b/data/grid5000/sites/sophia/clusters/esterel27/esterel27.json
index b9cd785d5e3..267180fe8b0 100644
--- a/data/grid5000/sites/sophia/clusters/esterel27/esterel27.json
+++ b/data/grid5000/sites/sophia/clusters/esterel27/esterel27.json
@@ -188,7 +188,7 @@
   "priority": 202001,
   "queues": [
     "admin",
-    "testing"
+    "production"
   ],
   "redfish": false,
   "type": "cluster",
diff --git a/data/grid5000/sites/sophia/clusters/esterel27/nodes/esterel27-1.json b/data/grid5000/sites/sophia/clusters/esterel27/nodes/esterel27-1.json
index 8b2057dc054..7a38b05e52a 100644
--- a/data/grid5000/sites/sophia/clusters/esterel27/nodes/esterel27-1.json
+++ b/data/grid5000/sites/sophia/clusters/esterel27/nodes/esterel27-1.json
@@ -349,10 +349,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 37a00d0baaf..2341f4c7f03 100644
--- a/input/grid5000/access/sophia.yaml
+++ b/input/grid5000/access/sophia.yaml
@@ -14,6 +14,7 @@ mercantour2: &inria-sophia
     p3: ['@inria_group']
     p4: ['@other_groups_with_access']
 esterel10: *inria-sophia
+esterel27: *inria-sophia
 mercantour1: *inria-sophia
 mercantour5: *inria-sophia
 
diff --git a/input/grid5000/sites/sophia/clusters/esterel27/esterel27.yaml b/input/grid5000/sites/sophia/clusters/esterel27/esterel27.yaml
index de6da1d0a49..77a15f23273 100644
--- a/input/grid5000/sites/sophia/clusters/esterel27/esterel27.yaml
+++ b/input/grid5000/sites/sophia/clusters/esterel27/esterel27.yaml
@@ -7,7 +7,7 @@ boot_type: bios
 exotic: false
 queues:
   - admin
-  - testing
+  - production
 nodes:
   esterel27-1:
     gpu_devices:
@@ -25,7 +25,7 @@ nodes:
     supported_job_types:
       deploy: true
       besteffort: true
-      max_walltime: 0
+      max_walltime: 604800
     processor:
       microarchitecture: Skylake-SP
       clock_speed: 2400000000
-- 
GitLab