From abb6194636febd4e0e58c2f062daa74795df5c1c Mon Sep 17 00:00:00 2001
From: Nathan Paulin <nathan.paulin@inria.fr>
Date: Tue, 11 Mar 2025 10:49:26 +0100
Subject: [PATCH] [sophia][mercantour5] passage en queue de prod

---
 data/grid5000/accesses/nodesets.json          | 63 +++++++++++++++++++
 .../clusters/mercantour5/mercantour5.json     |  2 +-
 .../mercantour5/nodes/mercantour5-1.json      |  4 +-
 .../mercantour5/nodes/mercantour5-2.json      |  4 +-
 .../mercantour5/nodes/mercantour5-3.json      |  4 +-
 .../mercantour5/nodes/mercantour5-4.json      |  4 +-
 input/grid5000/access/sophia.yaml             |  1 +
 .../clusters/mercantour5/mercantour5.yaml     |  4 +-
 8 files changed, 75 insertions(+), 11 deletions(-)

diff --git a/data/grid5000/accesses/nodesets.json b/data/grid5000/accesses/nodesets.json
index 0b669ad07da..2bd32330eba 100644
--- a/data/grid5000/accesses/nodesets.json
+++ b/data/grid5000/accesses/nodesets.json
@@ -2563,6 +2563,69 @@
       ]
     }
   },
+  "mercantour5": {
+    "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"
+      ]
+    }
+  },
   "mercantour6": {
     "besteffort": {
       "ggas": [
diff --git a/data/grid5000/sites/sophia/clusters/mercantour5/mercantour5.json b/data/grid5000/sites/sophia/clusters/mercantour5/mercantour5.json
index a79050b46e8..24dc03297f6 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour5/mercantour5.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour5/mercantour5.json
@@ -57,7 +57,7 @@
   "priority": 201907,
   "queues": [
     "admin",
-    "testing"
+    "production"
   ],
   "redfish": true,
   "type": "cluster",
diff --git a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-1.json b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-1.json
index 47c70c58439..ef9fd00128e 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-1.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-1.json
@@ -210,10 +210,10 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 0,
+    "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-2.json b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-2.json
index 0feea7992e6..a57238aa855 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-2.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-2.json
@@ -210,10 +210,10 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 0,
+    "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-3.json b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-3.json
index 9bac16df810..ceaed13f6bd 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-3.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-3.json
@@ -210,10 +210,10 @@
   "supported_job_types": {
     "besteffort": true,
     "deploy": true,
-    "max_walltime": 0,
+    "max_walltime": 604800,
     "queues": [
       "admin",
-      "testing"
+      "production"
     ],
     "virtual": "ivt"
   },
diff --git a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-4.json b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-4.json
index 423b128a8d1..b1572a467d2 100644
--- a/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-4.json
+++ b/data/grid5000/sites/sophia/clusters/mercantour5/nodes/mercantour5-4.json
@@ -210,10 +210,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 7aad314da5b..aa1c56f528a 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
+mercantour5: *inria-sophia
 
 # DEDICATED MODE
 esterel5: &dedicated-stars
diff --git a/input/grid5000/sites/sophia/clusters/mercantour5/mercantour5.yaml b/input/grid5000/sites/sophia/clusters/mercantour5/mercantour5.yaml
index 902f4668da6..d9243deb26e 100644
--- a/input/grid5000/sites/sophia/clusters/mercantour5/mercantour5.yaml
+++ b/input/grid5000/sites/sophia/clusters/mercantour5/mercantour5.yaml
@@ -6,13 +6,13 @@ boot_type: bios
 exotic: false
 queues:
   - admin
-  - testing
+  - production
 nodes:
   mercantour5-[1-4]:
     supported_job_types:
       deploy: true
       besteffort: true
-      max_walltime: 0
+      max_walltime: 604800
     processor:
       microarchitecture: Cascade Lake-SP
       clock_speed: 2_600_000_000
-- 
GitLab