Skip to content

web: Only severe issues prevent installation#2061

Merged
ancorgs merged 2 commits intoagama-project:masterfrom
ancorgs:only_errors
Feb 24, 2025
Merged

web: Only severe issues prevent installation#2061
ancorgs merged 2 commits intoagama-project:masterfrom
ancorgs:only_errors

Conversation

@ancorgs
Copy link
Contributor

@ancorgs ancorgs commented Feb 24, 2025

Problem

Agama distinguishes two kind of issues: errors (which prevent the installation) and warnings.

The UI was making no difference between both. As a consequence, non-critical issues detected during storage probing were displayed alongside the serious errors.

In the following screenshot, those serious errors are a too small chosen disk and the lack of configuration for the authentication.

all

Fixing the critical errors made it possible to install using the CLI (ie executing agama install) because the probing issues were just warnings. But the situation was still blocked using the web UI.

See the screenshot below that shows how the UI looked after selecting a valid target disk and setting a password for root. It was still impossible to install using the web UI.

warnings

Solution

To follow the same criteria than the rest of Agama, now the UI only consider issues with severity Error. So the probing errors at the screenshots are never displayed.

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.

LGTM

@ancorgs ancorgs merged commit 78d6321 into agama-project:master Feb 24, 2025
1 check passed
@imobachgs imobachgs mentioned this pull request Feb 26, 2025
imobachgs added a commit that referenced this pull request Feb 26, 2025
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.

2 participants