Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.09k stars 16.14k forks source link

301-storage-spaces-direct failing with network path not found #6932

Open ghost opened 4 years ago

ghost commented 4 years ago

[301-storage-spaces-direct]https://github.com/Azure/azure-quickstart-templates/tree/master/301-storage-spaces-direct

I'm getting the following error when trying to deploy Storage Spaces Direct. We had issues originally with our on-premesis DNS server not updating records via DDNS but have since resolved it. I'm not sure what network location DSC is referring to in the below error:

"DSC Configuration \u0027ConfigS2D\u0027 completed with error(s). Following are the first few: PowerShell DSC resource MicrosoftAzure_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: The network path was not found.\r\n The SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually.",

The cluster is left in a half setup state. Any help on this would be appreciated.

Thanks

cpopa-additiv commented 4 years ago

Hello,

I am having the same issue as @omegaharvest - same error, same circumstances. Has anyone got past this? It seems like the PS scripts are failing on finishing configuring the cluster.

raisaurabh777 commented 4 years ago

Hello I am having the same issue as @omegaharvest and @cpopa-additiv . Any help on the same ? Why is the PS Script failing.

cpopa-additiv commented 4 years ago

@raisaurabh777 Because this is yet another Microsoft demo/documentation that is faulty and just posted to be posted. I think that nobody even tests most of the things that are documented on docs.microsoft or github. Otherwise I really cannot understand how that many articles are faulty or missing really important steps.

In my case, I ended up creating the scripts from scratch. I suggest you do the same.

raisaurabh777 commented 4 years ago

@cpopa-additiv If you have been able to create a 2-node Storage spaces direct cluster by your own from Scratch, It would be really great if you could share the process in a YouTube Video or Blog. Please let me know. Meanwhile my struggle is on to create it on my own. Thanks !!

jkolbeson2w commented 4 years ago

I received the same error. Looking at the repo and that the only change in years has been changing the OS SKU to 2019 (from 2016) 4 months ago I changed the OS SKU back to 2016 and the template deploys without issue. Looks like some of the 2016 DSC isn't playing nice with Windows 2019.