Skip to content

Commit

Permalink
add troubleshooting flow chart document (#1688)
Browse files Browse the repository at this point in the history
* 📝 add troubleshooting flow chart document

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 🎨 update svg

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 🎨 update svg

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 📝 update troubleshooting docs

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 📝 fix grammar

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 📝 add troubleshooting README

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 🎨 update svg

Signed-off-by: vankichi <kyukawa315@gmail.com>

* 🎨 update svg

Signed-off-by: vankichi <kyukawa315@gmail.com>

* ♻️ change file name

Signed-off-by: vankichi <kyukawa315@gmail.com>
  • Loading branch information
vankichi authored Jun 14, 2022
1 parent f6caa92 commit 4d97509
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 36 deletions.
4 changes: 4 additions & 0 deletions assets/docs/troubleshooting/provisioning_flow_chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/docs/troubleshooting/troubleshooting.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2022-06-08T07:00:26.881Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36" etag="ag29IlhWKJK49O4gGGTI" version="19.0.1" type="device"><diagram id="C5RBs43oDa-KdzZeNtuy" name="main_chart">7V1bl5rIFv41vc6TvaBQhMe+xMycSbJyJpNk8jQLpVSmEQhgX/LrTxVQorVtLWgsUCoPaSmxLNn17fvedWXcrZ7fx060/Bi62L9Cmvt8ZdxfIYTsISJ/6MhLPqLrppaPLGLPLcbKgS/eL1wMstvWnouTnRvTMPRTL9odnIVBgGfpzpgTx+HT7m3z0N/91shZYDDwZeb4cPS756bLfNRC43L8N+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f8pcpXLcp2wDbJHpXeD2nEgb22ZjhOzpgNsQnchlHNIIRKnuk4e6/Bi6mN7xfw==</diagram></mxfile>
2 changes: 1 addition & 1 deletion docs/support/faq.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# FAQ

This page answers the common questions.
This page shows the answers for the common questions.

Please refer to [the troubleshooting page](../user-guides/troubleshooting.md) when you encounter operation problems.

Expand Down
16 changes: 16 additions & 0 deletions docs/troubleshooting/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Troubleshooting

When you have any problems with the Vald cluster, e.g., deployment, API, etc., this page will help resolve them.

## Flow chart

The [flow chart](../troubleshooting/flow-chart.md) explains the Vald cluster troubleshooting flow for users and operators of the Vald cluster.

It mainly targets the deployment view, but it will help when users get the error as an API response, and the error is not due to the client-side.

## Operation troubleshooting

The [operation troubleshooting](../troubleshooting/operation-troubleshooting.md) shows the popular troubleshooting for users of the Vald cluster.

It lists the prevalent troubles when getting a response from the Vald cluster.
It would be better to refer to the [API status](../api/status.md) page at the same time to understand the meaning of the error code.
58 changes: 58 additions & 0 deletions docs/troubleshooting/client-side.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Client Side Troubleshooting

This page introduces the popular troubleshooting for client side.

The [flow chart](../troubleshooting/chart.md) helps you find the root reason for your problem.

Additionally, if you encounter some errors when using API, the [API status code](../api/status.md) helps you, too.

## Insert Operation

### Vald Agent NGT crashed at the insert process.

Please check your container limit of memory at first.
Vald Agent requires memory for keeping indexing on memory.

```bash
kubectl describe statefulset vald-agent-ngt
```

If the limit of memory exists, please remove it or update the value to more enormous.

## Search Operation

### Vald returns no search result.

There are two possible reasons.

1. Indexing has not finished in Vald Agent

Vald will search the nearest vectors of query from the indexing in Vald Agent.
If the indexing process is running, Vald Agent returns no search result.

It will resolve when completed indexing instructions, like `CreateIndex`.

1. Too short timeout for searching

When the search timeout configuration is too short, Vald LB Gateway stops the searching process before getting the search result from Vald Agent.

In the sense of search operation, you can modify search timeout by [payload config](../api/search.md).

<div class="notice">
It is easy to find out which problem occurs by inspections the log of each Pod, like <a href="https://github.com/wercker/stern">stern</a>.
</div>

## Others

### Vald Agent NGT crashed when initContainer.

Vald Agent NGT requires an AVX2 processor for running.
Please check your CPU information.

---

## Related Document

- [Provisioning Troubleshooting](../troubleshooting/provisioning.md)
- [API Status](../api/status.md)
- [FAQ](../support/faq.md)
16 changes: 16 additions & 0 deletions docs/troubleshooting/provisioning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Provisioning Troubleshooting

This page shows the troubleshooting for the provisioning the Vald cluster.

If you encounter the trouble, please confirm the below chart and try to fix it.

<img src="../../assets/docs/troubleshooting/provisioning_flow_chart.svg" />

If any components output the `INTERNAL` error log, let us know the detail.

---

## Related Document

- [Client Side Troubleshooting](../troubleshooting/client-side.md)

35 changes: 0 additions & 35 deletions docs/user-guides/troubleshooting.md

This file was deleted.

0 comments on commit 4d97509

Please sign in to comment.