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

Fix UEB IPs when running a K8S cluster

XMLWordPrintable

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

      In a setup where there is a k8s cluster, e.g. multiple k8s nodes, the config-init.sh script wasn't populated the node ip in the ueb configuration of sdc.

      The following request is returning

       

       curl -X GET \   http://K8S_HOST:30205/sdc/v1/distributionUebCluster \   -H 'Accept: application/json' \   -H 'Content-Type: application/json' \   -H 'X-ECOMP-InstanceID: mso' \   -H 'authorization: Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=‘
      

      {"uebServerList":["135.197.239.105","135.197.239.104 135.197.239.103 135.197.239.102”]}

      Whereas it should have returned:

      {"uebServerList":["135.197.239.105”,”135.197.239.104",”135.197.239.103”,"135.197.239.102"]}

            adetalhouet adetalhouet
            adetalhouet adetalhouet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: