sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71 stars 64 forks source link

Issues while deploying baseline tools #295

Closed azaadshatru closed 10 months ago

azaadshatru commented 2 years ago

I am getting the following error while deploying baseline tools on ingress

TASK [baseline : Update INGRESS_NGINX_CONFIG] **** ok: [localhost] Tuesday 13 September 2022 08:18:51 +0000 (0:00:00.031) 0:00:12.618 *****

TASK [baseline : Deploy ingress-nginx] *** fatal: [localhost]: FAILED! => changed=false command: /usr/local/bin/helm --version=4.2.3 --repo=https://kubernetes.github.io/ingress-nginx upgrade -i --reset-values --wait --create-namespace -f=/tmp/tmp3o34uumq.yml ingress-nginx ingress-nginx msg: |- Failure when executing Helm command. Exited 1. stdout: Release "ingress-nginx" does not exist. Installing it now.

stderr: Error: timed out waiting for the condition

stderr: |- Error: timed out waiting for the condition stderr_lines: stdout: |- Release "ingress-nginx" does not exist. Installing it now. stdout_lines:

PLAY RECAP *** localhost : ok=33 changed=4 unreachable=0 failed=1 skipped=32 rescued=0 ignored=0

urgent help is greatly appreciated

azaadshatru commented 2 years ago

though these items are getting created when the above errors occurs.

jumpuser@prd-sasviya4-jump-vm:~/project/deploy/prd-sasviya4-aks/sasviya4az$ kubectl get pods -n ingress-nginx
NAME                                        READY   STATUS    RESTARTS   AGE
ingress-nginx-controller-74446d9695-ftvc8   1/1     Running   0          16s
jumpuser@prd-sasviya4-jump-vm:~/project/deploy/prd-sasviya4-aks/sasviya4az$ kubectl get svc -n ingress-nginx
NAME                                 TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
ingress-nginx-controller             LoadBalancer   10.0.139.205   <pending>     80:30418/TCP,443:30191/TCP   21s
ingress-nginx-controller-admission   ClusterIP      10.0.64.218    <none>        443/TCP                      21s
jumpuser@prd-sasviya4-jump-vm:~/project/deploy/prd-sasviya4-aks/sasviya4az$
jawilk23 commented 2 years ago

Did you happen to find a resolution to this error? I am running into this exact issue.

dhoucgitter commented 11 months ago

@azaadshatru, what V4_CFG_INGRESS_MODE are you trying to configure. if it's private, see this comment for a suggested setting and the annotation that it sets for you to create an internal LB.

dhoucgitter commented 10 months ago

Marking as stale/inactive. If there are additional questions, please open a new Github issue.

dhoucgitter commented 10 months ago

Closing #295 as completed.