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

Limit the number of app instances on the same node #6955

Closed
DavidePrincipi opened this issue Jun 19, 2024 · 3 comments
Closed

Limit the number of app instances on the same node #6955

DavidePrincipi opened this issue Jun 19, 2024 · 3 comments
Labels
verified All test cases were verified successfully

Comments

@DavidePrincipi
Copy link
Member

Applications with fixed port numbers like Mail and Ejabberd are limited to one instance per node, otherwise a port conflict arises at run time. The Software Center should limit the number of instances in the same node for such applications.

The limit may be observed also by the Clone/Move action, available from Software Center. However these advanced cases may prefer to allow a temporary conflict: it is a scenario that needs further evaluation.

Proposed solution

In the Install action, the Software Center prevents the selection of cluster nodes that already have an instance of the conflicting application.

Alternative solutions

The Software Center warns if a node is selected that already has a conflicting app instance.

Additional context

Image

See also

@DavidePrincipi DavidePrincipi self-assigned this Jun 19, 2024
@DavidePrincipi DavidePrincipi converted this from a draft issue Jun 19, 2024
@DavidePrincipi DavidePrincipi added this to the Milestone 8.2 milestone Jun 21, 2024
@DavidePrincipi DavidePrincipi moved this from 🔖 Ready to 🏗 In progress in NethServer Jul 5, 2024
DavidePrincipi added a commit to NethServer/ns8-core that referenced this issue Jul 9, 2024
Add attribute install_destinations to list-modules

Refs NethServer/dev#6955
@DavidePrincipi
Copy link
Member Author

Test case

This feature can be tested once an application with label org.nethserver.max-per-node has been pushed to the app repository, e.g. Mail org.nethserver.max-per-node=1.

At that time, the Software Center prevents the installation of a second Mail instance into the same node.

@DavidePrincipi DavidePrincipi added the testing Packages are available from testing repositories label Sep 4, 2024
@DavidePrincipi DavidePrincipi moved this from 🏗 In progress to 👀 Testing in NethServer Sep 4, 2024
@DavidePrincipi DavidePrincipi moved this to In progress in NethServer Sep 11, 2024
DavidePrincipi added a commit to NethServer/ns8-core that referenced this issue Sep 26, 2024
@DavidePrincipi
Copy link
Member Author

In testing:

  • core 2.10.0-dev.1

@DavidePrincipi DavidePrincipi added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Sep 27, 2024
@DavidePrincipi
Copy link
Member Author

DavidePrincipi added a commit to NethServer/ns8-mail that referenced this issue Oct 15, 2024
Fix reference to NethServer/dev#6955 in Git history.

See commit 501a6fb
stephdl added a commit to NethServer/ns8-ejabberd that referenced this issue Oct 15, 2024
@Amygos Amygos added this to NethVoice Oct 28, 2024
@Amygos Amygos moved this to Testing in NethVoice Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Archived in project
Status: Verified
Development

No branches or pull requests

3 participants