Hi,

It looks like the problem is in the k8s plugin side while instance is being 
created but 500 is not associated with any logs on what really happens... My 
bet is on the problems with connectivity info and setup of the k8s cluster 
connectivity in the plugin. Are you sure that kube config file that you pass to 
the k8splugin assures connectivity with k8s API of the cluster? Check 
certificated and server IP address from the kube config file. Maybe you do not 
expose all the necessary ports for this VM?

Regards,

[Logo Orange]

Łukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<http://www.orange.pl/>



From: [email protected] <[email protected]> On Behalf Of 
Aniello Paolo Malinconico via lists.onap.org
Sent: Friday, January 8, 2021 3:39 PM
To: [email protected]
Subject: [onap-discuss] [GCP - 5GC Use Case] Fails during CreateVfModuleBB 
execution


Hi all,
I am testing the 5GC Use 
Case<https://wiki.onap.org/display/DW/5GC+Instantiation+and+Modify+Config+flow+through+CDS>
 on Google Cloud Platform. I have a k8s cluster for ONAP deployment (using gke) 
and a KUD instance (simple VM on GCP).
After all steps, during the POST Instantation to SO using Macro, the workflow 
ends with the following error:

 "requestStatus": "IN_PROGRESS",

    "statusMessage": "Exception occured during vnf adapter: 
org.onap.so.adapters.vdu.VduException: MsoMulticloudUtils (instantiateVDU): 
createStack Exception.",

    "flowStatus": "Execution of ConfigAssignVnfBB has completed successfully, 
next invoking CreateVfModuleBB (Execution Path progress: BBs completed = 7; BBs 
remaining = 11).",

    "retryStatusMessage": "Retry 1/5 will be started in PT10S",

    "progress": 41,

    "startTime": 1610114972000,

    "endTime": 1610115068000,

    "source": "Postman",

    "vnfId": "38f13ba5-9e97-469a-8b66-5926b0cdb0f1",

    "tenantId": "2b7538dc18eb45e582149701705c4753",

    "requestBody": "{\n    \"requestDetails\": {\n        \"subscriberInfo\": 
{\n            \"globalSubscriberId\": \"TIM\"\n        },\n        
\"requestInfo\": {\n            \"suppressRollback\": false,\n            
\"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n            
\"requestorId\": \"cdbe2f2b-0933-4686-98a2-760744885a08\",\n            
\"instanceName\": \"SharedPostman-395\",\n            \"source\": \"Postman\"\n 
       },\n        \"cloudConfiguration\": {\n            \"lcpCloudRegionId\": 
\"k8sregionfour\",\n            \"tenantId\": 
\"2b7538dc18eb45e582149701705c4753\",\n            \"cloudOwner\": 
\"CloudOwner\"\n        },\n        \"requestParameters\": {\n            
\"subscriptionServiceType\": \"vfwk8s\",\n            \"userParams\": [\n       
         {\n                    \"Homing_Solution\": \"none\"\n                
},\n                {\n                    \"service\": {\n                     
   \"instanceParams\": [\n                            {}\n                      
  ],\n                        \"instanceName\": \"SharedPostman-395\",\n        
                \"resources\": {\n                            \"vnfs\": [\n     
                           {\n                                    
\"modelInfo\": {\n                                        \"modelName\": 
\"fiveg1\",\n                                        \"modelVersionId\": 
\"035018c2-8555-4b6d-aae5-3e57c8c30c1f\",\n                                     
   \"modelInvariantUuid\": \"0ad7228c-3ad0-48c6-a455-41abed1a0f5d\",\n          
                              \"modelVersion\": \"1.0\",\n                      
                  \"modelCustomizationId\": 
\"b5c859f2-50d3-49a2-8a20-2d917678fbcc\",\n                                     
   \"modelInstanceName\": \"fiveg1 0\"\n                                    
},\n                                    \"cloudConfiguration\": {\n             
                           \"lcpCloudRegionId\": \"k8sregionfour\",\n           
                             \"tenantId\": 
\"2b7538dc18eb45e582149701705c4753\"\n                                    },\n  
                                  \"platform\": {\n                             
           \"platformName\": \"test\"\n                                    },\n 
                                   \"lineOfBusiness\": {\n                      
                  \"lineOfBusinessName\": \"LOB-Demonstration\"\n               
                     },\n                                    
\"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n                
                    \"instanceName\": \"fiveg1 0\",\n                           
         \"instanceParams\": [\n                                        {       
        \n                                                    
\"fiveg10_snssai\": \"xxx\",\n                                                  
  \"testfive50_snssai\": \"yyy\",\n                                             
       \"singletest\": \"singletestssss\",\n                                    
                \"snssai_1\": \"000Ale-001\",\n                                 
                   \"snssai_2\": \"000test000-0002\",\n                         
                           \"snssai_3\": \"000test000-0003\",\n                 
                                   \"status_1\": \"created\",\n                 
                                   \"status_2\": \"active-002\",\n              
                                      \"status_3\": \"deactive-003\",\n         
                                           \"config.test\": \"ciaio\",\n        
                                            \"amfNameBackup\": 
\"backup_AMF1\",\n                                                    
\"config.amfNameBackup\": \"backup_AMF2\",\n                                    
                \"smfNameBackup\": \"backup_SMF\",\n                            
                        \"config.smfNameBackup\": \"backup_SMF\",\n             
                                       \"upfNameBackup\": \"backup_UPF1\",\n    
                                                \"config.upfNameBackup\": 
\"backup_UPF2\",\n                                                    
\"sdnc_model_name\": \"5G_Core\",\n                                             
       \"sdnc_model_version\": \"1.0.38\",\n                                    
                \"sdnc_artifact_name\": \"vnf\"               \n                
                        }\n                                    ],\n             
                       \"vfModules\": [\n                                       
  {\n                                            \"modelInfo\": {\n             
                                   \"modelName\": \"Fiveg1..amf..module-3\",\n  
                                              \"modelVersionId\": 
\"15ce4764-b709-4aa9-8e2e-3c5ad76e6f10\",\n                                     
           \"modelInvariantUuid\": \"0aa5f13a-b54a-4223-b93e-486c8fcffcdb\",\n  
                                              \"modelVersion\": \"1\",\n        
                                        \"modelCustomizationId\": 
\"5bd45261-6ae5-41a7-a825-6338fc1b6690\"\n                                      
      },\n                                            \"instanceName\": 
\"SharedPostman-395-amf\",\n                                            
\"instanceParams\": [\n                                                {\n      
                                              \"testfive50_snssai\": \"yyy\",\n 
                                                   \"fiveg10_snssai\": 
\"xxx\",\n                                                    
\"sdnc_model_name\": \"5G_Core\",\n                                             
       \"sdnc_model_version\": \"1.0.38\",\n                                    
                \"sdnc_artifact_name\": \"vnf\",\n                              
                      \"vf_module_label\": \"amf\"\n                            
                    }\n                                            ]\n          
                              },\n                                        {\n   
                                         \"modelInfo\": {\n                     
                           \"modelName\": \"Fiveg1..smf..module-2\",\n          
                                      \"modelVersionId\": 
\"dec683f6-2893-4aa9-b28e-29c9c36fc498\",\n                                     
           \"modelInvariantUuid\": \"86b7a877-12b3-4a82-8bcb-7154f236c9b1\",\n  
                                              \"modelVersion\": \"1\",\n        
                                        \"modelCustomizationId\": 
\"bf8d8aa8-dd5d-43d8-b7b8-b92d4147e05c\"\n                                      
      },\n                                            \"instanceName\": 
\"SharedPostman-395-smf\",\n                                            
\"instanceParams\": [\n                                                {\n      
                                              \"fiveg10_snssai\": \"xxx\",\n    
                                                \"testfive50_snssai\": 
\"yyy\",\n                                                    
\"sdnc_model_name\": \"5G_Core\",\n                                             
       \"sdnc_model_version\": \"1.0.38\",\n                                    
                \"sdnc_artifact_name\": \"vnf\",\n                              
                      \"vf_module_label\": \"smf\"\n                            
                    }\n                                            ]\n          
                              },\n                                        {\n   
                                         \"modelInfo\": {\n                     
                           \"modelName\": \"Fiveg1..upf..module-1\",\n          
                                      \"modelVersionId\": 
\"aa8f6db4-09a6-40c6-bbb6-61992e0fc4bc\",\n                                     
           \"modelInvariantUuid\": \"dc87c6e1-334d-48f0-aa5d-b03715b7ca0a\",\n  
                                              \"modelVersion\": \"1\",\n        
                                        \"modelCustomizationId\": 
\"f9dcaf45-e95e-430f-b5b8-92fd64f537c9\"\n                                      
      },\n                                            \"instanceName\": 
\"SharedPostman-395-upf\",\n                                            
\"instanceParams\": [\n                                                {\n      
                                              \"fiveg10_snssai\": \"xxx\",\n    
                                                \"testfive50_snssai\": 
\"yyy\",\n                                                    
\"sdnc_model_name\": \"5G_Core\",\n                                             
       \"sdnc_model_version\": \"1.0.38\",\n                                    
                \"sdnc_artifact_name\": \"vnf\",\n                              
                      \"vf_module_label\": \"upf\"\n                            
                    }\n                                            ]\n          
                              },\n                                        {\n   
                                         \"modelInfo\": {\n                     
                           \"modelName\": 
\"Fiveg1..base_template..module-0\",\n                                          
      \"modelVersionId\": \"2c8a3756-6d2c-47d2-a4ca-c49476981045\",\n           
                                     \"modelInvariantUuid\": 
\"a2f9d210-9f5c-42e1-b3db-bf6ab2c90997\",\n                                     
           \"modelVersion\": \"1\",\n                                           
     \"modelCustomizationId\": \"8ff63cb4-ff71-4ab5-86f3-503ef0091e10\"\n       
                                     },\n                                       
     \"instanceName\": \"SharedPostman-395-base_template\",\n                   
                         \"instanceParams\": [\n                                
                {\n                                                    
\"testfive50_snssai\": \"yyy\",\n                                               
     \"fiveg10_snssai\": \"xxx\",\n                                             
       \"sdnc_model_name\": \"5G_Core\",\n                                      
              \"sdnc_model_version\": \"1.0.38\",\n                             
                       \"sdnc_artifact_name\": \"vnf\",\n                       
                             \"vf_module_label\": \"base_template\"\n           
                                     }\n                                        
    ]\n                                        }\n                              
      ]\n                                }\n                            ]\n     
                   },\n                        \"modelInfo\": {\n               
             \"modelVersion\": \"1.0\",\n                            
\"modelVersionId\": \"a104f246-cec9-45d5-bc77-107017515d69\",\n                 
           \"modelInvariantId\": \"28ad9bc8-d241-4018-a14d-9642b3783dbb\",\n    
                        \"modelName\": \"svc_5GC\",\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\": 
\"a104f246-cec9-45d5-bc77-107017515d69\",\n            \"modelInvariantId\": 
\"28ad9bc8-d241-4018-a14d-9642b3783dbb\",\n            \"modelName\": 
\"svc_5GC\",\n            \"modelType\": \"service\"\n        }\n    }\n}",

    "lastModifiedBy": "CamundaBPMN",

    "modifyTime": "2021-01-08T14:11:08.000+0000",

    "cloudRegion": "k8sregionfour",

    "serviceInstanceId": "cad7a273-9a2c-4bf2-9a78-9dcce88dbf31",

    "serviceInstanceName": "SharedPostman-395",

    "requestScope": "service",

    "requestAction": "createInstance",

    "requestorId": "cdbe2f2b-0933-4686-98a2-760744885a08",

    "requestUrl": 
"http://34.90.118.226:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances";,

    "extSystemErrorSource": "OPENSTACK",






So the workflow ends during the first CreateVfModuleBB execution.
Attached file are the multicloud-k8s log and the so-openstack-adapter log.

Any ideas to address this issue?

Thanks,
Aniello


--
-----------------------------------------------------------------
TIM
Aniello Paolo Malinconico
Chief Innovation & Partnership Office
Technology Innovation

TIM S.p.A.
Via G. Reiss Romoli, 274 – 10148 TORINO
email: 
[email protected]<mailto:[email protected]>
Tim Official: Facebook<https://www.facebook.com/TimOfficialPage> - 
Twitter<https://twitter.com/tim_official> - www.tim.it<http://www.tim.it/>





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


Reply via email to