-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: UI crashes with Multipath or RAID (#1212)
## Problem The storage UI crashes when the system has Multipath or BIOS RAID devices. Source of the problem: * `Storage1.Multipath` and `Storage1.RAID` D-Bus interfaces export the path of the wires and RAID devices respectively. * Neither Multipath wires nor RAID devices are exported on D-Bus. * The UI fails to build the Multipath wires and/or RAID devices because they are not found in the list of devices. ## Solution * Modify the D-Bus interfaces in order to export the name of the Multipath wires and RAID devices instead of their D-Bus path. * Adapt the UI storage client to use the name of the Multipath wires and RAID devices instead of trying to build a complete device. Note: At this moment, the D-Bus storage service only exports the devices useful for the installation. The Multipath wires or RAID devices are not exported because they cannot be used for installing the system. In the future we can consider to export those devices too, adapting the UI to avoid selecting that devices for the installation. <details> <summary>Toggle screenshots</summary> ![localhost_8080_ (3)](https://github.com/openSUSE/agama/assets/1112304/f3c1baae-cb57-4ba0-817d-fab95cf76821) ![localhost_8080_ (4)](https://github.com/openSUSE/agama/assets/1112304/1b3ffd08-3a98-4c2a-8638-1bc54dd0ccd8) ![localhost_8080_ (5)](https://github.com/openSUSE/agama/assets/1112304/93a4cfc5-3127-49f4-b0f7-94ece4b37f05) </details>
- Loading branch information
Showing
9 changed files
with
79 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters