Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-127

DCAE Controller startup not working in dcae2_install.sh

XMLWordPrintable

      1. The service startup is not working due to typo in dcae2_install.sh:

      curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dcae2_vm_init.sh -o /opt/dcae2_vm_init.sh
      curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/dcae2_serv.sh -o /opt/dcae2_serv.sh
      chmod +x /opt/dcae2_vm_init.sh
      chmod +x /opt/dcae2_serv.sh
      mv /opt/dcae2_serv.sh /etc/init.d
      update-rc.d dcae_serv.sh defaults**

      >> should be :
      update-rc.d dcae2_serv.sh defaults**

      2. Additionally another bug found in that script: missing parameter in NOFLOAT option

      ...
      echo " address $DCAE_IP_ADDR" >> /etc/network/interfaces
      ...

      $DCAE_IP_ADDR is not defined in script

       3. /opt/config/oam_network_cidr.txt is not defined (missing in NOFLOAT HEAT yaml file

      CIDR=$(cat /opt/config/oam_network_cidr.txt)
      BITMASK=$(echo $CIDR | cut -d"/" -f2)

       

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

              Created:
              Updated:
              Resolved: