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

Cluster: can't create new cluster, static address not found on any network #183

Open
GeordieGuy opened this issue Jul 26, 2018 · 4 comments
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@GeordieGuy
Copy link

I am trying to create the first node of a two node WFOC cluster, the configuration is;

	xCluster CreateCluster
	{
		Name = "server01"
		StaticIPAddress = "10.12.4.15/24"
		DomainAdministratorCredential = $AdminCreds
		DependsOn = '[WindowsFeature]AddRemoteServerAdministrationToolsClusteringCmdInterfaceFeature'
	}

This is on Windows Server 2012 R2, that was deployed via an ARM template that also deploys a 10.12.4.0/24 vnet and an Azure ALB with the IP 10.12.4.15. The error thrown is;

Set-AzureRmVmDscExtension : Long running operation failed with status 'Failed'. Additional Info:'VM has reported a failure when processing extension 'Microsoft.Powershell.DSC'. Error message: "DSC Configuration 'MyAOAG' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xCluster failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Static address '10.12.4.15/24' was not found on any cluster network. The SendConfigurationApply function did not succeed.".'

This is with version 2.72

@johlju johlju added the question The issue is a question. label Jul 26, 2018
@johlju
Copy link
Member

johlju commented Jul 26, 2018

For the community to help with this

Could you provide the arm template in a https://gist.github.com? Obfuscating any sensitive information.
Could you list the NIC configuration on the VM where you run the configuration?

@GeordieGuy
Copy link
Author

Gist: https://gist.github.com/GeordieGuy/a521f53a5e243badff54b6df3f23f4c0
Please note I've find-and-replaced sensitive information which may have replaced an element of the json with something invalid, that's not the problem, it's just to sanitise the info.

The nic configuration is in that gist, but directly it has the static IP address 10.12.4.9. There's another server with 10.12.4.10 as the static IP, and the DSC as shown above is to create a cluster network address with 10.12.4.15. That's the same IP as an Azure load balancer in the same ARM template.

@johlju
Copy link
Member

johlju commented Jul 31, 2018

The JSON ARM template deployed successfully, so it seems to work after you replaced sensitive information. Although, just deployed it, did not test anything.

Please look at issue #29 and issue #173 and see if they can help with this.

@johlju johlju added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. and removed question The issue is a question. labels Jul 31, 2018
@SteveL-MSFT SteveL-MSFT added this to Help Wanted in powershell/dscresources May 14, 2019
@SteveL-MSFT SteveL-MSFT removed this from Help Wanted in powershell/dscresources Nov 27, 2019
@sun2silicon
Copy link

The fix seems to be that all the nodes must have a Default Gateway IP address. It doesn't have to be a real gateway, just an IP in the same range.

And now the cluster is created with no problems. After the cluster is running, you can remove the gateway IP address.

@johlju johlju changed the title xCluster: can't create new cluster, static address not found on any network Cluster: can't create new cluster, static address not found on any network Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

3 participants