From fd7e4ab05a1a07bb0a9d4b5df34fe75980cf018f Mon Sep 17 00:00:00 2001
From: Hugo Dominois <hugo.dominois@inria.fr>
Date: Wed, 17 Jan 2024 16:19:01 +0100
Subject: [PATCH] [lille][chirop] Add disk path

---
 .../sites/lille/clusters/chirop/nodes/chirop-1.json         | 6 +++---
 .../sites/lille/clusters/chirop/nodes/chirop-2.json         | 6 +++---
 .../sites/lille/clusters/chirop/nodes/chirop-3.json         | 6 +++---
 .../sites/lille/clusters/chirop/nodes/chirop-4.json         | 6 +++---
 .../sites/lille/clusters/chirop/nodes/chirop-5.json         | 6 +++---
 input/grid5000/sites/lille/clusters/chirop/chirop.yaml      | 6 +++---
 6 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-1.json b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-1.json
index 23a94fa510a..6e435f20086 100644
--- a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-1.json
+++ b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-1.json
@@ -74,7 +74,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:1:0",
       "id": "disk0",
       "interface": "SATA",
       "model": "unknown",
@@ -83,7 +83,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:2:0",
       "id": "disk1",
       "interface": "SATA",
       "model": "unknown",
@@ -92,7 +92,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:3:0",
       "id": "disk2",
       "interface": "SATA",
       "model": "unknown",
diff --git a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-2.json b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-2.json
index 96cae7b1502..0a7b03e19b7 100644
--- a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-2.json
+++ b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-2.json
@@ -74,7 +74,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:1:0",
       "id": "disk0",
       "interface": "SATA",
       "model": "unknown",
@@ -83,7 +83,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:2:0",
       "id": "disk1",
       "interface": "SATA",
       "model": "unknown",
@@ -92,7 +92,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:3:0",
       "id": "disk2",
       "interface": "SATA",
       "model": "unknown",
diff --git a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-3.json b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-3.json
index 33ae1dd6d0a..d9966304a51 100644
--- a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-3.json
+++ b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-3.json
@@ -74,7 +74,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:1:0",
       "id": "disk0",
       "interface": "SATA",
       "model": "unknown",
@@ -83,7 +83,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:2:0",
       "id": "disk1",
       "interface": "SATA",
       "model": "unknown",
@@ -92,7 +92,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:3:0",
       "id": "disk2",
       "interface": "SATA",
       "model": "unknown",
diff --git a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-4.json b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-4.json
index d4eb4f1ae4e..28ca8116882 100644
--- a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-4.json
+++ b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-4.json
@@ -74,7 +74,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:1:0",
       "id": "disk0",
       "interface": "SATA",
       "model": "unknown",
@@ -83,7 +83,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:2:0",
       "id": "disk1",
       "interface": "SATA",
       "model": "unknown",
@@ -92,7 +92,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:3:0",
       "id": "disk2",
       "interface": "SATA",
       "model": "unknown",
diff --git a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-5.json b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-5.json
index f161ba5cc4e..9e03aaf9a77 100644
--- a/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-5.json
+++ b/data/grid5000/sites/lille/clusters/chirop/nodes/chirop-5.json
@@ -74,7 +74,7 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:1:0",
       "id": "disk0",
       "interface": "SATA",
       "model": "unknown",
@@ -83,7 +83,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:2:0",
       "id": "disk1",
       "interface": "SATA",
       "model": "unknown",
@@ -92,7 +92,7 @@
     },
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:3:0",
       "id": "disk2",
       "interface": "SATA",
       "model": "unknown",
diff --git a/input/grid5000/sites/lille/clusters/chirop/chirop.yaml b/input/grid5000/sites/lille/clusters/chirop/chirop.yaml
index c432cbbd11d..1f8ff117c23 100644
--- a/input/grid5000/sites/lille/clusters/chirop/chirop.yaml
+++ b/input/grid5000/sites/lille/clusters/chirop/chirop.yaml
@@ -51,19 +51,19 @@ nodes:
         interface: SATA
         storage: HDD
         model: unknown
-        by_path: "/dev/disk/by-path/dummy"
+        by_path: "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:1:0"
       disk1:
         id: disk1
         interface: SATA
         storage: HDD
         model: unknown
-        by_path: "/dev/disk/by-path/dummy"
+        by_path: "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:2:0"
       disk2:
         id: disk2
         interface: SATA
         storage: HDD
         model: unknown
-        by_path: "/dev/disk/by-path/dummy"
+        by_path: "/dev/disk/by-path/pci-0000:47:00.0-scsi-0:2:3:0"
   chirop-1:
     network_adapters:
       bmc:
-- 
GitLab