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]: CapRover Worker nodes showing as "Leader" in solution name. #3693

Open
1 task done
atefnazmy opened this issue Dec 1, 2024 · 4 comments
Open
1 task done
Assignees
Labels
type_bug Something isn't working
Milestone

Comments

@atefnazmy
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

which package/s did you face the problem with?

Dashboard

What happened?

When Deploying a CapRover with 1 Leader and 2 Workers, all workers node are displaying the solution name as "Leader".

Steps To Reproduce

1.Deploy CapRover with 1 Leader and 2 Workers using the Dashboard.
2. From the Sidebar expand "Deploy" then select Your Contracts.
3. Observe that the workers solution name are listed as "Leader" for all nodes.

which network/s did you face the problem on?

Dev

version

4e2fc0b

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

caprover

Relevant log output

n/a
@atefnazmy atefnazmy added the type_bug Something isn't working label Dec 1, 2024
@ramezsaeed ramezsaeed added this to the 2.7.0 milestone Dec 3, 2024
@maayarosama maayarosama self-assigned this Dec 19, 2024
@maayarosama
Copy link
Contributor

Investigation and Solution:

After some debugging, I found out the caprover is deployed as vms so it uses _createDeployment method, so it sets the contractmetadata once and the name is set to options.name which is the leaders name. I'm still trying to find a solution for this issue

@maayarosama
Copy link
Contributor

This's not a bug it's the agreed upon behavior, The whole cluster takes the name of the leader.

@khaledyoussef24
Copy link
Contributor

verified on devnet
Version c2d6060

As @maayarosama commented the shown name is the name of the cluster of the leader
the first trial they both named as nwic6 and the second it is named as leader the name that appeared is the name of cluster
Image
Image
Image
Image
testcase

@ramezsaeed
Copy link
Contributor

Can't we find any way to show the master name and the workers name as individual names in the contract table ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants