Skip to content

Commit

Permalink
Fix missing WWID values for multipath devices in advanced storage UI …
Browse files Browse the repository at this point in the history
…(#2046654)

Multipath devices themselves do not have a path-id but only their path
members. In that case, a good volume identifier is the WWID/WWN/UUID.

Fixes: 8e75893 ("Remove the local storage object from the advanced storage spoke")
Signed-off-by: Steffen Maier <maier@linux.ibm.com>

Resolves: RHEL-11384
  • Loading branch information
steffen-maier authored and rvykydal committed Jan 19, 2024
1 parent 5636a27 commit 8214219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/ui/gui/spokes/advanced_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def create_row(device_data, selected, mutable):
vendor=attrs.get("vendor", ""),
interconnect=attrs.get("bus", ""),
serial=attrs.get("serial", ""),
wwid=attrs.get("path-id", ""),
wwid=attrs.get("path-id", "") or attrs.get("wwn", ""),
paths="\n".join(device.parents),
port=attrs.get("port", ""),
target=attrs.get("target", ""),
Expand Down

0 comments on commit 8214219

Please sign in to comment.