Chenglong, Please follow step 4 on https://wiki.onap.org/display/DW/vCPE+Use+Case+Tutorial%3A+Design+and+Deploy+based+on+ONAP#vCPEUseCaseTutorial:DesignandDeploybasedonONAP-ChecklistforCasablancaRelease.
Thanks, -Yang From: Liu Chenglong [mailto:[email protected]] Sent: Sunday, January 27, 2019 10:11 PM To: FREEMAN, BRIAN D <[email protected]>; Yang Xu (Yang, Fixed Network) <[email protected]> Cc: Liu Chenglong <[email protected]>; [email protected]; [email protected] Subject: [onap-discuss] [integration] vcpe use case: Invalid Template Reference Hi, Brian and Yang: When we run vcpe.py infra, we had a problem with create subnetwork and information like this: root@onap-robot:~/autotest.origin#<mailto:root@onap-robot:~/autotest.origin#> ./vcpe.py infra ---------------------------------------------------------------------------------------------------- vcpe.py: Brief info about this program vcpe.py init: Add customer service data to SDNC and SO DBs. vcpe.py infra: Deploy infrastructure, including DHCP, AAA, DNS, Web Server, vBNG, vGMUX, vBRG. vcpe.py customer: Deploy customer service, including vGW and VxLANs vcpe.py loop: Test closed loop control ---------------------------------------------------------------------------------------------------- Ready to deploy infrastructure? y/n: y Initializing configuration openstackcmd: nova --os-auth-url http://10.21.19.68:5000 --os-project-domain-name default --os-password onapr2 --os-region-name RegionOne --os-username onapr2 --os-user-domain-id default --os-tenant-id 9849a948355747c2ae5933d195065973 --os-project-domain-id default list Preloading network mux_gw Preloading network brg_bng Preloading network bng_mux Preloading network cpe_public Preloading network cpe_signal ---------------------------------------------------------------------------------- Start to create entire service defined in csar: /home/ubuntu/autotest.origin/csar/service-VcpesvcInfra1222a-csar.csar Parsing csar ... Parser found a network: cpe_public Parser found a VNF: vcpevsp_infra_1222a 0 Parser found a network: cpe_signal Parser found a VF module: VcpevspInfra1222a..base_vcpe_infra..module-0 Creating service instance: vcpe_svc_vcpesvc_infra_1222a_201901280224. http://10.21.19.42:8080/ecomp/mso/infra/serviceInstances/v4 | | # | 100 Elapsed Time: 0:00:01 Waiting for AAI traversal to complete... | | # | 100 Elapsed Time: 0:00:07 Creating network: vcpe_net_cpe_public_201901280224 http://10.21.19.42:8080/ecomp/mso/infra/serviceInstances/v4/f3695755-0a58-4214-836d-5007cfd502cf/networks Request failed. { "request": { "instanceReferences": { "networkInstanceName": "vcpe_net_cpe_public_201901280224", "requestorId": "vCPE-Robot", "serviceInstanceId": "f3695755-0a58-4214-836d-5007cfd502cf" }, "requestDetails": { "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "9849a948355747c2ae5933d195065973" }, "modelInfo": { "modelCustomizationId": "31af5997-62d1-4e33-b233-0c258b53d6b8", "modelCustomizationName": "cpe_public", "modelInvariantId": "a8edf370-a078-495f-8e13-c0d3082ef129", "modelName": "Generic NeutronNet", "modelType": "network", "modelVersion": "1.0", "modelVersionId": "7545e54c-3b6d-4808-a965-bb6a4263591a" }, "platform": { "platformName": "Platform-Demonstration" }, "relatedInstanceList": [ { "relatedInstance": { "instanceId": "f3695755-0a58-4214-836d-5007cfd502cf", "modelInfo": { "modelInvariantId": "914722c1-5088-4a26-8bf0-65095ad3752c", "modelName": "vcpesvc_infra_1222a", "modelType": "service", "modelVersion": "1.0", "modelVersionId": "2e0404f8-2ab3-48b4-9a43-07df4a324877" } } } ], "requestInfo": { "instanceName": "vcpe_net_cpe_public_201901280224", "productFamilyId": "f9457e8c-4afd-45da-9389-46acd9bf5116", "requestorId": "vCPE-Robot", "source": "VID", "suppressRollback": true }, "requestParameters": {} }, "requestId": "d67bd9d7-e318-41e8-bb78-86d7cb381443", "requestScope": "network", "requestStatus": { "finishTime": "Mon, 28 Jan 2019 02:24:58 GMT", "percentProgress": 100, "requestState": "FAILED", "statusMessage": "Received error from Network Adapter: 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=InvalidTemplateReference, error.message=The specified reference \"network\" (in subnet_d4df7774-e9ff-42c5-b0bb-d860771ed051.Properties.network_id) is incorrect." }, "requestType": "createInstance", "startTime": "Mon, 28 Jan 2019 02:24:55 GMT" } } | |# | 100 Elapsed Time: 0:00:00 The error message is: "statusMessage": "Received error from Network Adapter: 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=InvalidTemplateReference, error.message=The specified reference \"network\" (in subnet_d4df7774-e9ff-42c5-b0bb-d860771ed051.Properties.network_id) is incorrect." Our openstack release is Pike and our onap release is Beijing and vcpe version is 1.0. Please help us to solve this issue. ---------------------------------------------- Regards, Liu Chenglong [email protected]<mailto:[email protected]> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15185): https://lists.onap.org/g/onap-discuss/message/15185 Mute This Topic: https://lists.onap.org/mt/29565883/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
