UI: handle reused MD RAIDs that are already included in the configuration#2346
Merged
joseivanlopez merged 35 commits intoagama-project:masterfrom May 23, 2025
Merged
UI: handle reused MD RAIDs that are already included in the configuration#2346joseivanlopez merged 35 commits intoagama-project:masterfrom
joseivanlopez merged 35 commits intoagama-project:masterfrom
Conversation
ed965a3 to
2fa4c48
Compare
- Shared context for tests that require a config solver.
3e2a69a to
a1db0f6
Compare
service/lib/agama/storage/config_conversions/from_model_conversions/config.rb
Show resolved
Hide resolved
357f7b2 to
a99067e
Compare
Contributor
|
As discussed in a meeting, we will adapt the storage editor components (e.g., DriveEditor) to receive a list and an index instead of a device object. This will allow to:
These changes will be done once we need to allow creating partitions without a mount path (e.g., for manually creating physical volumes). |
Merged
imobachgs
added a commit
that referenced
this pull request
May 26, 2025
Prepare to release Agama 15: * #2258 * #2270 * #2277 * #2279 * #2283 * #2284 * #2285 * #2286 * #2287 * #2288 * #2291 * #2292 * #2293 * #2295 * #2297 * #2299 * #2300 * #2301 * #2302 * #2303 * #2305 * #2306 * #2307 * #2308 * #2309 * #2313 * #2314 * #2315 * #2317 * #2318 * #2319 * #2320 * #2321 * #2322 * #2323 * #2324 * #2325 * #2328 * #2329 * #2330 * #2331 * #2335 * #2336 * #2337 * #2338 * #2339 * #2340 * #2342 * #2345 * #2346 * #2348 * #2349 * #2350 * #2351 * #2352 * #2353 * #2354 * #2355 * #2357 * #2358 * #2359 * #2360 * #2361 * #2362 * #2363 * #2364 * #2365 * #2366 * #2368 * #2369 * #2370 * #2371 * #2372 * #2374 * #2377 * #2378 * #2379 * #2380 * #2381 * #2382 * #2384 * #2385 * #2386 * #2388 * #2389 * #2390 * #2391 * #2392 * #2394 * #2397 * #2398 * #2401 * #2403
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
May 27, 2025
https://build.opensuse.org/request/show/1280489 by user IGonzalezSosa + anag_factory - Version 15 - Proper handling of WebSocket secure connections (gh#agama-project/agama#2391): - "agama monitor" does not use "insecure" by default. - Do not encrypt the connection when using ws: URLs. - Cache progress reporting to avoid blocking the clients (gh#agama-project/agama#2389). - Update schema of the storage model (gh#agama-project/agama#2346). - Provide software conflicts HTTP API (gh#agama-project/agama#2348) - Cache issues to avoid blocking the clients (gh#agama-project/agama#2379). - Cache the software configuration and products in the web server, the software backend is blocked during package installation (bsc#1241208) - Add support for bridge connections (gh#agama-project/agama#2258). - Do not crash when network events do not contain "addresses", "nameserver
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
May 27, 2025
https://build.opensuse.org/request/show/1280475 by user IGonzalezSosa + anag_factory - Version 15 - Handle reused MD RAIDs that are already included at the storage configuration (gh/agama-project/agama#2346). - Allow to resolve in web UI software conflicts (gh#agama-project/agama#2348) - Do not crash when navigating to a Wi-Fi network (bsc#1243415) - Keep margin between sidebar and main content in all breakpoints (gh/agama-project/agama#2370). - Rework the installer l10n settings (gh#agama-project/agama#2359): - Improve discoverability of language and keyboard layout settings. - Add contextual messages to help users differentiate between installer and product localization settings. - Add the ability to reuse installer settings for the product to install. - In local connections, keyboard layout change is now available directly from modal dialog
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
If a storage configuration includes reusing an existing MD RAID device, such a device is not displayed at the Agama configuration UI. But actually that case is not so different from using a disk.
Solution
This extends the component
ConfigEditorto also display reused MD RAIDs, offering the same capabilities that are there for disks (like creating partitions or defining what to do with the existing ones).This does not offer any possibility to remove the RAID from the configuration or to add a new RAID. It only works with RAIDs that are already present at the loaded configuration.
Implementation notes
Some of the pre-existing components like
DriveEditor,SpacePolicySelectionorPartitionsPageuse the old queries atconfig-model.tsto communicate with the backend. Something that is deprecated in favor of https://gist.github.com/joseivanlopez/a8d1e4269e6f1c8d41837dfd89fb556d?permalink_comment_id=5569616This pull request gives several steps on the agreed direction, but a few inner components still use the old approach.
Testing