I'm trying to run the
https://wiki.onap.org/display/DW/Tutorial%3A+Creating+a+Service+Instance+from+a+Design+Model
tutorial, but it is failing when trying to create the service instance because
MSO cannot find the customer ID in AAI. This tutorial ran successfully for me
last week, although I have completely reinstalled ONAP since then. I've tried
the test twice today, completely uninstalling and reinstalling ONAP between
tests and it now fails consistently with the same symptoms. I've gathered what
diagnostics I can and attached to this email.
The full request and response from MSO is as follows.
04/14/17 13:14:40 HTTP Status: OK (200)
{
"request": {
"requestId": "27f2088c-6bc0-40f6-9030-82c050e05033",
"startTime": "Thu, 13 Apr 2017 12:14:27 GMT",
"requestScope": "service",
"requestType": "createInstance",
"requestDetails": {
"modelInfo": {
"modelCustomizationName": null,
"modelInvariantId": "a525adf2-6d35-4121-aaf6-073da3705cc7",
"modelType": "service",
"modelNameVersionId": "3ba8b303-2bb8-412e-8cd1-016d75d0313a",
"modelName": "demoVFW",
"modelVersion": "1.0"
},
"requestInfo": {
"billingAccountNumber": null,
"callbackUrl": null,
"correlator": null,
"orderNumber": null,
"productFamilyId": null,
"orderVersion": null,
"source": "VID",
"instanceName": "DemoInstance",
"suppressRollback": false
},
"relatedInstanceList": null,
"subscriberInfo": {
"globalSubscriberId": "Demonstration",
"subscriberName": null
},
"cloudConfiguration": null,
"requestParameters": {
"subscriptionServiceType": "vFW",
"userParams": []
}
},
"instanceReferences": {
"serviceInstanceId": null,
"serviceInstanceName": "DemoInstance",
"vnfInstanceId": null,
"vnfInstanceName": null,
"vfModuleInstanceId": null,
"vfModuleInstanceName": null,
"volumeGroupInstanceId": null,
"volumeGroupInstanceName": null,
"networkInstanceId": null,
"networkInstanceName": null
},
"requestStatus": {
"requestState": "FAILED",
"statusMessage": " Customer Global Id not found (404) in AAI, Global
Subscriber id: Demonstration",
"percentProgress": 100,
"finishTime": "Thu, 13 Apr 2017 12:14:31 GMT"
}
}
}
04/14/17 13:14:29 HTTP Status: Accepted (202)
{
"requestReferences": {
"instanceId": "f9942041-5624-491e-acc8-1377e82929d6",
"requestId": "27f2088c-6bc0-40f6-9030-82c050e05033"
}
}
The previous step (running ./demo.sh init on the robot VM) completed as
expected (output follows), but there was a long delay at the "Initialize
Customer and Models" step.
root at vm1-robot:~# cd /opt
root at vm1-robot:/opt# ./demo.sh init
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 ...
==============================================================================
Initialize Customer And Models | PASS |
------------------------------------------------------------------------------
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
OpenECOMP ETE.Robot.Testsuites | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
OpenECOMP ETE.Robot | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
OpenECOMP ETE | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Output: /share/logs/demo/InitDemo/output.xml
Log: /share/logs/demo/InitDemo/log.html
Report: /share/logs/demo/InitDemo/report.html
root at vm1-robot:/opt#
Looking at the AAI VM, there are errors logged by the AJSC container - output
from docker logs and the updateQueryData.sh.log file are attached.
This tutorial ran successful last week, although I have reinstalled ONAP since
that run.
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170413/0ce1fd84/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aai.log
Type: application/octet-stream
Size: 57581 bytes
Desc: aai.log
URL:
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170413/0ce1fd84/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: updateQueryData.sh.log.2017-04-13
Type: application/octet-stream
Size: 36556 bytes
Desc: updateQueryData.sh.log.2017-04-13
URL:
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170413/0ce1fd84/attachment-0003.obj>