dotnet / dotnet/machinelearning-modelbuilder

New compute wizard fails with MinNodeCount must be specified.

Open
#2,386 11 comments 0 reactions 1 assignee Assigned to @zewditu View on GitHub
Multiple Requests Priority:0 Reported by: Customer Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Model Builder Version**: 16.14.0.2255902
**Visual Studion Version**: 17.4.1

**Bug description**
Receive error when trying to create compute resources for an object detection project in Visual Studio.

```
ScaleSettings.MaxNodeCount and ScaleSettings.MinNodeCount must be specified for create compute.
Status: 400 (ScaleSettings.MaxNodeCount and ScaleSettings.MinNodeCount must be specified for create compute.)
ErrorCode: UserError
```

**Steps to Reproduce**
1. Create a new `.mbconfig` file
2. Choose `Object Detection` scenario
3. On the `Environment` tab, click the `Set up workspace` button
4. Selected `Visual Studio Enterprise` Subscription
5. Create a new `Machine Learning Workspace name`
6. Click the `New...` button
7. Set the `Compute name`
8. St the `Compute Size` to `Standard_NC4as_T4_v3`
9. Set `Compute priority` to `Low priority`
10. Click the `Create` button

**Expected Experience**
I would expect that the compute resources would be created, and I would be returned to the previous dialog in the wizard.

**Actual Experience**
I receive the following error
```
ScaleSettings.MaxNodeCount and ScaleSettings.MinNodeCount must be specified for create compute.
Status: 400 (ScaleSettings.MaxNodeCount and ScaleSettings.MinNodeCount must be specified for create compute.)
ErrorCode: UserError

Content:
{
"error": {
"code": "UserError",
"severity": null,
"message": "ScaleSettings.MaxNodeCount and ScaleSettings.MinNodeCount must be specified for create compute.",
"messageFormat": null,
"messageParameters": null,
"referenceCode": null,
"detailsUri": null,
"target": null,
"details": [],
"innerError": null,
"debugInfo": null,
"additionalInfo": null
},
"correlation": {
"operation": "af0c4e14b071bf1ad124097cc8138c77",
"request": "c6a058345902b3bf"
},
"environment": "northcentralus",
"location": "northcentralus",
"time": "2022-11-18T16:11:32.7653884+00:00",
"componentName": "machinelearningcompute"
}

Headers:
Pragma: no-cache
x-ms-ratelimit-remaining-subscription-writes: REDACTED
Request-Context: REDACTED
x-ms-response-type: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
x-aml-cluster: REDACTED
x-request-time: REDACTED
x-ms-request-id: 670f5fe2-52f6-47a5-9e71-1177a8af2560
x-ms-correlation-request-id: REDACTED
x-ms-routing-request-id: REDACTED
Content-Length: 673
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Fri, 18 Nov 2022 16:11:32 GMT
Expires: -1

at Azure.ResourceManager.MachineLearning.ComputeRestOperations.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azure.ResourceManager.MachineLearning.MachineLearningComputeCollection.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.RemoteResourceManager.AzureResourceManager.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AzureAttach.NewComputeDataContext.d__23.MoveNext()
```
**Additional Context**

I am running Visual Studio in a Parallels VM on a MacBook Pro.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.