Hi Abhishek,
I am aware of the below written queries for AAI. But, the point I am discussing here is : In VID, when we create a service instance by clicking on the deploy button ( after the service model has been created in SDC ), at that point, if we created two service instances ( vFW-vSINK-service-instance1 and vfw_service_instance3 ) and deleted the firstly created service instance ( vFW-vSINK-service-instance1), since we got stuck at VF module creation part ( where we went on giving wrong VNF ID for SDNC preload operation and now not able to overwrite or clear the SDNC preload operation for that VNF ), then too MSO shows the details of the deleted service instance. The deletion of service instance ( has been performed at VID level ) , so if we have deleted the service instance ( vFW-vSINK-service-instance1 ), then MSO also must now should us the details of the deleted service instance (vFW-vSINK-service-instance1 ). If we are deleting a service instance in VID, then it should delete that service instance information in AAI as well, so that other modules like MSO etc. should not be able to fetch the stale/deleted information of service instance ( which has been created in VID ). In IMO, this should be taken care by the code and is a bug as of now. Why we are seeing the deleted service instance information in MSO ? Why that information is not deleted in AAI, if we have deleted that service instance in VID itself? Does MSO is designed in a way, that it will show the previously deleted information of service instance as well ? MSO is stateless, but it must be fetching information from AAI. In VID, if any deletion happens, then it should reflect back in AAI. The VID code should handle this. Say for example : If we created 20 service instances in VID, over the same service model which has been created in SDC, and deleted say 10 service instances ( in VID ), so will MSO will still showcase the deleted 10 service instances details ? Best Regards, Shubhra ________________________________ From: Abhishek Shekhar <abhishek.shekh...@amdocs.com> Sent: Tuesday, February 13, 2018 1:54 PM To: shubhra garg; onap-...@lists.onap.org; onap-discuss@lists.onap.org Cc: Shubhra Garg Subject: RE: [onap-discuss] querying MSO still shows the deleted VNF , VF module and service instance details This message was identified as a phishing<http://aka.ms/LearnAboutPhishing> scam. Feedback<http://aka.ms/SafetyTipsFeedback> Hi Shubhra, http://127.0.0.1:30223/ecomp/mso/infra/orchestrationRequests/v2/<https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A30223%2Fecomp%2Fmso%2Finfra%2ForchestrationRequests%2Fv2%2F&data=01%7C01%7Cshubhra.garg%40infosys.com%7Ca14022439f2c42158c8108d572bb67ae%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1&sdata=%2BzIy9so4QuzJF5mhnrQqK5H4RfzKXeyp%2BrLcbHPo9Tw%3D&reserved=0> This API is to get the request information in SO not any specific service / VNF / VF instance details. Please note that SO does not store any Instance Information, i.e, SO is stateless. To be able to get the details of any service / vnf / vf, you need to query AAI. Service-instance: https://{{aai_ip}}:{{aai_port}}/aai/v11/business/customers/customer/{{aai_global-customer-id}}/service-subscriptions/service-subscription/{{aai_subscription-service-type-prefix}}/service-instances<https://%7b%7baai_ip%7d%7d:%7b%7baai_port%7d%7d/aai/v11/business/customers/customer/%7b%7baai_global-customer-id%7d%7d/service-subscriptions/service-subscription/%7b%7baai_subscription-service-type-prefix%7d%7d/service-instances> Generic VNF (VF Module as well) https://{{aai_ip}}:{{aai_port}}/aai/v11/network/generic-vnfs?depth=2<https://%7b%7baai_ip%7d%7d:%7b%7baai_port%7d%7d/aai/v11/network/generic-vnfs?depth=2> Thanks Abhishek Shekhar From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of shubhra garg Sent: Saturday, February 10, 2018 8:27 PM To: onap-...@lists.onap.org; onap-discuss@lists.onap.org Cc: shubhra.g...@infosys.com Subject: [onap-discuss] querying MSO still shows the deleted VNF , VF module and service instance details Hi Team, We created service instance , VNF, VF module. Still, we got stuck at VF module creation part, we deleted the complete set ( service instance, VNF and VF module) We re-created a new service instance over the same service model in VID, by clicking on deploy button. But, the MSO shows the details of the previous deleted service instance. The complete MSO query ( with deleted and new service instance details ) has been attached for your reference. PFA IMO, MSO must not show the previous details ( service instance, VNF, VF module ) etc. It should show only the newly created service instance, VNF , VF module details. Deleted service instance details: root@ubuntu:/home/infy_user# curl -X GET http://127.0.0.1:30223/ecomp/mso/infra/orchestrationRequests/v2/<https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A30223%2Fecomp%2Fmso%2Finfra%2ForchestrationRequests%2Fv2%2F&data=01%7C01%7Cshubhra.garg%40infosys.com%7Ca14022439f2c42158c8108d572bb67ae%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1&sdata=%2BzIy9so4QuzJF5mhnrQqK5H4RfzKXeyp%2BrLcbHPo9Tw%3D&reserved=0> -H 'Accept: application/json' -H 'Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==' -H 'Content-Type: application/json' -H 'X-FromAppId: Postman' | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17596 0 17596 0 0 13702 0 --:--:-- 0:00:01 --:--:-- 13714 { "requestList": [ { "request": { "instanceReferences": { "requestorId": "demo", "serviceInstanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "serviceInstanceName": "vFW-vSINK-service-instance1" }, "requestDetails": { "modelInfo": { "modelInvariantId": "fc742f77-955d-4ebb-bb02-3322929eaa17", "modelName": "vFW-vSINK-service", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "df599415-6ed3-480b-b48c-6f5b83ddaf7b" }, "requestInfo": { "instanceName": "vFW-vSINK-service-instance1", "requestorId": "demo", "source": "VID", "suppressRollback": false }, "requestParameters": { "aLaCarte": true, "autoBuildVfModules": false, "cascadeDelete": false, "rebuildVolumeGroups": false, "subscriptionServiceType": "vFWCL", "usePreload": true }, "subscriberInfo": { "globalSubscriberId": "Demonstration" } }, "requestId": "6d11958f-27da-44e1-8390-53ea04a1bde5", "requestScope": "service", "requestStatus": { "finishTime": "Thu, 01 Feb 2018 13:01:00 GMT", "percentProgress": 100, "requestState": "COMPLETE", "statusMessage": "Service Instance was created successfully." }, "requestType": "createInstance", "startTime": "Thu, 01 Feb 2018 13:00:35 GMT" } }, { "request": { "instanceReferences": { "requestorId": "demo", "serviceInstanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "vnfInstanceId": "46aa2fcb-bddd-442c-a4a7-b2b843e8161b", "vnfInstanceName": "vFW-vSINK-VNF-instance" }, "requestDetails": { "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "d626273afd214d0b85ba991ef7131768" }, "modelInfo": { "modelCustomizationId": "f93ad831-6215-4a3b-ac55-42928fa2d573", "modelCustomizationName": "vFW-vSINK 0", "modelInvariantId": "e8417b7a-4913-43af-923e-eb6881a76451", "modelName": "vFW-vSINK", "modelType": "vnf", "modelVersion": "1.0", "modelVersionId": "48db00d6-b5a8-4ab0-8669-4cf87c71692b" }, "relatedInstanceList": [ { "relatedInstance": { "instanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "modelInfo": { "modelInvariantId": "fc742f77-955d-4ebb-bb02-3322929eaa17", "modelName": "vFW-vSINK-service", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "df599415-6ed3-480b-b48c-6f5b83ddaf7b" } } } ], "requestInfo": { "instanceName": "vFW-vSINK-VNF-instance", "productFamilyId": "b600d155-4b59-4c26-97ac-b03258b27f31", "requestorId": "demo", "source": "VID", "suppressRollback": false }, "requestParameters": { "aLaCarte": false, "autoBuildVfModules": false, "cascadeDelete": false, "rebuildVolumeGroups": false, "usePreload": true } }, "requestId": "0e79a4d9-e860-4b9d-bc52-fb101142a87e", "requestScope": "vnf", "requestStatus": { "finishTime": "Thu, 01 Feb 2018 13:03:01 GMT", "percentProgress": 100, "requestState": "COMPLETE", "statusMessage": "Vnf has been created successfully." }, "requestType": "createInstance", "startTime": "Thu, 01 Feb 2018 13:02:50 GMT" } }, { "request": { "instanceReferences": { "requestorId": "demo", "serviceInstanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "vnfInstanceId": "a219c5fb-bf1f-4874-8876-30a16cb17122", "vnfInstanceName": "vFW-vPG-VNF-instance1" }, "requestDetails": { "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "d626273afd214d0b85ba991ef7131768" }, "modelInfo": { "modelCustomizationId": "a5873a17-0d45-4525-bf16-2c3c228f89a3", "modelCustomizationName": "vPG 0", "modelInvariantId": "93c5c215-8b08-4e8b-aa35-955dc4d4efae", "modelName": "vPG", "modelType": "vnf", "modelVersion": "1.0", "modelVersionId": "d8b7ad2c-69f4-47ed-91d9-0571d3daa3af" }, "relatedInstanceList": [ { "relatedInstance": { "instanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "modelInfo": { "modelInvariantId": "fc742f77-955d-4ebb-bb02-3322929eaa17", "modelName": "vFW-vSINK-service", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "df599415-6ed3-480b-b48c-6f5b83ddaf7b" } } } ], "requestInfo": { "instanceName": "vFW-vPG-VNF-instance1", "productFamilyId": "b600d155-4b59-4c26-97ac-b03258b27f31", "requestorId": "demo", "source": "VID", "suppressRollback": false }, "requestParameters": { "aLaCarte": false, "autoBuildVfModules": false, "cascadeDelete": false, "rebuildVolumeGroups": false, "usePreload": true } }, "requestId": "96f4b017-462d-420e-9c48-2e719cfa273c", "requestScope": "vnf", "requestStatus": { "finishTime": "Thu, 01 Feb 2018 13:04:14 GMT", "percentProgress": 100, "requestState": "COMPLETE", "statusMessage": "Vnf has been created successfully." }, "requestType": "createInstance", "startTime": "Thu, 01 Feb 2018 13:04:11 GMT" } }, { "request": { "instanceReferences": { "requestorId": "demo", "serviceInstanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "vfModuleInstanceName": "SINK_VF_Module1", "vnfInstanceId": "a219c5fb-bf1f-4874-8876-30a16cb17122" }, "requestDetails": { "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "d626273afd214d0b85ba991ef7131768" }, "modelInfo": { "modelCustomizationId": "af428b65-5c9c-4832-9e8a-e532b9ba45d5", "modelCustomizationName": "Vpg..base_vpkg..module-0", "modelInvariantId": "9b631048-3f86-40ea-a063-79fcc975b80b", "modelName": "Vpg..base_vpkg..module-0", "modelType": "vfModule", "modelVersion": "1", "modelVersionId": "dd30392f-db62-45c9-a342-46316e48dcb6" }, "relatedInstanceList": [ { "relatedInstance": { "instanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "modelInfo": { "modelInvariantId": "fc742f77-955d-4ebb-bb02-3322929eaa17", "modelName": "vFW-vSINK-service", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "df599415-6ed3-480b-b48c-6f5b83ddaf7b" } } }, { "relatedInstance": { "instanceId": "a219c5fb-bf1f-4874-8876-30a16cb17122", "modelInfo": { "modelCustomizationId": "a5873a17-0d45-4525-bf16-2c3c228f89a3", "modelCustomizationName": "vPG 0", "modelInvariantId": "93c5c215-8b08-4e8b-aa35-955dc4d4efae", "modelName": "vPG", "modelType": "vnf", "modelVersion": "1.0", "modelVersionId": "d8b7ad2c-69f4-47ed-91d9-0571d3daa3af" } } } ], "requestInfo": { "instanceName": "SINK_VF_Module1", "requestorId": "demo", "source": "VID", "suppressRollback": false }, "requestParameters": { "aLaCarte": false, "autoBuildVfModules": false, "cascadeDelete": false, "rebuildVolumeGroups": false, "usePreload": true } }, "requestId": "293a12f6-e3dc-4600-9a56-a31a313d4d4f", "requestScope": "vfModule", "requestStatus": { "finishTime": "Thu, 01 Feb 2018 14:24:31 GMT", "percentProgress": 100, "requestState": "FAILED", "statusMessage": "Received error from SDN-C: No preload data found to match vnf-name" }, "requestType": "createInstance", "startTime": "Thu, 01 Feb 2018 14:24:18 GMT" } }, { "request": { "instanceReferences": { "requestorId": "demo", "serviceInstanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "vfModuleInstanceName": "vFW_SINK_VF_Module1", "vnfInstanceId": "46aa2fcb-bddd-442c-a4a7-b2b843e8161b" }, "requestDetails": { "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "d626273afd214d0b85ba991ef7131768" }, "modelInfo": { "modelCustomizationId": "558cb6ff-8a50-4f96-beea-867e86c5f66a", "modelCustomizationName": "VfwVsink..base_vfw..module-0", "modelInvariantId": "069a1526-5e92-44d2-ad47-4387f989ab98", "modelName": "VfwVsink..base_vfw..module-0", "modelType": "vfModule", "modelVersion": "1", "modelVersionId": "170cc48d-5c2c-4f67-919a-490e54f2a30d" }, "relatedInstanceList": [ { "relatedInstance": { "instanceId": "955f5d8a-0e6d-4605-8efc-19c4dac1c921", "modelInfo": { "modelInvariantId": "fc742f77-955d-4ebb-bb02-3322929eaa17", "modelName": "vFW-vSINK-service", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "df599415-6ed3-480b-b48c-6f5b83ddaf7b" } } }, { "relatedInstance": { "instanceId": "46aa2fcb-bddd-442c-a4a7-b2b843e8161b", "modelInfo": { "modelCustomizationId": "f93ad831-6215-4a3b-ac55-42928fa2d573", "modelCustomizationName": "vFW-vSINK 0", "modelInvariantId": "e8417b7a-4913-43af-923e-eb6881a76451", "modelName": "vFW-vSINK", "modelType": "vnf", "modelVersion": "1.0", "modelVersionId": "48db00d6-b5a8-4ab0-8669-4cf87c71692b" } } } ], "requestInfo": { "instanceName": "vFW_SINK_VF_Module1", "requestorId": "demo", "source": "VID", "suppressRollback": false }, "requestParameters": { "aLaCarte": false, "autoBuildVfModules": false, "cascadeDelete": false, "rebuildVolumeGroups": false, "usePreload": true } }, "requestId": "e4417d17-6818-4821-9aed-356f28670f4c", "requestScope": "vfModule", "requestStatus": { "finishTime": "Thu, 01 Feb 2018 14:34:19 GMT", "percentProgress": 100, "requestState": "FAILED", "statusMessage": "Received vfModuleException from VnfAdapter: category='INTERNAL' message='Exception during create VF 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=StackValidationFailed, error.message=Property error: : resources.vsn_private_1_port.properties.network: : Multiple network matches found for name '', use an ID to be more specific.' rolledBack='true'" }, "requestType": "createInstance", "startTime": "Thu, 01 Feb 2018 14:29:11 GMT" } }, Best Regards, Shubhra :) This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer<https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.amdocs.com%2Fabout%2Femail-disclaimer&data=01%7C01%7Cshubhra.garg%40infosys.com%7Ca14022439f2c42158c8108d572bb67ae%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1&sdata=dngpodH8eUmtLNM6BbMtcY4TaNsnRYxaLKjCfKbe1%2Bw%3D&reserved=0>
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss