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

use zos3 nodes if not enough zos4 nodes were found #1247

Conversation

Eslam-Nawara
Copy link
Contributor

@Eslam-Nawara Eslam-Nawara commented Nov 5, 2024

Description

use zos3 nodes if not enough zos4 nodes were found

Changes

use zos3 nodes if not enough zos4 nodes were found

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstring

@Eslam-Nawara Eslam-Nawara marked this pull request as draft November 5, 2024 12:09
@Eslam-Nawara Eslam-Nawara force-pushed the development-tfrobot-use-zos3-node-if-no-zosa4-nodes-found branch from 5100678 to 6506358 Compare November 5, 2024 12:48
disks, diskMounts := parseDisks(vmName, vmGroup.SSDDisks)
volumes, volumeMounts := parseVolumes(vmName, vmGroup.Volumes)

deployment := workloads.NewDeployment("", nodeID, solutionType, nil, networkName, disks, nil, nil, nil, nil, volumes)

if !vmGroup.WireGuard && !vmGroup.PublicIP4 && !vmGroup.PublicIP6 && !vmGroup.Ygg {
if isLight {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here we missed public ips check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's already tested in the filtration here

@Eslam-Nawara Eslam-Nawara marked this pull request as ready for review November 5, 2024 12:57
@Eslam-Nawara Eslam-Nawara merged commit 90d3591 into development Nov 5, 2024
39 checks passed
@Eslam-Nawara Eslam-Nawara deleted the development-tfrobot-use-zos3-node-if-no-zosa4-nodes-found branch November 5, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants