Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onpanic: add support for multipathed zfcp-attached SCSI disks #108

Merged
merged 3 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions package/yast2-s390.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Dec 12 14:35:37 UTC 2023 - Steffen Maier <[email protected]>

- onpanic: add support for multipathed zfcp-attached SCSI disks
(bsc#1020336, also related to bsc#1216257).
- 4.6.5

-------------------------------------------------------------------
Fri Sep 01 19:57:03 UTC 2023 - Josef Reidinger <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-s390.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-s390
Version: 4.6.0
Version: 4.6.5
Release: 0
Group: System/YaST
License: GPL-2.0-only
Expand Down
4 changes: 2 additions & 2 deletions src/modules/OnPanic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def ConvertMkdumpToConf(dev_line)
Ops.get(entry, 0),
"^/dev/dasd[[:lower:]]+$"
)
is_zfcp = Builtins.regexpmatch(Ops.get(entry, 0), "^/dev/sd[[:lower:]]+$")
is_zfcp = Builtins.regexpmatch(Ops.get(entry, 0), "^/dev/(sd[[:lower:]]+|mapper/.*)$")

if is_dasd
dev = Builtins.add(dev, "DUMP_TYPE", "ccw")
Expand Down Expand Up @@ -135,7 +135,7 @@ def ConvertConfToMkdump(dev)
Ops.get(line, 2) == Ops.get(dev, "DEVICE") ||
# check for fitting zfcp
type == "fcp" &&
Builtins.regexpmatch(Ops.get(line, 0), "^/dev/sd[[:lower:]]+") &&
Builtins.regexpmatch(Ops.get(line, 0), "^/dev/(sd[[:lower:]]+|mapper/)") &&
Ops.get(line, 2) == Ops.get(dev, "DEVICE") &&
Ops.get(line, 3) == Ops.get(dev, "WWPN") &&
Ops.get(line, 4) == Ops.get(dev, "LUN") # check for fitting dasd
Expand Down
Loading