From 7cb9bfdfa9b2eedb3e0d80cab7884973e68e5316 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 30 Mar 2022 16:05:00 -0400 Subject: [PATCH] website(api-gateway): add common errors page (#12643) * Adding common errors page for API Gateway * website(api-gateway): add missing CRDs common error message * Update website/content/docs/api-gateway/common-errors.mdx Co-authored-by: Nathan Coleman * Update website/content/docs/api-gateway/common-errors.mdx Co-authored-by: Nathan Coleman * Update website/content/docs/api-gateway/common-errors.mdx Co-authored-by: Nathan Coleman * Update website/content/docs/api-gateway/common-errors.mdx * Additional page editing instructions and formating * Update website/content/docs/api-gateway/common-errors.mdx * Update website/content/docs/api-gateway/common-errors.mdx * Update website/content/docs/api-gateway/common-errors.mdx * Update website/content/docs/api-gateway/common-errors.mdx * Update website/content/docs/api-gateway/common-errors.mdx Co-authored-by: mrspanishviking * Apply suggestions from code review Co-authored-by: Jeff-Apple <79924108+Jeff-Apple@users.noreply.github.com> Co-authored-by: Nathan Coleman Co-authored-by: mrspanishviking --- .../docs/api-gateway/common-errors.mdx | 67 +++++++++++++++++++ website/data/docs-nav-data.json | 4 ++ 2 files changed, 71 insertions(+) create mode 100644 website/content/docs/api-gateway/common-errors.mdx diff --git a/website/content/docs/api-gateway/common-errors.mdx b/website/content/docs/api-gateway/common-errors.mdx new file mode 100644 index 0000000000..d3ba51dcaa --- /dev/null +++ b/website/content/docs/api-gateway/common-errors.mdx @@ -0,0 +1,67 @@ +--- +layout: docs +page_title: Common Error Messages +--- + +# Common Error Messages + +Some of the errors messages commonly encountered during installation and operations of Consul API Gateway are listed below, along with suggested methods for resolving them. + +If the error message is not listed on this page, it may be listed on the main [Consul Common errors][consul-common-errors] page. If the error message is not listed on that page either, please consider following our general [Troubleshooting Guide][troubleshooting] or reach out to us in [Discuss](https://discuss.hashicorp.com/). + + + +### Helm installation failed: "no matches for kind" + +``` +Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "GatewayClass" in version "gateway.networking.k8s.io/v1alpha2", unable to recognize "": no matches for kind "GatewayClassConfig" in version "api-gateway.consul.hashicorp.com/v1alpha1"] +``` +**Conditions:** +When this error occurs during the process of installing Consul API Gateway, it is usually caused by not having the required CRD files installed in Kubernetes prior to installing Consul API Gateway. + +**Impact:** +The installation process will typically fail after this error message is generated + +**Recommended Action:** +Install the required CRDs by using the command in Step 1 of the [Consul API Gateway installation instructions][install-instructions] and then retry installing Consul API Gateway. + + + + + +[consul-common-errors]: /docs/troubleshoot/common-errors +[troubleshooting]: https://learn.hashicorp.com/consul/day-2-operations/advanced-operations/troubleshooting +[install-instructions]: /docs/api-gateway/api-gateway-usage#installation \ No newline at end of file diff --git a/website/data/docs-nav-data.json b/website/data/docs-nav-data.json index 2f5934a129..f6fc6bbd18 100644 --- a/website/data/docs-nav-data.json +++ b/website/data/docs-nav-data.json @@ -388,6 +388,10 @@ { "title": "Technical Specifications", "path": "api-gateway/tech-specs" + }, + { + "title": "Common Errors", + "path": "api-gateway/common-errors" } ] },