Skip to content

feat(web): improve storage/ProposalFailedInfo#2323

Merged
dgdavid merged 6 commits intomasterfrom
lvm-proposal-failed-info
May 6, 2025
Merged

feat(web): improve storage/ProposalFailedInfo#2323
dgdavid merged 6 commits intomasterfrom
lvm-proposal-failed-info

Conversation

@dgdavid
Copy link
Contributor

@dgdavid dgdavid commented May 4, 2025

Problem

When a proposal fails because not able to allocate space for an logical volume, the warning alert shown to users does not provide enough information because it is only aware of such a situation for partitions.

Solution

To make such an alert aware of logical volumes but avoiding to entering in details and just mentioning affected mount paths.

Testing

  • Added a new unit test
  • Tested manually

Screenshots

Before After
localhost_8080_ (51) localhost_8080_ (50)

Related to https://trello.com/c/vE4qvtDl (private link)

dgdavid added 3 commits May 2, 2025 13:48
Provide users with more specific hints about where the problem could be,
including cases involving LVM.

Note: tests are still pending.
Use a single, concise explanation to describe failures in allocating
space for mount points or file systems. This reduces code complexity
and avoids overly technical language for what is essentially the same
underlying issue.
@dgdavid dgdavid requested a review from ancorgs May 4, 2025 22:59
Copy link
Contributor

@ancorgs ancorgs left a comment

Choose a reason for hiding this comment

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

Pre-approved (just the typo of "presense" needs to be fixed).

Fixes a typo and make translations less challenging by avoiding
including "boot partition" as an element of the mount paths list.

Co-Authored-By: Ancor Gonzalez Sosa <ancorgs@gmail.com>
@dgdavid dgdavid marked this pull request as ready for review May 5, 2025 14:50
@dgdavid dgdavid requested a review from ancorgs May 5, 2025 15:39
Copy link
Contributor

@ancorgs ancorgs left a comment

Choose a reason for hiding this comment

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

LGTM

@dgdavid dgdavid merged commit 80cd132 into master May 6, 2025
8 checks passed
@dgdavid dgdavid deleted the lvm-proposal-failed-info branch May 6, 2025 10:04
@imobachgs imobachgs mentioned this pull request May 26, 2025
imobachgs added a commit that referenced this pull request May 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