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

New storage settings #738

Merged
merged 78 commits into from
Sep 6, 2023
Merged

New storage settings #738

merged 78 commits into from
Sep 6, 2023

Conversation

joseivanlopez
Copy link
Contributor

@joseivanlopez joseivanlopez commented Sep 5, 2023

Agama reads the information about the products offered for installation from a config file like /etc/agama.yaml. That config file contains an storage section which indicates the storage options (e.g., lvm, encryption, etc) and the volumes (file systems) to create in the target system.

Till now, that section was basically the same as the storage section for the YaST config file. But the storage use cases for Agama are only a subset of all the possibities YaST offers. Some YaST settings simply do not make sense for Agama.

This feature redefines the storage settings for Agama, making the products configuration more straightforward and less error prone.

Notes

This PR merges the storage-settings feature branch into master. Everything has been already reviewed:

Follow-up: #721

New storage proposal settings
- There is no need to invalidate the proposal.
- The config phase is automaticall done if a product is selected.
- Probe will always start from scratch.
- Clients are in charge of requesting a new proposal with the previous
  settings, if needed (e.g., if the system is deprecated).
- The client calculates the proposal again using the previous settings.
- The backend never reuses the previous settings on probing.
@joseivanlopez joseivanlopez marked this pull request as ready for review September 6, 2023 08:19
Copy link
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As everything was already reviewed (except the changelog), I am approving it.

@joseivanlopez joseivanlopez merged commit 76d7752 into master Sep 6, 2023
11 checks passed
@joseivanlopez joseivanlopez deleted the storage-settings branch September 6, 2023 09:17
@imobachgs imobachgs mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants