Hi,

if you look at the log of SO and the request it receives you can see that all 
the values required for VNF model are not specified.

                                {
                                    "modelInfo": {
                                        "modelName": 
"{{vnf-modelinfo-modelname}}",
                                        "modelVersionId": 
"{{vnf-modelinfo-modeluuid}}",
                                        "modelInvariantUuid": 
"{{vnf-modelinfo-modelinvariantuuid}}",
                                        "modelVersion": 
"{{vnf-modelinfo-modelversion}}",
                                        "modelCustomizationId": 
"{{vnf-modelinfo-modelcustomizationuuid}}",
                                        "modelInstanceName": 
"{{vnf-modelinfo-modelinstancename}}"
                                    },

Do you use Postman instead of automation scripts? I do not recommend to use 
Postman while you can performs several manual steps only with automation 
scripts of vFW CNF use case slightly adapter for your case.

Regards,

[Logo Orange]

Łukasz Rajewski, R&D Expert
Orange Labs Polska, Virtual Programmable Infrastructure Skill center
Mob.: +48 604307879
Orange Polska, Obrzeżna 7, 02-691 Warszawa
www.orange.pl<http://www.orange.pl/>



From: [email protected] <[email protected]> On Behalf Of 
Naveen S. Sankad
Sent: Friday, February 26, 2021 1:49 PM
To: [email protected]; [email protected]
Cc: Velugubantla Praveen <[email protected]>
Subject: [onap-discuss] #cnf Error in Helm native CNF Approach

Hi Aniello and Team,

For helm native CNF approach, we have designed our own CBA and 2 helm charts 
for bringup of 2 cnf's. But at the time of SO Instantiation we are getting this 
error from SDNC. Also in the postman env variable 
vnf-vfmodule-0-modelinfo-instancename values are not updating as attached in 
snapshot. PFA of CBA and Helm packages and SO-bpmn logs.

Error:
{
    "requestStatus": "ROLLED_BACK",
    "statusMessage": "Error from SDNC: 
vnf-information.onap-model-information.model-customization-uuid is a required 
input",
    "rollbackStatusMessage": "Rollback has been completed successfully.",
    "flowStatus": "All Rollback flows have completed successfully",
    "progress": 100,
    "startTime": 1614343046000,
    "endTime": 1614343053000,
    "source": "Postman",
    "vnfId": "d1f98e1f-8907-45a3-8e4e-db109bf6a984",
    "tenantId": "aaaa",
    "requestBody": "{\n    \"requestDetails\": {\n        \"subscriberInfo\": 
{\n            \"globalSubscriberId\": \"Demonstration\"\n        },\n        
\"requestInfo\": {\n            \"suppressRollback\": false,\n            
\"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n            
\"requestorId\": \"38e1d89c-20f0-4bfd-a5d3-df6af6e84603\",\n            
\"instanceName\": \"vfw-cnf-125\",\n            \"source\": \"Postman\"\n       
 },\n        \"cloudConfiguration\": {\n            \"lcpCloudRegionId\": 
\"k8sregionfour\",\n            \"tenantId\": \"aaaa\",\n            
\"cloudOwner\": \"k8scloudowner4\"\n        },\n        \"requestParameters\": 
{\n            \"subscriptionServiceType\": \"vfwk8s\",\n            
\"userParams\": [\n                {\n                    \"Homing_Solution\": 
\"none\"\n                },\n                {\n                    
\"service\": {\n                        \"instanceParams\": [\n                 
           {}\n                        ],\n                        
\"instanceName\": \"vfw-cnf-125\",\n                        \"resources\": {\n  
                          \"vnfs\": [\n                                {\n      
                              \"modelInfo\": {\n                                
        \"modelName\": \"{{vnf-modelinfo-modelname}}\",\n                       
                 \"modelVersionId\": \"{{vnf-modelinfo-modeluuid}}\",\n         
                               \"modelInvariantUuid\": 
\"{{vnf-modelinfo-modelinvariantuuid}}\",\n                                     
   \"modelVersion\": \"{{vnf-modelinfo-modelversion}}\",\n                      
                  \"modelCustomizationId\": 
\"{{vnf-modelinfo-modelcustomizationuuid}}\",\n                                 
       \"modelInstanceName\": \"{{vnf-modelinfo-modelinstancename}}\"\n         
                           },\n                                    
\"cloudConfiguration\": {\n                                        
\"lcpCloudRegionId\": \"k8sregionfour\",\n                                      
  \"tenantId\": \"aaaa\"\n                                    },\n              
                      \"platform\": {\n                                        
\"platformName\": \"test\"\n                                    },\n            
                        \"lineOfBusiness\": {\n                                 
       \"lineOfBusinessName\": \"LOB-Demonstration\"\n                          
          },\n                                    \"productFamilyId\": 
\"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n                                    
\"instanceName\": \"vfw-cnf-125-vnf\",\n                                    
\"instanceParams\": [\n                                        {\n              
                              \"k8s-rb-profile-name\": \"default\"\n            
                            }\n                                    ],\n         
                           \"vfModules\": [\n                                   
     {\n                                            \"modelInfo\": {\n          
                                      \"modelName\": 
\"5gCnfVsp..helm_base_template..module-1\",\n                                   
             \"modelVersionId\": \"0945707a-e365-48bd-aa06-b07100f53240\",\n    
                                            \"modelInvariantUuid\": 
\"149d5fb1-e492-4108-a428-838c0695fb8a\",\n                                     
           \"modelVersion\": \"1\",\n                                           
     \"modelCustomizationId\": \"e3f85ae6-5a6a-4597-b34d-aaad33a2d41c\"\n       
                                     },\n                                       
     \"instanceName\": \"vfw-cnf-125-undefined\",\n                             
               \"instanceParams\": [\n                                          
      {\n                                                    
\"k8s-rb-profile-name\": \"default\"\n                                          
      }\n                                            ]\n                        
                },\n                                        {\n                 
                           \"modelInfo\": {\n                                   
             \"modelName\": \"5gCnfVsp..helm_5gue..module-2\",\n                
                                \"modelVersionId\": 
\"5d4dbfe1-1ff1-44b7-a469-b9deb74c379e\",\n                                     
           \"modelInvariantUuid\": \"951a4403-30af-4246-a219-bee316b36442\",\n  
                                              \"modelVersion\": \"1\",\n        
                                        \"modelCustomizationId\": 
\"5ce410b0-93b8-4be7-bd12-a7e20868ea95\"\n                                      
      },\n                                            \"instanceName\": 
\"vfw-cnf-125-undefined\",\n                                            
\"instanceParams\": [\n                                                {\n      
                                              \"k8s-rb-profile-name\": 
\"default\"\n                                                }\n                
                            ]\n                                        },\n     
                                   {\n                                          
  \"modelInfo\": {\n                                                
\"modelName\": \"5gCnfVsp..helm_5gcore.module-3\",\n                            
                    \"modelVersionId\": 
\"58e368da-df02-45ba-b370-c11d6142e4fd\",\n                                     
           \"modelInvariantUuid\": \"dbbeb95b-3bd2-4f06-8ac3-ed4da1efe5c0\",\n  
                                              \"modelVersion\": \"1\",\n        
                                        \"modelCustomizationId\": 
\"3cb7816f-ca74-45f9-9bad-ba83975ac651\"\n                                      
      },\n                                            \"instanceName\": 
\"vfw-cnf-125-undefined\",\n                                            
\"instanceParams\": [\n                                                {\n      
                                              \"k8s-rb-profile-name\": 
\"default\"\n                                                }\n                
                            ]\n                                        }\n      
                              ]\n                                }\n            
                ]\n                        },\n                        
\"modelInfo\": {\n                            \"modelVersion\": \"1.0\",\n      
                      \"modelVersionId\": 
\"c6437d9c-51c0-4f51-9c65-4660d951d419\",\n                            
\"modelInvariantId\": \"a04e8e59-ad2c-412d-853d-36c84c33c0c6\",\n               
             \"modelName\": \"5G_CNF_svc\",\n                            
\"modelType\": \"service\"\n                        }\n                    }\n  
              }\n            ],\n            \"aLaCarte\": false\n        },\n  
      \"project\": {\n            \"projectName\": \"Project-Demonstration\"\n  
      },\n        \"owningEntity\": {\n            \"owningEntityId\": 
\"67f2e84c-734d-4e90-a1e4-d2ffa2e75849\",\n            \"owningEntityName\": 
\"OE-Demonstration\"\n        },\n        \"modelInfo\": {\n            
\"modelVersion\": \"1.0\",\n            \"modelVersionId\": 
\"c6437d9c-51c0-4f51-9c65-4660d951d419\",\n            \"modelInvariantId\": 
\"a04e8e59-ad2c-412d-853d-36c84c33c0c6\",\n            \"modelName\": 
\"5G_CNF_svc\",\n            \"modelType\": \"service\"\n        }\n    }\n}",
    "lastModifiedBy": "CamundaBPMN",
    "modifyTime": "2021-02-26T12:37:33.000+0000",
    "cloudRegion": "k8sregionfour",
    "serviceInstanceId": "95b89fcc-5d4b-4997-b8aa-9a2689320283",
    "serviceInstanceName": "vfw-cnf-125",
    "requestScope": "service",
    "requestAction": "createInstance",
    "requestorId": "38e1d89c-20f0-4bfd-a5d3-df6af6e84603",
    "requestUrl": 
"http://20.0.0.118:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances";,
    "extSystemErrorSource": "SDNC",
    "tenantName": "k8stenant",
    "cloudApiRequests": [],
    "requestURI": "7885728c-fbe9-458f-99c6-ee4e0b018a07",
    "_links": {
        "self": {
            "href": 
"http://20.0.0.118:30277/infraActiveRequests/7885728c-fbe9-458f-99c6-ee4e0b018a07";
        },
        "infraActiveRequests": {
            "href": 
"http://20.0.0.118:30277/infraActiveRequests/7885728c-fbe9-458f-99c6-ee4e0b018a07";
        }
    }
}


Please provide your inputs for this issue.

Thanks and Regards,
Naveen


L&T Technology Services Ltd

www.LTTS.com

L&T Technology Services Limited (LTTS) is committed to safeguard your data 
privacy. For more information to view our commitment towards data privacy under 
GDPR, please visit the privacy policy on our website 
www.Ltts.com<http://www.Ltts.com>. This Email may contain confidential or 
privileged information for the intended recipient (s). If you are not the 
intended recipient, please do not use or disseminate the information, notify 
the sender and delete it from your system.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22922): https://lists.onap.org/g/onap-discuss/message/22922
Mute This Topic: https://lists.onap.org/mt/80925819/21656
Mute #cnf:https://lists.onap.org/g/onap-discuss/mutehashtag/cnf
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to