threefoldtech / tfgrid-sdk-go

Apache License 2.0
2 stars 4 forks source link

🐞 TFRobot [Bug]: failed to run deployments if couldn't find enough zos4 nodes #1245

Open Eslam-Nawara opened 11 hours ago

Eslam-Nawara commented 11 hours ago

What happened?

trying to run deployment on dev net with 5 nodes requested, the deployer didn't filter for zos3 nodes if no zos4 nodes were found and if fails immediately

I think the deployer should check for zos3 nodes if couldn't find enough zos4 nodes

which network/s did you face the problem on?

Dev

Relevant log output

10:14AM INF done validating configuration file
10:14AM INF Running deployment Node group=group_a
10:14AM INF Filter nodes Node group=group_a
10:14AM DBG error="could not find enough nodes with specified options" opts="free_mru: 75161927680, free_sru: 10737418240, total_cru: 2, region: europe, available_for: 4653, healthy: true, features: network-light, status: up"
10:14AM DBG failed to deploy error="could not find enough nodes with specified options" Node group=group_a
10:14AM INF Retrying to deploy Deployment trial=2 Node group=group_a
10:14AM INF Filter nodes Node group=group_a
10:14AM DBG error="could not find enough nodes with specified options" opts="status: up, free_mru: 75161927680, free_sru: 10737418240, total_cru: 2, region: europe, available_for: 4653, healthy: true, features: network-light"
10:14AM DBG failed to deploy error="could not find enough nodes with specified options" Node group=group_a
10:14AM INF Retrying to deploy Deployment trial=3 Node group=group_a
10:14AM INF Filter nodes Node group=group_a
10:14AM DBG error="could not find enough nodes with specified options" opts="region: europe, available_for: 4653, healthy: true, features: network-light, status: up, free_mru: 75161927680, free_sru: 10737418240, total_cru: 2"
10:14AM DBG failed to deploy error="could not find enough nodes with specified options" Node group=group_a
10:14AM INF Retrying to deploy Deployment trial=4 Node group=group_a
10:14AM INF Filter nodes Node group=group_a
10:14AM DBG error="could not find enough nodes with specified options" opts="region: europe, available_for: 4653, healthy: true, features: network-light, status: up, free_mru: 75161927680, free_sru: 10737418240, total_cru: 2"
10:14AM DBG failed to deploy error="could not find enough nodes with specified options" Node group=group_a
10:14AM INF Retrying to deploy Deployment trial=5 Node group=group_a
10:14AM INF Filter nodes Node group=group_a
10:14AM DBG error="could not find enough nodes with specified options" opts="available_for: 4653, healthy: true, features: network-light, status: up, free_mru: 75161927680, free_sru: 10737418240, total_cru: 2, region: europe"
10:14AM DBG failed to deploy error="could not find enough nodes with specified options" Node group=group_a
10:14AM INF Retrying to deploy Deployment trial=6 Node group=group_a
10:14AM INF Filter nodes Node group=group_a
10:14AM DBG error="could not find enough nodes with specified options" opts="free_sru: 10737418240, total_cru: 2, region: europe, available_for: 4653, healthy: true, features: network-light, status: up, free_mru: 75161927680"
10:14AM DBG failed to deploy error="could not find enough nodes with specified options" Node group=group_a
10:14AM INF canceling contracts project name=vm/group_a
10:14AM DBG checking url=https://graphql.dev.grid.tf/graphql
10:14AM DBG checking url=https://graphql.dev.grid.tf/graphql
10:14AM DBG checking url=https://graphql.dev.grid.tf/graphql
10:14AM DBG checking url=https://graphql.dev.grid.tf/graphql
10:14AM INF project is canceled project name=vm/group_a
ok: {}

10:14AM INF Deployment took 3.351210766s
Eslam-Nawara commented 6 hours ago

updated tfrobot filtration to use zos3 node if it failed to find zos4 node with requested resources

image