added no-HA API status error message to EMs page

pull/14353/head
trujillo-adam 2 years ago
parent 3935eca83a
commit acc184bd09

@ -232,7 +232,7 @@ Response:
## Cluster status ## Cluster status
The `/v1/status/cluster` API endpoint returns information about the cluster and member instances, such as health status and leadership. This endpoint is only supported when using CTS in [high availability mode](/docs/usage/run-ha). If you call the endpoint without configuring CTS for high availability, then CTS prints an error to the console. Refer to [Error Messages](/docs/nia/usage/errors-ref) for information about CTS error messages. The `/v1/status/cluster` API endpoint returns information about the cluster and member instances, such as health status and leadership. This endpoint is only supported when using CTS in [high availability mode](/docs/nia/usage/run-ha). If you call the endpoint without configuring CTS for high availability, then CTS prints an error to the console. Refer to [Error Messages](/docs/nia/usage/errors-ref) for information about CTS error messages.
| Method | Path | Response format | | Method | Path | Response format |
| ------ | ----------------- | ------------------ | | ------ | ----------------- | ------------------ |

@ -95,3 +95,23 @@ Identify and send the request to the leader CTS instance. You can identify the l
```shell-session ```shell-session
[INFO] ha: acquired leadership lock: id=<ID-OF-CTS-INSTANCE> [INFO] ha: acquired leadership lock: id=<ID-OF-CTS-INSTANCE>
``` ```
---
**Error**:
```json
{
"error": {
"message": "this endpoint is only available with high availability configured"
}
}
```
**Conditions**:
- CTS is not configured for [high availability](/docs/nia/usage/run-ha).
**Resolution**:
Configure CTS to run in [high availability mode](/docs/nia/usage/run-ha).
Loading…
Cancel
Save