sassoftware / viya4-iac-gcp

This project contains Terraform configuration files to provision infrastructure components required to deploy SAS Viya platform products on Google Cloud
Apache License 2.0
21 stars 17 forks source link

cloud-init scripts on GCP are not working correctly for /volumes/pvs directory #89

Closed jkmin96 closed 3 years ago

jkmin96 commented 3 years ago

I created a cluster using docker-dope.cyber.sas.com/viya4-iac-gcp:1.0.0. I got a problem When I tried to install baseline. I keep getting this error:

TASK [nfs-subdir-external-provisioner : Deploy nfs-subdir-external-provisioner] *** fatal: [localhost]: FAILED! => {"changed": false, "command": "/usr/local/bin/helm --kubeconfig /config/kubeconfig --namespace=nfs-client --version=4.0.8 --repo=https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/ upgrade -i --reset-values --wait --create-namespace -f=/tmp/tmpj9av9ozd.yml nfs-subdir-external-provisioner nfs-subdir-external-provisioner", "msg": "Failure when executing Helm command. Exited 1.\nstdout: Release \"nfs-subdir-external-provisioner\" does not exist. Installing it now.\n\nstderr: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /config/kubeconfig\nWARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /config/kubeconfig\nError: timed out waiting for the condition\n", "stderr": "WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /config/kubeconfig\nWARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /config/kubeconfig\nError: timed out waiting for the condition\n", "stderr_lines": ["WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /config/kubeconfig", "WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /config/kubeconfig", "Error: timed out waiting for the condition"], "stdout": "Release \"nfs-subdir-external-provisioner\" does not exist. Installing it now.\n", "stdout_lines": ["Release \"nfs-subdir-external-provisioner\" does not exist. Installing it now."]}

thpang commented 3 years ago

Current issue is with the upgrading of the packages. The google-guest-agent causes issues and stops the rest of the cloud-init from executing. This package is not part of what we control, so trying to figure out what/how to stop or update correctly.