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

SDC-be deployment missing environment paramter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:

      Description

      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:

      ...

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mkhinda Mandeep Khinda
            Reporter:
            afenner Andrew Fenner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: