Not sure I know where vcpe.sh came from – was that on the wiki. Please check that there isnt an extra space in vcpecommon.py where the preload_network_config array is defined.
The keys in that hash may be used to create the name that is giving you the problem. Brian From: [email protected] <[email protected]> On Behalf Of Kamel Idir via Lists.Onap.Org Sent: Wednesday, September 11, 2019 3:22 PM To: [email protected] Subject: [onap-discuss] ONAP Casablanca vCPE - vcpe.sh infra failed to create vcpe_svc_vcpesvc_vbng_070919_201909111636 service Hi Community, I'm encountering a weird issue while deploying vCPE Infrastructure by running vcpe.sh infra script. the service instance vcpe_svc_ infra was deployed successfully (i.e. 02 neutron network cpe_public, cpe_signal, aaa01, dhcp01, dns01 and web01). while the script is creating the entire service instance vcpe_svc_vbng, it created vcpe_bng_mux_201909111636 neutron network successfully BUT the second neutron network vcpe_brg_bng_201909111636 creation was failing with the following error below. 2019-09-11 16:40:07,009 INFO soutils.create_entire_service(): ---------------------------------------------------------------------------------- 2019-09-11 16:40:07,009 INFO soutils.create_entire_service(): Start to create entire service defined in csar: /home/ubuntu/integration/test/vcpe/csar/service-VcpesvcVbng070919-csar.csar 2019-09-11 16:40:07,009 INFO soutils.create_entire_service(): Parsing csar ... 2019-09-11 16:40:07,235 INFO csar_parser.get_vnf_and_network_model_info(): Parser found a network: bng_mux 2019-09-11 16:40:07,235 INFO csar_parser.get_vnf_and_network_model_info(): Parser found a network: brg_bng 2019-09-11 16:40:07,235 INFO csar_parser.get_vnf_and_network_model_info(): Parser found a VNF: vcpevsp_vbng_070919 0 2019-09-11 16:40:07,235 INFO csar_parser.get_vfmodule_model_info(): Parser found a VF module: VcpevspVbng070919..base_vcpe_vbng..module-0 2019-09-11 16:40:07,236 INFO soutils.create_entire_service(): Creating service instance: vcpe_svc_vcpesvc_vbng_070919_201909111. 2019-09-11 16:40:07,236 INFO soutils.submit_create_req(): http://10.111.86.8:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.111.86.8-3A30277_onap_so_infra_serviceInstantiation_v7_serviceInstances&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=pWKWYiF9w52PnCMynqBVBSgJY4Y7ILT_dVcxmKvm8hU&s=x3pV1drFZqierddlE8SLaIL7Tyf9WVmEC74XuygAnlo&e=> | |# | 100 Elapsed Time: 0:00:00 2019-09-11 16:40:09,874 INFO soutils.wait_for_aai(): Waiting for AAI traversal to complete... / |# | 0 Elapsed Time: 0:00:002019-09-11 16:40:10,946 DEBUG vcpecommon.is_node_in_aai(): aai query: https://10.111.86.8:30233/aai/v11/search/nodes-query?search-node-type=service-instance&filter=service-instance-id:EQUALS:5723626b-a2d1-4986-991f-1f2c37c16385<https://urldefense.proofpoint.com/v2/url?u=https-3A__10.111.86.8-3A30233_aai_v11_search_nodes-2Dquery-3Fsearch-2Dnode-2Dtype-3Dservice-2Dinstance-26filter-3Dservice-2Dinstance-2Did-3AEQUALS-3A5723626b-2Da2d1-2D4986-2D991f-2D1f2c37c16385&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=pWKWYiF9w52PnCMynqBVBSgJY4Y7ILT_dVcxmKvm8hU&s=nIQ3kRON7F5AGgW6_YNoIZqaQPFbNsKNILA7RYQfJLY&e=> 2019-09-11 16:40:10,946 DEBUG vcpecommon.is_node_in_aai(): aai response: { "result-data": [ { "resource-link": "/aai/v11/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/5723626b-a2d1-4986-991f-1f2c37c16385", "resource-type": "service-instance" } ] } | |# | 100 Elapsed Time: 0:00:00 2019-09-11 16:40:10,946 INFO soutils.create_entire_service(): Creating network: vcpe_net_bng_mux_201909111636 2019-09-11 16:40:10,947 INFO soutils.submit_create_req(): http://10.111.86.8:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances/5723626b-a2d1-4986-991f-1f2c37c16385/networks<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.111.86.8-3A30277_onap_so_infra_serviceInstantiation_v7_serviceInstances_5723626b-2Da2d1-2D4986-2D991f-2D1f2c37c16385_networks&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=pWKWYiF9w52PnCMynqBVBSgJY4Y7ILT_dVcxmKvm8hU&s=6egoRUusijR4x1CfZWKPQkZdVRRn1bKR5niHlGa_FFI&e=> | | # | 100 Elapsed Time: 0:00:21 2019-09-11 16:40:38,778 INFO soutils.create_entire_service(): Changing subnet name to vcpe_net_bng_mux_subnet_201909111636 2019-09-11 16:40:51,584 INFO vcpecommon.set_subnet_name(): Subnet name set to: vcpe_net_bng_mux_subnet_201909111636 2019-09-11 16:40:51,585 INFO soutils.create_entire_service(): Creating network: vcpe_net_ brg_bng_201909111636 2019-09-11 16:40:51,585 INFO soutils.submit_create_req(): http://10.111.86.8:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances/5723626b-a2d1-4986-991f-1f2c37c16385/networks<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.111.86.8-3A30277_onap_so_infra_serviceInstantiation_v7_serviceInstances_5723626b-2Da2d1-2D4986-2D991f-2D1f2c37c16385_networks&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=pWKWYiF9w52PnCMynqBVBSgJY4Y7ILT_dVcxmKvm8hU&s=6egoRUusijR4x1CfZWKPQkZdVRRn1bKR5niHlGa_FFI&e=> After invistigation in SO APIH adapter I could see the error below. /app/logs/apih # cat error.log 2019-09-11T16:40:51.276Z|869b8ec1-54aa-4803-afe5-7e19fd50ab12|http-nio-8080-exec-7|onap/so/infra/serviceInstantiation/v7/serviceInstances/5723626b-a2d1-4986-991f-1f2c37c16385/networks||||ERROR|||Error parsing request: No valid instanceName format is specified org.onap.so.apihandlerinfra.exceptions.ValidateException: Error parsing request: No valid instanceName format is specified at org.onap.so.apihandlerinfra.exceptions.ValidateException$Builder.build(ValidateException.java:39) So the networkName parameter value which is sent in the soutils create_entire_service() is "vcpe_net_ brg_bng_201909111636" with space instead of vcpe_net_brg_bng_201909111636 that is why the instamceName and networkName are invalid and could not be parsed. 2019-09-10T02:10:25.100Z|dc1a086f-88e4-4909-8534-daf7cb815c7e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "clientRequestId" : null, "action" : "createInstance", "requestStatus" : "FAILED", "statusMessage" : "Error parsing request: No valid instanceName format is specified", "progress" : 100, "startTime" : "2019-09-10T02:10:25.069+0000", "endTime" : "2019-09-10T02:10:25.070+0000", "source" : "VID", "vnfId" : null, "vnfName" : null, "vnfType" : null, "serviceType" : null, "aicNodeClli" : null, "tenantId" : "cc025d84d09249dcb849194fd4468ea7", "provStatus" : null, "vnfParams" : null, "vnfOutputs" : null, "requestBody" : "{\"requestDetails\": {\"relatedInstanceList\": [{\"relatedInstance\": {\"instanceId\": \"1a5fcccf-53ed-4994-bbbb-b9765c05139a\", \"modelInfo\": {\"modelVersionId\" "responseBody" : null, "lastModifiedBy" : "APIH", "modifyTime" : "2019-09-10T02:09:48.824+0000", "requestType" : null, "volumeGroupId" : null, "volumeGroupName" : null, "vfModuleId" : null, "vfModuleName" : null, "vfModuleModelName" : null, "aaiServiceId" : null, "aicCloudRegion" : "regionOne", "callBackUrl" : null, "correlator" : null, "serviceInstanceId" : null, "serviceInstanceName" : null, "requestScope" : "network", "requestAction" : "createInstance", "networkId" : null, "networkName" : "vcpe_net_ brg_bng_201909100206", "networkType" : "", "requestorId" : "vCPE-Robot", "configurationId" : null, "configurationName" : null, "operationalEnvId" : null, "operationalEnvName" : null, "requestURI" : "dc1a086f-88e4-4909-8534-daf7cb815c7e", "_links" : { "self" : { "href" : "http://so-request-db-adapter.onap:8083/infraActiveRequests/dc1a086f-88e4-4909-8534-daf7cb815c7e<https://urldefense.proofpoint.com/v2/url?u=http-3A__so-2Drequest-2Ddb-2Dadapter.onap-3A8083_infraActiveRequests_dc1a086f-2D88e4-2D4909-2D8534-2Ddaf7cb815c7e&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=pWKWYiF9w52PnCMynqBVBSgJY4Y7ILT_dVcxmKvm8hU&s=B_bXXcHMmaVkjPwSAxZUEEeneVwxzraZHsCzWADs5d0&e=>" }, "infraActiveRequests" : { "href" : "http://so-request-db-adapter.onap:8083/infraActiveRequests/dc1a086f-88e4-4909-8534-daf7cb815c7e<https://urldefense.proofpoint.com/v2/url?u=http-3A__so-2Drequest-2Ddb-2Dadapter.onap-3A8083_infraActiveRequests_dc1a086f-2D88e4-2D4909-2D8534-2Ddaf7cb815c7e&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=pWKWYiF9w52PnCMynqBVBSgJY4Y7ILT_dVcxmKvm8hU&s=B_bXXcHMmaVkjPwSAxZUEEeneVwxzraZHsCzWADs5d0&e=>" } } Appreciate your help and support for fixing this issue. Regards, Kamel -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18924): https://lists.onap.org/g/onap-discuss/message/18924 Mute This Topic: https://lists.onap.org/mt/34107360/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
