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
| |#                                                                            
                                                                           | 
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
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
| |                                                                             
               #                                                           | 
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

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";
},
"infraActiveRequests" : {
"href" : 
"http://so-request-db-adapter.onap:8083/infraActiveRequests/dc1a086f-88e4-4909-8534-daf7cb815c7e";
}
}

Appreciate your help and support for fixing this issue.

Regards,

Kamel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18922): https://lists.onap.org/g/onap-discuss/message/18922
Mute This Topic: https://lists.onap.org/mt/34107360/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to