1
0
-1

We've had to do a number of other things to get this far, so our thoughts are something isn't writing all data to SDC/AAI. However, it is had to pinpoint where data may be missing or not being recorded. We don't get errors until we get to VID creating services and using robot.


root@vm1-robot:/opt# ./demo.sh preload DemoVNF DemoModule
Starting Xvfb on display :89 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
OpenECOMP ETE
==============================================================================
OpenECOMP ETE.Robot
==============================================================================
OpenECOMP ETE.Robot.Testsuites
==============================================================================
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestration Test ...
==============================================================================
Preload VNF                                                           | FAIL |
Dictionary does not contain key 'persona-model-id'.
------------------------------------------------------------------------------
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
OpenECOMP ETE.Robot.Testsuites                                        | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
OpenECOMP ETE.Robot                                                   | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
OpenECOMP ETE                                                         | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output:  /share/logs/demo/PreloadDemo/output.xml
Log:     /share/logs/demo/PreloadDemo/log.html
Report:  /share/logs/demo/PreloadDemo/report.html

output.xml

  1. Shlomi Tsadok

    Anyone found a solution for this? I'm facing the same issue. Running Amsterdam GA. 

  2. ss533vr

    I'm facing the same issue as well on the latest master Amsterdam release. I understand there is a bug created for this  VID-94 - Robot Preload Fails, "persona-model-id" missing Closed . Is this being worked on currently? This is a blocker since we cannot proceed further with VNF module creation. Kindly help.

  3. Shlomi Tsadok

    ss533vr: Please comment on the bug page as well and vote for it

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    VID step  createVNF should be where this is created i believe

    1. Brian Matt

      Sorry, had a bit of a distraction from this for a bit, other things started breaking. Back to this part with the same error. I believe you mean the Add VNF step? This was done and was supposedly successful.




      But I still get the same error.


      root@vm1-robot:/opt# ./demo.sh preload DemoVNF DemoModule                                                                                             Starting Xvfb on display :89 with res 1280x1024x24
      Executing robot tests at log level TRACE
      ==============================================================================
      OpenECOMP ETE
      ==============================================================================
      OpenECOMP ETE.Robot
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestration Test ...
      ==============================================================================
      Preload VNF                                                           | FAIL |
      Dictionary does not contain key 'persona-model-id'.
      ------------------------------------------------------------------------------
      OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites                                        | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      OpenECOMP ETE.Robot                                                   | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      OpenECOMP ETE                                                         | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      Output:  /share/logs/demo/PreloadDemo/output.xml
      Log:     /share/logs/demo/PreloadDemo/log.html
      Report:  /share/logs/demo/PreloadDemo/report.html



      It appears to just be data missing somewhere, A&AI I assume? I'll see if I can track down any errors.


      root@vm1-robot:/opt# curl -k -u VID:VID -H "Accept: application/json" -H "Content-Type: application/json" -H "X-FromAppId: robot-ete" -H "X-TransactionId: robot-ete-051066af-17a2-42f9-b3b6-ff7a8ce1c194" -X GET https://10.0.1.1:8443/aai/v8/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances?service-instance-id=d6589f95-1412-497c-9769-b50e06b84ce5 | python -mjson.tool
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100   566    0   566    0     0   1658      0 --:--:-- --:--:-- --:--:--  1659
      {
          "service-instance": [
              {
                  "relationship-list": {
                      "relationship": [
                          {
                              "related-link": "https://10.0.1.1:8443/aai/v8/network/generic-vnfs/generic-vnf/87ad2de8-6d52-4a4e-b539-7a9a56d728a6",
                              "related-to": "generic-vnf",
                              "related-to-property": [
                                  {
                                      "property-key": "generic-vnf.vnf-name",
                                      "property-value": "DemoVNF"
                                  }
                              ],
                              "relationship-data": [
                                  {
                                      "relationship-key": "generic-vnf.vnf-id",
                                      "relationship-value": "87ad2de8-6d52-4a4e-b539-7a9a56d728a6"
                                  }
                              ]
                          }
                      ]
                  },
                  "resource-version": "1504892829012",
                  "service-instance-id": "d6589f95-1412-497c-9769-b50e06b84ce5",
                  "service-instance-name": "DemoInstance17090801"
              }
          ]
      }


    2. Daniel Rose

      James Forsyth Venkata Harish Kajur this seems to be missing some values. DO you know who puts those?

    3. James Forsyth

      SO puts persona-model-id and person-model-version on the service-instance

    4. Daniel Rose

      Rob Daugherty can you guide us on what logs to get to see why this didnt happen?

    5. Brian Matt

      I wonder what could be the issue though, I've probably deleted and created the ONAP stack 20+ times over the last couple of months playing with this vFW demo and this issue seems persistent. I wonder if it has to do with components not coming up when expected; AAI boots up before MSO or something like that? I know I've seen timing issues before on other components, between AAI1/2 for example.

    6. Brian Matt

      Here is the errormso.log from MSO. I see errors  about a properties file missing and a nullpointerexception at least. I'll dig into these a bit and see what I can find, not sure I can do much about missing properties file, though that may be normal.

      errormso.log

    CommentAdd your comment...