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

SDC-be deployment missing environment paramter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None

      In the sdc-be image the chef files below are expecting and environment variable cassandra_ssl_enabled

      ./cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb:17: :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}"
      ./cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb:41: :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}"

       

      This isn't set and it results in a chef failure later.

      this can be worked around by adding to

      oom/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml

      ...

      env:

      • name: ENVNAME
        value: {{ .Values.global.env.name }}
      • name: JAVA_OPTIONS
        value: ""
      • name: cassandra_ssl_enabled       # added
        value: "false"                                     # added  (probably should be in values file)
      • name: HOST_IP
        valueFrom:
        fieldRef:
        fieldPath: status.podIP
        volumeMounts:

      ...

       

            mkhinda mkhinda
            afenner afenner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: