-
Notifications
You must be signed in to change notification settings - Fork 44
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
fix(web): storage reprobe #1911
fix(web): storage reprobe #1911
Conversation
715a367
to
522a071
Compare
c5616a6
to
c0b9560
Compare
- Add #reprobe - Remove #refresh - Move useful methods from proposal file.
- DeviceSelector component is not used anymore.
c0b9560
to
26a5dc3
Compare
* @fixme Make DriveEditor to work when the device is not found (e.g., after disabling | ||
* a iSCSI device). | ||
*/ | ||
if (device === undefined) return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a Trello card for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
938378d
into
agama-project:storage-config-ui
Problem
If the system is set as deprecated (e.g., after activating iSCSI devices), then the web client automatically reprobes the storage devices and recalculates the proposal. That is done by 3 different calls (fetch config, probe, and set config). This makes the process very unreliable if more than one reprobing is done at the same time. As side effect, the current storage config could be lost, getting the initial storage proposal instead.
Solution
Add a new D-Bus method for reprobing in an atomic way. The system is set as "no deprecated" at the end of the action. Now clients can simultaneously call to reprobe without any risk.