Skip to content

Commit a75a72b

Browse files
committed
its actually not bad
1 parent 14e1a25 commit a75a72b

File tree

1 file changed

+78
-56
lines changed

1 file changed

+78
-56
lines changed

src/pages/docs/argo-cd/trouble-shooting.md

Lines changed: 78 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -13,75 +13,97 @@ Minor issues in your configuration can prevent Octopus from integrating effectiv
1313

1414
The most common issues are captured here along with the steps to be followed to reach a resolution.
1515

16-
1716
## Errors During Gateway Installation
17+
1818
### Gateway fails to install
1919

20-
* Failure Symptoms
21-
* Helm install dialog stuck in progressing (Waiting for <name> to establish a connection)
22-
* Helm command halted showing chart pulled for >= 5 minutes
23-
* In a Kubernetes viewer (e.g. K9s), the gateway pod logs state "Failed to register ArgoCD Gateway with Octopus Serer"
24-
* Underlying issue
25-
* Gateway cannot reach Octopus Server at the url specified in `registration.octopus.serverApiUrl` using the token specified in `registration.octopus.serverAccessToken`
26-
* Url may be incorrect, or not reachable from within your cluster
27-
* Note: local clusters require specialist hostnames to reach your host computer (eg. host.minikube.internal)
28-
* Token may be expired
29-
* Resolution
30-
* Confirm serverUrl is set correctly, and is resolvable/reachable from with your cluster
31-
* Re-execute the installation process, ensuring to complete within lifetime of supplied bearer token
32-
33-
* Failure Symptoms
34-
* Install Argo CD Gateway dialog states:
35-
* "established a connection" was successful
36-
* Health check failed
37-
* The Gateway pod is in a CrashLoopBackoff
38-
* In a Kubernetes viewer (e.g. K9s), the gateway pod logs state "*error validating connection to Argo CD*"
39-
* In Octopus, the healthcheck task log contains: "The Argo CD Gateway has not established a gRPC connection to Octopus Server"
40-
* Underlying Issue
41-
* Unable to create a connection to your Argo CD instance
42-
* Resolution
43-
* Confirm the URL specified for the `gateway.argocd.serverGrpcUrl` matches the expected grpc endpoint of your argo instance (`<servicename>.<namespace>.svc.cluster.local`)
44-
* If your Argo CD instance is using a self-signed certificate ensure `gateway.argocd.insecure` is set to `true`
45-
* If your Argo CD instance is running in "insecure" mode, ensure `gateway.argocd.plaintext` is set to `true` (false otherwise)
46-
* In Octopus, delete the registered Argo CD Gateway, follow all required helm deletion commands, and reinstall
47-
48-
20+
- Failure Symptoms
21+
- Helm install dialog stuck in progressing (Waiting for <name> to establish a connection)
22+
- Helm command halted showing chart pulled for >= 5 minutes
23+
- In a Kubernetes viewer (e.g. K9s), the gateway pod logs state "Failed to register ArgoCD Gateway with Octopus Serer"
24+
- Underlying issue
25+
- Gateway cannot reach Octopus Server at the url specified in `registration.octopus.serverApiUrl` using the token specified in `registration.octopus.serverAccessToken`
26+
- Url may be incorrect, or not reachable from within your cluster
27+
- Note: local clusters require specialist hostnames to reach your host computer (eg. host.minikube.internal)
28+
- Token may be expired
29+
- Resolution
30+
- Confirm serverUrl is set correctly, and is resolvable/reachable from with your cluster
31+
- Re-execute the installation process, ensuring to complete within lifetime of supplied bearer token
32+
33+
- Failure Symptoms
34+
- Install Argo CD Gateway dialog states:
35+
- "established a connection" was successful
36+
- Health check failed
37+
- The Gateway pod is in a CrashLoopBackoff
38+
- In a Kubernetes viewer (e.g. K9s), the gateway pod logs state "*error validating connection to Argo CD*"
39+
- In Octopus, the healthcheck task log contains: "The Argo CD Gateway has not established a gRPC connection to Octopus Server"
40+
- Underlying Issue
41+
- Unable to create a connection to your Argo CD instance
42+
- Resolution
43+
- Confirm the URL specified for the `gateway.argocd.serverGrpcUrl` matches the expected grpc endpoint of your argo instance (`<servicename>.<namespace>.svc.cluster.local`)
44+
- If your Argo CD instance is using a self-signed certificate ensure `gateway.argocd.insecure` is set to `true`
45+
- If your Argo CD instance is running in "insecure" mode, ensure `gateway.argocd.plaintext` is set to `true` (false otherwise)
46+
- In Octopus, delete the registered Argo CD Gateway, follow all required helm deletion commands, and reinstall
47+
4948
## Errors During Application/Project mapping
5049

51-
* Failure Symptoms
52-
* No applications are listed on the Argo CD Instance --> Applications page, even when applications are visible in the Argo Web UI
53-
* Underlying Issue
54-
* Argo CD Token used by the gateway has insufficient permissions to access applications resources in Argo
55-
* Resolution
56-
* Create required RBAC entries for the account being used by Octopus as per [this](/docs/argo-cd/instances/argo-user).
50+
- Failure Symptoms
51+
- No applications are listed on the Argo CD Instance --> Applications page, even when applications are visible in the Argo Web UI
52+
- Underlying Issue
53+
- Argo CD Token used by the gateway has insufficient permissions to access applications resources in Argo
54+
- Resolution
55+
- Create required RBAC entries for the account being used by Octopus as per [this](/docs/argo-cd/instances/argo-user).
5756

5857
## Errors During Step Configuration
5958

60-
* Failure Symptom
61-
* In Octopus, Argo Application in Step shows "You don't have any Aego CD instance to preview yet"
62-
* Underlying Issue
63-
* No Argo CD instances are registered in the current space
64-
* Resolution
65-
* Navigate to Infrastructure --> Argo CD Instances and confirm an instance is visible in this space
66-
* If not - add a new Argo CD instance using the installation wizard
59+
- Failure Symptom
60+
- In Octopus, Argo Application in Step shows "You don't have any Aego CD instance to preview yet"
61+
- Underlying Issue
62+
- No Argo CD instances are registered in the current space
63+
- Resolution
64+
- Navigate to Infrastructure --> Argo CD Instances and confirm an instance is visible in this space
65+
- If not - add a new Argo CD instance using the installation wizard
6766

6867
## Errors During Step Execution
6968

70-
* Failure Symptom
71-
* Passes with warning - 0 apps updated.
72-
* Underlying Issue
73-
* Somthing
74-
* Resolution
75-
* Confirm annotations on the target Argo Application match
69+
- Failure Symptom
70+
- Deployment Passes with warnings
71+
- Octopus deployment task log contains `No annotated Argo CD applications could be found for this deployment.`
72+
- Underlying Issue
73+
- No applications have been annotated for this project/environment/tenant deployment
74+
- Resolution
75+
- Confirm/update annotations on the target Argo Application match the deployments Project/Environment/Tenant and update as appropriate
76+
77+
- Failure Symptom
78+
- Deployment Fails
79+
- Octopus Deployment task log contains "Could not find a Git Credential associated with <url>"
80+
- Underlying Issue
81+
- One of the Argo CD Application Sources to be updated references a git repository for which Octopus has no Git Credential
82+
- Resolution
83+
- Add/Update a Git Credential to Octopus, specifying a repository-allowlist which includes the url specified in the error message.
7684

85+
- Failure Symptom
86+
- Deployment Fails
87+
- Octopus deployment task log contains `Failed to clone Git repository at <url>`
88+
- Underlying Issue(s)
89+
- The mapped Argo Application source is not a git repository (eg helm-repository or OCI)
90+
- The provided git credentials for the url have insufficient privileges
91+
- Resolution
92+
- Octopus cannot update charts sourced from a help repository or OCI feed - contact support to determine way forward.
93+
- Ensure the associated git credential has appropriate permissions
7794

78-
* Failure Symptom
79-
*
95+
- Failure Symptom
96+
- Deployment Fails
97+
- Octopus deployment task log contains "http status code: 403" (raised from libgit2sharp)
98+
- Underlying Issue
99+
- Octopus Git credential associated with mapped Argo CD Application Source has insufficient privileges to read/write the git repository
100+
- Resolution
101+
- Create a new credential in your git provider, store it in an Octopus Git Credential, and ensure the "Allow List" includes your Application Source repository
80102

81103
## Errors During Live Object View
82104

83-
* Failure Symptom
84-
* Live Status Panel is not visible on the project/space dashboard
85-
* Underlying Issue
86-
* Live Status is not enabled
87-
* Enable Live Status via the "live Status" toggle switch at the top of the dashboard.
105+
- Failure Symptom
106+
- Live Status Panel is not visible on the project/space dashboard
107+
- Underlying Issue
108+
- Live Status is not enabled
109+
- Enable Live Status via the "live Status" toggle switch at the top of the dashboard.

0 commit comments

Comments
 (0)