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

Change AAI version into OOF chart (from v19 to v21)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • Honolulu Release
    • None
    • None
    • Hide

      SUMMARY

      Using OOM branch Honolulu for testing the 5G Newtwork Slicing use case, I have found the following issue about a AAI version missmatch for OOF component. 

       

      OOM VERSION

       

      Branch Honolulu 
      IMAGE: onap/optf-has:2.1.5
      

       

       

      STEPS TO REPRODUCE

      The issue occurs during NST selection.
      OOF makes the following AAI call in order to retrive NST from AAI:

      https://{{k8s}}:30233/aai/v19/service-design-and-creation/models/model?model-role=NST

       

       

      EXPECTED RESULTS

      Something like:

      {
       "model-invariant-id": "3f4370b5-ac49-4477-a4a7-184ff8b9df05",
       "model-type": "Service",
       "model-role": "NST",
       "resource-version": "1623077292769"
      }

       

       

      ACTUAL RESULTS

       

      400 BAD Request

      This issue is due to a wrong schema version. We need to update it to v21.

      How to fix it?
      You need to upgrade the AAI schema version into OOF config file.

      Change this file :
      https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/oof/components/oof-has/resources/config/conductor.conf;h=ded979c4fccb6c925d197978517f514db2803f7d;hb=refs/heads/honolulu#l243
      
      from v19 to v21 .

       

      Show
      SUMMARY Using OOM branch Honolulu for testing the 5G Newtwork Slicing use case, I have found the following issue about a AAI version missmatch for OOF component.    OOM VERSION   Branch Honolulu  IMAGE: onap/optf-has:2.1.5     STEPS TO REPRODUCE The issue occurs during NST selection. OOF makes the following AAI call in order to retrive NST from AAI: https://{{k8s}}:30233/aai/v19/service-design-and-creation/models/model?model-role=NST     EXPECTED RESULTS Something like: { "model-invariant-id": "3f4370b5-ac49-4477-a4a7-184ff8b9df05", "model-type": "Service", "model-role": "NST", "resource-version": "1623077292769" }     ACTUAL RESULTS   400 BAD Request This issue is due to a wrong schema version. We need to update it to v21. How to fix it? You need to upgrade the AAI schema version into OOF config file. Change this file : https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/oof/components/oof-has/resources/config/conductor.conf;h=ded979c4fccb6c925d197978517f514db2803f7d;hb=refs/heads/honolulu#l243 from v19 to v21 .  

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

            Created:
            Updated:
            Resolved: