vmware / power-validated-solutions-for-cloud-foundation

PowerShell Module for VMware Validated Solutions
https://vmware.github.io/power-validated-solutions-for-cloud-foundation/
BSD 2-Clause "Simplified" License
45 stars 23 forks source link

SRM deployment fails if more than four hosts are present in a cluster #706

Closed nthaler-vmware closed 2 months ago

nthaler-vmware commented 3 months ago

Code of Conduct

VMware Cloud Foundation

5.2

Module Version

2.11.0.1057

PowerShell Version

7.4.4

PowerCLI Version

13.3

PowerVCF Version

2.4.1.1000

Guest Operating System

Windows Server 2019

Environment Details

No response

Description

If more than four hosts are present in a cluster, the PDR deployment of SRM fails with

[ERROR] The number of IP addresses supplied do not match the number if ESXi hosts in Workload Domain ($DOMAIN): PRE_VALIDATION_FAILED

Please handle more than four hosts and correct the typo "of ESXi hosts" rather than "is ESXi hosts"

Error or Debug Output

[ERROR] The number of IP addresses supplied do not match the number if ESXi hosts in Workload Domain ($DOMAIN): PRE_VALIDATION_FAILED

Expected Behavior

Generate a JSON with replication IPs equal to the host count and validate this as part of the pre-check.

Actual Behavior

Fails with [ERROR] The number of IP addresses supplied do not match the number if ESXi hosts in Workload Domain ($DOMAIN): PRE_VALIDATION_FAILED

Steps to Reproduce

Deploy a WLD with more than four hosts

Log Fragments and Files

No response

Screenshots

No response

References

No response

nthaler-vmware commented 3 months ago

Work-around:

Manually more IPs to this array in the generated JSON, for each applicable cluster, if more than four hosts are deployed.

"replicationIpAddresses": [],
github-actions[bot] commented 1 month ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.