Skip to content

Handle additional volumes during samba provider setup#1059

Merged
stephdl merged 25 commits intomainfrom
sdl-7757-addProviders
Feb 5, 2026
Merged

Handle additional volumes during samba provider setup#1059
stephdl merged 25 commits intomainfrom
sdl-7757-addProviders

Conversation

@stephdl
Copy link
Contributor

@stephdl stephdl commented Jan 28, 2026

This PR improves the internal provider setup flow (CreateDomainModal and AddInternalProviderModal) by adding clearer error feedback for background tasks and supporting selection of an additional volume when installing the Samba provider.

NethServer/dev#7757

@stephdl stephdl force-pushed the sdl-7757-addProviders branch from 6becea1 to 8872f5f Compare January 28, 2026 14:58
@stephdl stephdl changed the title Add error notifications and handle additional volumes in CreateDomainModal Handle additional volumes during samba provider setup Jan 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the internal provider setup flow by adding support for volume selection when installing the Samba provider and improving error feedback for background tasks. The changes enable users to choose an additional storage volume during Samba installation when available nodes have additional disks.

Changes:

  • Added volume selection step in provider installation wizards for Samba when nodes have additional storage
  • Implemented cluster status and node storage information retrieval to identify nodes with additional disks
  • Enhanced error notifications for get-cluster-status, list-nodes, and list-mountpoints tasks

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 9 comments.

File Description
CreateDomainModal.vue Added volume selection step, cluster status/node storage checks, and improved error notifications for new domain creation with Samba provider
AddInternalProviderModal.vue Added volume selection step, cluster status/node storage checks, and improved error notifications for adding providers to existing domains

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Jan 29, 2026

@stephdl I've opened a new pull request, #1064, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 29, 2026

@stephdl I've opened a new pull request, #1065, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 29, 2026

@stephdl I've opened a new pull request, #1066, to work on those changes. Once the pull request is ready, I'll request review from you.

…dback (#1066)

* Initial plan

* fix(AddInternalProviderModal): add sambaModule check before accessing sambaVolumes

Co-authored-by: stephdl <3164851+stephdl@users.noreply.github.com>

* refactor(AddInternalProviderModal): combine sambaModule checks for consistency

Co-authored-by: stephdl <3164851+stephdl@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephdl <3164851+stephdl@users.noreply.github.com>
@stephdl stephdl requested a review from andre8244 January 29, 2026 08:38
@stephdl stephdl force-pushed the sdl-7757-addProviders branch from 7f76d19 to ca52da4 Compare February 3, 2026 16:01
…ection with additional storage info and loading states
@stephdl stephdl force-pushed the sdl-7757-addProviders branch from ca52da4 to 9ad2d63 Compare February 3, 2026 16:18
stephdl and others added 4 commits February 4, 2026 14:48
Co-authored-by: Andrea Leardini <andrea.leardini@nethesis.it>
…ing of additional volumes in listMountPointsCompleted
…Ds for task registration to improve error handling
@stephdl stephdl requested a review from andre8244 February 5, 2026 09:33
@stephdl stephdl merged commit 351b713 into main Feb 5, 2026
2 checks passed
@stephdl stephdl deleted the sdl-7757-addProviders branch February 5, 2026 14:49
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.

3 participants