scsi disk path changed for fiber channel on arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
scsi disk path name change on arm 64 device, so https:/
the new name looks like this (notice the new prefix)
root@compute01:~# ll /dev/disk/by-path/
total 0
drwxr-xr-x 2 root root 260 Feb 7 08:52 ./
drwxr-xr-x 6 root root 120 Dec 23 16:05 ../
lrwxrwxrwx 1 root root 9 Dec 23 16:05 platform-
lrwxrwxrwx 1 root root 9 Dec 23 16:05 platform-
lrwxrwxrwx 1 root root 9 Dec 23 16:05 platform-
lrwxrwxrwx 1 root root 10 Dec 23 16:05 platform-
lrwxrwxrwx 1 root root 10 Dec 23 16:05 platform-
lrwxrwxrwx 1 root root 10 Dec 23 16:05 platform-
lrwxrwxrwx 1 root root 10 Dec 23 16:17 platform-
lrwxrwxrwx 1 root root 9 Feb 7 08:52 platform-
lrwxrwxrwx 1 root root 9 Feb 7 08:52 platform-
lrwxrwxrwx 1 root root 9 Feb 7 08:52 platform-
lrwxrwxrwx 1 root root 9 Feb 7 08:52 platform-
summary: |
- scsi disk path name changed for fiber channel on arm64 + scsi disk path changed for fiber channel on arm64 |
Reviewed: https:/ /review. opendev. org/706780 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=7c9020f0068 9220e2815fac9cf 067f78dabeaf5e
Committed: https:/
Submitter: Zuul
Branch: master
commit 7c9020f00689220 e2815fac9cf067f 78dabeaf5e
Author: shenjiatong <email address hidden>
Date: Mon Feb 10 16:35:15 2020 +0800
prepend platform info to by-path string
By default, udev will set device by-path name to its ID_PATH.
Looking at [1], most of the time, current code works, xxxxx'.
but when system uses platform, then disk name will be prefixed by
'platform-
[1]: https:/ /github. com/systemd/ systemd/ blob/a0be538616 8a39337d879a9f7 d4bd224a42250f2 /src/udev/ udev-builtin- path_id. c#L530
Change-Id: I9b2c120f074f60 b9af6dd81718a52 87656040aba
Closes-Bug: #1862443