Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-3077

mariadb-init chart compilation fails in LocalDB option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • Kohn Release
    • charts
    • None
    • Hide

      If the option 

      localCluster: true

       is used, e.g:

      global:
        nodePortPrefix: 302
        mariadbGalera: &mariadbGalera
          #This flag allows SO to instantiate its own mariadb-galera cluster
          localCluster: true
          service: mariadb-galera
          internalPort: 3306
          nameOverride: mariadb-galera 

      the helm compilation fails with the error, e.g.:

      Release "onap-dmaap" does not exist. Installing it now.
      coalesce.go:223: warning: destination for mariadb-galera.readinessCheck.wait_for is a table. Ignoring non-table value ([{{ include "common.name" . }}])
      Error: template: dmaap/charts/dmaap-dr-prov/charts/mariadb-init/templates/job.yaml:68:20: executing "dmaap/charts/dmaap-dr-prov/charts/mariadb-init/templates/job.yaml" at <include "common.mariadbService" .>: error calling include: template: dmaap/charts/common/templates/_mariadb.tpl:66:8: executing "common.mariadbService" at <index .Values "mariadb-galera" "nameOverride">: error calling index: index of nil pointer 

      Reason ins an incomplete values.yaml in common/mariadb-init

      Show
      If the option  localCluster: true  is used, e.g: global: nodePortPrefix: 302 mariadbGalera: &mariadbGalera #This flag allows SO to instantiate its own mariadb-galera cluster localCluster: true service: mariadb-galera internalPort: 3306 nameOverride: mariadb-galera the helm compilation fails with the error, e.g.: Release "onap-dmaap" does not exist. Installing it now. coalesce.go:223: warning: destination for mariadb-galera.readinessCheck.wait_for is a table. Ignoring non-table value ([{{ include "common.name" . }}]) Error: template: dmaap/charts/dmaap-dr-prov/charts/mariadb-init/templates/job.yaml:68:20: executing "dmaap/charts/dmaap-dr-prov/charts/mariadb-init/templates/job.yaml" at <include "common.mariadbService" .>: error calling include: template: dmaap/charts/common/templates/_mariadb.tpl:66:8: executing "common.mariadbService" at <index .Values "mariadb-galera" "nameOverride" >: error calling index: index of nil pointer Reason ins an incomplete values.yaml in common/mariadb-init

          andreasgeissler Andreas Geissler
          andreasgeissler Andreas Geissler
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: