0
votes

Background: Openstack VM(rocky) ubuntu16.04-64bit 16G RAM + 8Core CPU + 100GB disk

Done the following steps:

  • git clone -b 3.0.1 https://gerrit.acumos.org/r/system-integration (both in ubuntu and root)

  • bash system-integration/tools setup_docker.sh (in /home/ubuntu)

  • if [[ "$(id -nG "$USER"| grep docker)" == "" ]];then sudo usermod -aG docker $USER; fi

  • bash system-integration/tools/setup_k8s_stack.sh setup (in /home/ubuntu)

  • cp /etc/kubernetes/admin.conf /root/ (as root user)

  • export KUBECONFIG=/root/admin.conf (as root user)

  • bash system-integration/AIO/setup_prereqs.sh k8s acumos $USER generic 2>&1 | tee aio_prep.log (as root user in /home/ubuntu)

  • bash oneclick_deploy.sh 2>&1 | tee aio_deploy.log (as root user in /home/ubuntu)

Failed at last step Error: YAML parse error on lum-helm/templates/deployment.yaml: error converting YAML to JSON: yaml: line 36: mapping values are not allowed in this context.

1

1 Answers

1
votes

I got to know where exactly the error was in my deployment.yaml file it is as follows:

containers:

    - name: {{ .Chart.Name }}

      image: {{ .Values.image.repository }}:{{ .Values.imagetag }}

      imagePullPolicy: {{ .Values.image.pullPolicy }}

But in my values file imagetag is commented, I uncommented and it worked.