Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1357

startODL.oom.sh using wrong env variables when AAF is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Guilin Release
    • sdnc-oam
    • None

      When AAF is enabled, startODL.oom.sh is using the variables SDNC_CONFIG_DIR and SDNC_STORE_DIR to point to /opt/app/osaaf/local which is incorrect. It should use SDNC_AAF_CONFIG_DIR and SDNC_AAF_STORE_DIR instead. Because of using SDNC_CONFIG_DIR and SDNC_STORE_DIR, the actual configuration files like aaiclient.properties etc that are present in /opt/onap/sdnc/data/properties (and is pointed to by SDNC_CONFIG_DIR in the helm charts) are not found (because of being overwritten by the script to /opt/app/osaaf/local) and hence results in failure to connect to AAI.

       

      Reference - Issue raised by sylvain.desbureaux@orange.com 

            pendurty Ravi Pendurty
            pendurty Ravi Pendurty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: