Skip to content

Commit 48fac9c

Browse files
authored
Update how-to-troubleshoot-environments.md
1 parent 9dd4952 commit 48fac9c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

articles/machine-learning/how-to-troubleshoot-environments.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ This issue can happen when the name of your custom environment uses terms reserv
136136

137137
### *Docker issues*
138138

139-
*Applies to: Azure CLI & Python SDK v1 (Deprecated)*
139+
*Applies to: Azure CLI & Python SDK v1*
140140

141141
To create a new environment, you must use one of the following approaches (see [DockerSection](https://aka.ms/azureml/environment/environment-docker-section)):
142142
- Base image
@@ -165,7 +165,7 @@ To create a new environment, you must use one of the following approaches:
165165
- [Sample here](https://aka.ms/azureml/environment/create-env-conda-spec-v2)
166166

167167
### Missing Docker definition
168-
*Applies to: Python SDK v1 (Deprecated)*
168+
*Applies to: Python SDK v1*
169169
<!--issueDescription-->
170170
This issue can happen when your environment definition is missing a `DockerSection.` This section configures settings related to the final Docker image built from your environment specification.
171171

@@ -200,7 +200,7 @@ myenv.docker.base_dockerfile = dockerfile
200200

201201
**Potential causes:**
202202

203-
*Applies to: Python SDK v1 (Deprecated)*
203+
*Applies to: Python SDK v1*
204204

205205
You have more than one of these Docker options specified in your environment definition
206206
- `base_image`
@@ -223,7 +223,7 @@ You have more than one of these Docker options specified in your environment def
223223

224224
Choose which Docker option you'd like to use to build your environment. Then set all other specified options to None.
225225

226-
*Applies to: Python SDK v1 (Deprecated)*
226+
*Applies to: Python SDK v1*
227227

228228
```
229229
from azureml.core import Environment
@@ -244,7 +244,7 @@ myenv.docker.base_image = None
244244

245245
**Potential causes:**
246246

247-
*Applies to: Python SDK v1 (Deprecated)*
247+
*Applies to: Python SDK v1*
248248

249249
You didn't specify one of the following options in your environment definition
250250
- `base_image`
@@ -267,7 +267,7 @@ You didn't specify one of the following options in your environment definition
267267

268268
Choose which Docker option you'd like to use to build your environment, then populate that option in your environment definition.
269269

270-
*Applies to: Python SDK v1 (Deprecated)*
270+
*Applies to: Python SDK v1*
271271

272272
```
273273
from azureml.core import Environment
@@ -303,7 +303,7 @@ ml_client.environments.create_or_update(env_docker_image)
303303

304304
**Troubleshooting steps**
305305

306-
*Applies to: Python SDK v1 (Deprecated)*
306+
*Applies to: Python SDK v1*
307307

308308
Add the missing username or password to your environment definition to fix the issue
309309

@@ -328,7 +328,7 @@ az ml connection create --file connection.yml --resource-group my-resource-group
328328
```
329329

330330
> [!NOTE]
331-
> * Providing credentials in your environment definition is deprecated. Use workspace connections instead.
331+
> * Providing credentials in your environment definition is no longer supported. Use workspace connections instead.
332332
333333
**Resources**
334334
* [Python SDK v1 workspace connections](https://aka.ms/azureml/environment/set-connection-v1)
@@ -348,7 +348,7 @@ az ml connection create --file connection.yml --resource-group my-resource-group
348348

349349
**Troubleshooting steps**
350350

351-
*Applies to: Python SDK v1 (Deprecated)*
351+
*Applies to: Python SDK v1*
352352

353353
If you're using workspace connections, view the connections you have set, and delete whichever one(s) you don't want to use
354354

@@ -366,7 +366,7 @@ myEnv.docker.base_image_registry.registry_identity = None
366366
```
367367

368368
> [!NOTE]
369-
> * Providing credentials in your environment definition is deprecated. Use workspace connections instead.
369+
> * Providing credentials in your environment definition is no longer supported. Use workspace connections instead.
370370
371371
**Resources**
372372
* [Delete a workspace connection v1](https://aka.ms/azureml/environment/delete-connection-v1)
@@ -387,9 +387,9 @@ myEnv.docker.base_image_registry.registry_identity = None
387387

388388
**Troubleshooting steps**
389389

390-
Specifying credentials in your environment definition is deprecated. Delete credentials from your environment definition and use workspace connections instead.
390+
Specifying credentials in your environment definition is no longer supported. Delete credentials from your environment definition and use workspace connections instead.
391391

392-
*Applies to: Python SDK v1 (Deprecated)*
392+
*Applies to: Python SDK v1*
393393

394394
Set a workspace connection on your workspace
395395

@@ -432,7 +432,7 @@ az ml connection create --file connection.yml --resource-group my-resource-group
432432

433433
**Troubleshooting steps**
434434

435-
*Applies to: Python SDK v1 (Deprecated)*
435+
*Applies to: Python SDK v1*
436436

437437
Instead of specifying these attributes in the `DockerSection` of your environment definition, use [DockerConfiguration](https://aka.ms/azureml/environment/docker-configuration-class)
438438

@@ -467,7 +467,7 @@ Shorten your Dockerfile to get it under this limit
467467

468468
**Troubleshooting steps**
469469

470-
*Applies to: Python SDK v1 (Deprecated)*
470+
*Applies to: Python SDK v1*
471471

472472
Include a path in the `build_context` of your [DockerSection](https://aka.ms/azureml/environment/docker-section-class)
473473
* See [DockerBuildContext Class](/python/api/azureml-core/azureml.core.environment.dockerbuildcontext)
@@ -494,7 +494,7 @@ This issue can happen when AzureML fails to find your Dockerfile. As a default,
494494

495495
**Troubleshooting steps**
496496

497-
*Applies to: Python SDK v1 (Deprecated)*
497+
*Applies to: Python SDK v1*
498498

499499
In the `build_context` of your [DockerSection](https://aka.ms/azureml/environment/docker-section-class), include a `dockerfile_path`
500500
* See [DockerBuildContext Class](/python/api/azureml-core/azureml.core.environment.dockerbuildcontext)
@@ -525,7 +525,7 @@ This issue can happen when you've specified properties in your environment defin
525525

526526
**Troubleshooting steps**
527527

528-
*Applies to: Python SDK v1 (Deprecated)*
528+
*Applies to: Python SDK v1*
529529

530530
If any of the above-listed properties are specified in your environment definition, remove them
531531
* If you're using a Docker build context and want to specify conda dependencies, your conda specification should reside in your build context directory

0 commit comments

Comments
 (0)