简体   繁体   中英

Error trying to install Acumos Clio using AIO

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM