threefoldtech / tfgrid-sdk-ts

Apache License 2.0
4 stars 8 forks source link

🐞 [Bug]: Use default Caprover flist #3361

Open Mahmoud-Emad opened 2 weeks ago

Mahmoud-Emad commented 2 weeks ago

Is there an existing issue for this?

which package/s did you face the problem with?

Dashboard

What happened?

When I created a Caprover cluster to test the fix of this issue I found, I created/attached a new worker after creating the deployment, then I found that the flist of the newly created worker is different then the one that used when creating the full cluster.

Steps To Reproduce

  1. Go to the Dashboard
  2. Go to the Caprover application
  3. Update the leader and create a worker
  4. Deploy them
  5. After listing the newly deployed instance click on Manage Workers and then Deploy
  6. After deploying the new worker open the full deployment details hit the newly created worker tab and check all of the flists and you'll see that all of them are not the same

which network/s did you face the problem on?

Dev

version

Development

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

image

image

Relevant log output

N/A
amiraabouhadid commented 1 week ago

Two flists with two tags: main and latest. Need to unify flists. When you deploy two instances, one takes on leader and worker (leader2 and worker2 both get same flist) any later instances get a different flist (worker 3).