-
Bug
-
Resolution: Done
-
Medium
-
El Alto Release
-
None
Update by deen1985:
This situation happens, when no Homing_Solution parameter is provided in the SO API call (included in SO/GR API - requestParameters/userParams).
(By default VID generates such an SO API call, with requestParameters/userParams - but without the Homing_Solution parameter).
In our environments, we are not using any homing solution - and in such a case the default SO OpenStack configuration is used.
The solution proposal is, to set (within SO), the default value of this parameter to "none", which triggers using the default SO OpenStack configuration.
If OOF/HAS is to be used, then a client can provide this parameter, and include it in an SO API call as well.
Still, I think, we`re missing a default value for this parameter, which shall be probably set within SO, and used if nothing provided in SO API.
Proposing default value to be set to "none".
(In SO API call, we`re using this one, and it works - without calling any OOF/HAS solution).
{
"Homing_Solution": "none"
}
Hint 1: "sniro" is not a HAS solution used in ONAP - shouldn`t be used by default.
Hint 2: The scale-out use-case initial instantiation uses as well Homing_solution: none, which serves as a valid default value.
Details by wsliwka:
During service macro instantiation following error is visible in bpmn log:
2019-09-11T14:01:02.939Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================
2019-09-11T14:01:02.952Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin==========================================
2019-09-11T14:01:02.953Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200
2019-09-11T14:01:02.953Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text :
2019-09-11T14:01:02.953Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers :
2019-09-11T14:01:02.954Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: {
"clientRequestId" : null,
"action" : "createInstance",
"requestStatus" : "IN_PROGRESS",
"statusMessage" : "Internal Error - occurred while preparing sniro request: 404 Not Found",
"rollbackStatusMessage" : null,
"flowStatus" : "Execution of AssignServiceInstanceBB has completed successfully, next invoking AssignVnfBB (Execution Path progress: BBs completed = 1; BBs remaining = 8).",
"retryStatusMessage" : null,
"progress" : 15,
"startTime" : "2019-09-11T14:00:50.000+0000",
"endTime" : null,
"source" : "VID",
"vnfId" : "3d97d2fc-e436-48bd-b48c-31c5cedab012",
"vnfName" : null,
"vnfType" : null,
"serviceType" : null,
"aicNodeClli" : null,
"tenantId" : null,
"provStatus" : null,
"vnfParams" : null,
"vnfOutputs" : null,
"requestBody" : "{\n \"requestDetails\": {\n \"modelInfo\":
,\n \"owningEntity\":
{\n \"owningEntityId\": \"104a18b0-9577-4ff5-9e1b-808e063418bb\",\n \"owningEntityName\": \"Demonstration\"\n },\n \"subscriberInfo\": {\n \"globalSubscriberId\": \"Demonstration\"\n },\n \"project\":
{\n \"projectName\": \"Demonstration\"\n },\n \"requestInfo\":
{\n \"instanceName\": \"test\",\n \"productFamilyId\": \"3278ced4-05db-4d91-a23b-e6a74840202d\",\n \"source\": \"VID\",\n \"suppressRollback\": false,\n \"requestorId\": \"demo\"\n },\n \"requestParameters\": {\n \"subscriptionServiceType\": \"vLB\",\n \"aLaCarte\": false,\n \"userParams\": [\n {\n \"service\
": {\n \"modelInfo\":
,\n \"instanceName\": \"test\",\n \"instanceParams\": [],\n \"resources\": {\n \"vnfs\": [\n
{\n \"modelInfo\":
,\n \"cloudConfiguration\":
{\n \"lcpCloudRegionId\": \"RegionOne\",\n \"tenantId\": \"b05f5c5a932f4 f93acd034873df4fbc6\",\n \"cloudOwner\": \"CloudOwner\"\n },\n \"platform\":
{\n \"platfor mName\": \"Demonstration\"\n },\n \"lineOfBusiness\":
{\n \"lineOfBusinessName\": \"Demonstration\"\n },\n \"productFamilyId\": \"3278ced4-05db-4d91-a23b-e6a74840202d\",\n \"instanceParams\": [],\n \"vfModules\": [\n
{\n \"modelInfo\":
,\n \"instanceName\": \"test\",\n
\"instanceParams\": []\n }\n ],\n \"instanceName\": \"test\"\n }\n
]\n }\n }\n }\n ]\n }\n }\n}",
"responseBody" : null,
"lastModifiedBy" : "CamundaBPMN",
"modifyTime" : "2019-09-11T14:01:01.000+0000",
"requestType" : null,
and due to that error macro instantiation is not possible.
Please find request that is send from VID to SO (http://mso.api.simpledemo.onap.org:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances ):
{
"requestDetails": {
"modelInfo":
,
"owningEntity":
,
"subscriberInfo":
,
"project":
,
"requestInfo":
,
"requestParameters": {
"subscriptionServiceType": "vLB",
"aLaCarte": false,
"userParams": [
{
"service": {
"modelInfo":
,
"instanceName": "test",
"instanceParams": [],
"resources": {
"vnfs": [
{
"modelInfo":
,
"cloudConfiguration":
,
"platform":
,
"lineOfBusiness":
,
"productFamilyId": "3278ced4-05db-4d91-a23b-e6a74840202d",
"instanceParams": [],
"vfModules": [
{
"modelInfo":
,
"instanceName": "test",
"instanceParams": []
}
],
"instanceName": "test"
}
]
}
}
}
]
}
}
}
- relates to
-
VID-576 MACRO Orchestration via VID Fails
- Closed
- links to