Skip to content

Commit 2fd9027

Browse files
Merge pull request #275115 from cloga/lochen/credential-less
add credential-less
2 parents 3cc09e6 + 3df2f08 commit 2fd9027

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

articles/machine-learning/prompt-flow/tools-reference/troubleshoot-guidance.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ There are possible reasons for this issue:
6969

7070
:::image type="content" source="../media/faq/storage-account-networking-firewall.png" alt-text="Screenshot that shows firewall setting on storage account." lightbox = "../media/faq/storage-account-networking-firewall.png":::
7171

72-
- There are some cases, the account key in data store is out of sync with the storage account, you can try to update the account key in data store detail page to fix this.
72+
- There are some cases. The account key in data store is out of sync with the storage account, you can try to update the account key in data store detail page to fix this.
7373

7474
:::image type="content" source="../media/faq/datastore-with-wrong-account-key.png" alt-text="Screenshot that shows datastore with wrong account key." lightbox = "../media/faq/datastore-with-wrong-account-key.png":::
7575

@@ -185,17 +185,17 @@ Follow these steps to find Python packages installed in compute instance runtime
185185

186186
#### CI (Compute instance) runtime start failure using custom environment
187187

188-
To use promptflow as runtime on CI, you need use the base image provide by promptflow. If you want to add extra packages to the base image, you need follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create a new environment. Then use it to create CI runtime.
188+
To use prompt flow as runtime on CI, you need to use the base image provide by prompt flow. If you want to add extra packages to the base image, you need to follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create a new environment. Then use it to create CI runtime.
189189

190-
If you got `UserError: FlowRuntime on compute instance is not ready`, you need login into to terminal of CI and run `journalctl -u c3-progenitor.serivice` to check the logs.
190+
If you got `UserError: FlowRuntime on compute instance is not ready`, you need sign-in into to terminal of CI and run `journalctl -u c3-progenitor.serivice` to check the logs.
191191

192192
#### Automatic runtime start failure with requirements.txt or custom base image
193193

194-
Automatic runtime support to use `requirements.txt` or custom base image in `flow.dag.yaml` to customize the image. We would recommend you to use `requirements.txt` for common case, which will use `pip install -r requirements.txt` to install the packages. If you have dependency more then python packages, you need follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create build a new image base on top of promptflow base image. Then use it in `flow.dag.yaml`. Learn more about [Customize environment with Docker context for runtime](../how-to-create-manage-runtime.md#update-an-automatic-runtime-preview-on-a-flow-page).
194+
Automatic runtime support to use `requirements.txt` or custom base image in `flow.dag.yaml` to customize the image. We would recommend you to use `requirements.txt` for common case, which will use `pip install -r requirements.txt` to install the packages. If you have dependency more then python packages, you need to follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create build a new image base on top of prompt flow base image. Then use it in `flow.dag.yaml`. Learn more about [Customize environment with Docker context for runtime](../how-to-create-manage-runtime.md#update-an-automatic-runtime-preview-on-a-flow-page).
195195

196-
- You can not use arbitrary base image to create runtime, you need use the base image provide by promptflow.
196+
- You cannot use arbitrary base image to create runtime, you need to use the base image provide by prompt flow.
197197
- Don't pin the version of `promptflow` and `promptflow-tools` in `requirements.txt`, because we already include them in the runtime base image. Using old version of `promptflow` and `promptflow-tools` may cause unexpected behavior.
198-
=======
198+
199199
## Flow run related issues
200200

201201
### How to find the raw inputs and outputs of in LLM tool for further investigation?
@@ -213,3 +213,19 @@ In prompt flow, on flow page with successful run and run detail page, you can fi
213213
You may encounter 409 error from Azure OpenAI, it means you have reached the rate limit of Azure OpenAI. You can check the error message in the output section of LLM node. Learn more about [Azure OpenAI rate limit](../../../ai-services/openai/quotas-limits.md).
214214

215215
:::image type="content" source="../media/faq/429-rate-limit.png" alt-text="Screenshot that shows 429 rate limit error from Azure OpenAI." lightbox = "../media/faq/429-rate-limit.png":::
216+
217+
## Authentication and identity related issues
218+
219+
### How do I use credential-less data store in prompt flow?
220+
221+
You can follow [Identity-based data authentication](../../how-to-administrate-data-authentication.md#identity-based-data-authentication) this part to make your data store credential-less.
222+
223+
To use credential-less data store in prompt flow, you need to grand enough permissions to user identity or managed identity to access the data store.
224+
- If you're using user identity this default option in prompt flow, you need to make sure the user identity has following role on the storage account:
225+
- `Storage Blob Data Contributor` on the storage account, at least need read/write (better have delete) permission.
226+
- `Storage File Data Privileged Contributor` on the storage account, at least need read/write (better have delete) permission
227+
- If you're using user assigned managed identity, you need to make sure the managed identity has following role on the storage account:
228+
- `Storage Blob Data Contributor` on the storage account, at least need read/write (better have delete) permission.
229+
- `Storage File Data Privileged Contributor` on the storage account, at least need read/write (better have delete) permission
230+
- Meanwhile, you need to assign user identity `Storage Blob Data Read` role to storage account, if your want use prompt flow to authoring and test flow.
231+

0 commit comments

Comments
 (0)