You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- When specifying credentials for a base image registry, you must specify only one set of credentials.
303
-
- The following authentication types are currently supported:
304
-
- Basic (username/password)
305
-
- Registry identity (clientId/resourceId)
306
-
- If you're using workspace connections to specify credentials, [delete one of the connections](https://aka.ms/azureml/environment/delete-connection-v1)
307
-
- If you've specified credentials directly in your environment definition, choose either username/password or registry identity
308
-
to use, and set the other credentials you won't use to `null`
309
-
- Specifying credentials in this way is deprecated. It's recommended that you use workspace connections. See
310
-
*secrets in base image registry* below
343
+
<!--issueDescription-->
344
+
345
+
**Potential causes:**
346
+
347
+
* You've specified more than one set of credentials for your base image registry
348
+
349
+
**Affected areas (symptoms):**
350
+
* Failure in registering your environment
351
+
<!--/issueDescription-->
352
+
353
+
**Troubleshooting steps**
354
+
355
+
*Applies to: Python SDK azureml V1*
356
+
357
+
If you're using workspace connections, view the connections you have set, and delete whichever one(s) you don't want to use
358
+
359
+
```
360
+
from azureml.core import Workspace
361
+
ws = Workspace.from_config()
362
+
ws.list_connections()
363
+
ws.delete_connection("myConnection2")
364
+
```
365
+
366
+
If you've specified credentials in your environment definition, choose one set of credentials to use, and set all others to null
- If you specify a base image in your `DockerSection`, you must specify the registry address from which the image will be pulled,
314
-
and credentials to authenticate to the registry, if needed.
315
-
- Historically, credentials have been specified in the environment definition. However, this method isn't secure and should be
316
-
avoided.
317
-
- Users should set credentials using workspace connections. For instructions, see [set_connection](https://aka.ms/azureml/environment/set-connection-v1)
382
+
<!--issueDescription-->
383
+
384
+
**Potential causes:**
385
+
386
+
* You've specified credentials in your environment definition
387
+
388
+
**Affected areas (symptoms):**
389
+
* Failure in registering your environment
390
+
<!--/issueDescription-->
391
+
392
+
**Troubleshooting steps**
393
+
394
+
Specifying credentials in your environment definition is deprecated. Delete credentials from your environment definition and use workspace connections instead.
- The following `DockerSection` attributes are deprecated:
321
-
-`enabled`
322
-
-`arguments`
323
-
-`shared_volumes`
324
-
-`gpu_support`
325
-
- Azure Machine Learning now automatically detects and uses NVIDIA Docker extension when available.
326
-
-`smh_size`
327
-
- Use [DockerConfiguration](https://aka.ms/azureml/environment/docker-configuration-class) instead
328
-
- See [DockerSection deprecated variables](https://aka.ms/azureml/environment/docker-section-class)
420
+
<!--issueDescription-->
421
+
422
+
**Potential causes:**
423
+
424
+
* You've specified Docker attributes in your environment definition that are now deprecated
425
+
* The following are deprecated:
426
+
* `enabled`
427
+
* `arguments`
428
+
* `shared_volumes`
429
+
* `gpu_support`
430
+
* AzureML now automatically detects and uses NVIDIA Docker extension when available
431
+
* `smh_size`
432
+
433
+
**Affected areas (symptoms):**
434
+
* Failure in registering your environment
435
+
<!--/issueDescription-->
436
+
437
+
**Troubleshooting steps**
438
+
439
+
*Applies to: Python SDK azureml V1*
440
+
441
+
Instead of specifying these attributes in the `DockerSection` of your environment definition, use [DockerConfiguration](https://aka.ms/azureml/environment/docker-configuration-class)
442
+
443
+
**Resources**
444
+
* See `DockerSection`[deprecated variables](https://aka.ms/azureml/environment/docker-section-class)
329
445
330
446
### Dockerfile length over limit
331
447
- The specified Dockerfile can't exceed the maximum Dockerfile size of 100 KB
0 commit comments