Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validations in ValidateClustersetIP
...which give false negative when there is a conflict with another cluster. 1. Don't check if allocation size and ClustersetIPCIDR are both configured. This check is not required coz user can't set size and is auto-allocated. This check causes a false negative when we have to retry CIDR allocation due to conflict with another cluster. 2. On conflict, reset netconfig.ClustersetIPCIDR to user configured CIDR before retrying. This avoids failing validation with CIDR that already conflicted. Signed-off-by: Vishal Thapar <[email protected]>
- Loading branch information