hp: update documentation #115 - #226
Conversation
| **Common Causes** | ||
|
|
||
| - Do not assume that setting | ||
| `AZURE_KEYVAULT_NAME=CFA-Predict` |
There was a problem hiding this comment.
we don't want to show this value. we can refer them here: https://github.com/cdcent/cfa-cloudops-example
|
|
||
| **Best Practice** | ||
|
|
||
| Use the explicit keyvault argument. Initialize the client by explicitly specifying the Key Vault name. |
There was a problem hiding this comment.
change keyvault to Key Vault
|
|
||
| `from cloudops import CloudClient` | ||
|
|
||
| `cc = CloudClient(keyvault="CFA-Predict")` |
There was a problem hiding this comment.
remove the key vault
|
|
||
| This is the preferred approach because it avoids ambiguity about whether environment variables are being read correctly. | ||
|
|
||
| Additionally: |
There was a problem hiding this comment.
This "Additionally" seems out of place. I feel like a troubleshooting will just walk through common scenarios one after the other
|
|
||
| **Common Causes** | ||
|
|
||
| The Azure Batch pool odes not exit or contains no available compute nodes. |
There was a problem hiding this comment.
change odes to nodes
|
|
||
| Before creating a job: | ||
| - Verify the pool exists. | ||
| - Verify the pool is active. |
There was a problem hiding this comment.
users don't need to verify the pool is active or container compute nodes. The biggest things are that the pool exists and the job is not marked complete
|
|
||
| | **Issue** | **Most Likely Cause** | **Recommended Action** | | ||
| | ------------------------------------------ | ---------------------------------- | ----------------------------------------- | | ||
| | 1. `CloudClient()` initialization fails with Azure Batch account error | Cloudops could not resolve Azure Batch configuration from the environment | Use `CloudClient(keyvault="CFA-Predict")` | |
| | **Issue** | **Most Likely Cause** | **Recommended Action** | | ||
| | ------------------------------------------ | ---------------------------------- | ----------------------------------------- | | ||
| | 1. `CloudClient()` initialization fails with Azure Batch account error | Cloudops could not resolve Azure Batch configuration from the environment | Use `CloudClient(keyvault="CFA-Predict")` | | ||
| | 2. Container image push fails | Placeholder or invalid Azure Container Registry name | Use your assigned ACR name, such as `cfprdbatchcr` if assigned | |
HPSLU
left a comment
There was a problem hiding this comment.
contents of this file added to https://github.com/CDCgov/cfa-cloudops/blob/main/docs/troubleshooting.md
created new troubleshooting documentation for CFA-cloudops.