sassoftware / sas-container-recipes

A collection of recipes and other resources for building containers that include SAS Viya software.
https://www.sas.com
Apache License 2.0
89 stars 42 forks source link

viya vault and pgpool service were down in a fresh deployment to GKE #28

Open sandeepgrande opened 5 years ago

sandeepgrande commented 5 years ago

Hi Team ,

We have built and deployed SAS Viya Full on GKE. when we checked the status , we see vault and pgpool were down and there are no logs for vault under /var/log/sas/viya. It is the same situation on pgpool pod.

Can you please help.

bash-4.2$ /etc/init.d/sas-viya-all-services status Getting service info from consul... Service Status Host Port PID sas-viya-consul-default up N/A N/A 537 sas-viya-vault-default down N/A N/A N/A sas-viya-alert-track-default up 10.32.0.35 0 767 sas-viya-ops-agent-default up 10.32.0.35 0 53704 sas-viya-watch-log-default up 10.32.0.35 0 1107 sas-viya-backup-agent-default up 10.32.0.35 35973 1050

Also , there were some extra characters at the file /opt/sas/viya/home/lib/envesntl/sas-init-functions which is causing error while checking the status of serivces.

Please help

asbisen commented 5 years ago
kubectl -n sas-viya exec -it sas-viya-consul-0 -- /etc/init.d/sas-viya-all-services status
Getting service info from consul...
  Service                                            Status     Host               Port     PID
  sas-viya-consul-default                            up         N/A                 N/A     534
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
  sas-viya-vault-default                             down       N/A                 N/A     N/A
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
  sas-viya-alert-track-default                       up         10.36.4.126           0     762
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
  sas-viya-ops-agent-default                         up         10.36.4.126           0    8853
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
  sas-viya-watch-log-default                         up         10.36.4.126           0    1124
/opt/sas/viya/home/lib/envesntl/sas-init-functions: line 277: status: command not found
  sas-viya-backup-agent-default                      up         10.36.4.126       37179    1064