Azure / Azure/azure-quickstart-templates
Error during dseployment of MATLAB Distributed Computing Server clusters
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[Template Name goes here](Template link goes here)
### Issue Details
Deploying to resource group. When this step is done, you will have a running MDCS cluster
New-AzureRmResourceGroupDeployment : 18:39:25 - Error: Code=InvalidTemplate; Message=Deployment template validation
failed: 'The provided value for the template parameter 'numWorkerVms' at line '191' and column '26' is not valid.'.
Au caractère C:\MatLab-Azure\mdcs.ps1:168 : 3
+ New-AzureRmResourceGroupDeployment -WarningAction:SilentlyContinue ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
loymentCmdlet
New-AzureRmResourceGroupDeployment : The deployment validation failed
Au caractère C:\MatLab-Azure\mdcs.ps1:168 : 3
+ New-AzureRmResourceGroupDeployment -WarningAction:SilentlyContinue ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError : (:) [New-AzureRmResourceGroupDeployment], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
loymentCmdlet
### Repro steps (*if necessary, delete otherwise*)
1.I'm using the following ini file
[config]
BaseVmVhd=https://storengymatlab.blob.core.windows.net/system/Microsoft.Compute/Images/matlab-vm/matlab-vm-osDisk.9d7587f8-3e90-4c88-8eb6-db935e6da1fd.vhd
ClusterVmVhdContainer=https://storengymatlab.blob.core.windows.net/system
Region=northeurope
ClusterName=storengymatlab
NumWorkersOnMjsVm=0
NumWorkersOnWorkerVms=-1
ClientVmSize=Standard_DS2
NumWorkerVms=5
MJSVmSize=Standard_DS2
WorkerVmSize=Standard_DS2
VmUsername=administateur
SubscriptionId=b7034772-3fff-4540-a155-52ce5905b71d
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the deployment with the supplied INI configuration and inspect C:\MatLab-Azure\mdcs.ps1 at line 168, then trace the template parameter reported at line 191. Done means the numWorkerVms value passes template validation and the MATLAB Distributed Computing Server cluster deployment proceeds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100