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

Bug encountered when caching-service infinispan is running with same ports as another Zowe server #3883

Open
struga0258 opened this issue Nov 7, 2024 · 1 comment
Labels
bug Verified defect in functionality Priority: High size/S

Comments

@struga0258
Copy link

Describe the bug
While using the new caching-service infinispan I ran into some bugs. The first one is that the Zowe start up doesnt check if the ports for jgroup or keyExchange are already in use. The other bug I encountered is that, I had the same ports for jgroup and keyExchange as another user that was running Zowe and it started using that other uses workspace/caching-service/index and workspace/caching-service/data. I tried to use the presistence.dataLocation parameter but that didn't work. I believe its missing an option to update the cluster name as well, avoiding these unrelated zowe instances to unknowingly join the same cluster.

Steps to Reproduce

  1. Start two Zowe with the same ports under jgroup and keyExchange
  2. You will see the second Zowe start but the caching service will throw errors in the log and doesn't start.

Expected behavior
Zowe should fail during startup if ports are taken.

Additional context
I also noticed infinspan starting to use random ports and its due to its behavior to chose available ports, I believe we should update this info in the Zowe docs since its missing.

Willingness to help
Sure, i can help debug and test this.

https://github.com/zowe/api-layer/wiki/Issue-management

@struga0258 struga0258 added bug Verified defect in functionality new New issue that has not been worked on yet labels Nov 7, 2024
@1000TurquoisePogs
Copy link
Member

FYI caching-service already checks if its own server port is free. perhaps the same technique is a solution for infinispan ports? https://github.com/zowe/api-layer/blob/v3.x.x/caching-service-package/src/main/resources/bin/validate.sh#L14

@EvaJavornicka EvaJavornicka added Priority: High size/S and removed new New issue that has not been worked on yet labels Nov 27, 2024
@EvaJavornicka EvaJavornicka moved this from New to Unplanned Bugs in API Mediation Layer Backlog Management Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified defect in functionality Priority: High size/S
Projects
Status: Unplanned Bugs
Development

No branches or pull requests

3 participants