Aniello, Did you execute the robot script to distribute the vFW Package?
./demo-k8s.sh onap distributeVFWNG Please refer to the latest video recording and postman collection as FYI: https://wiki.onap.org/display/DW/Video+Demo+for+vFW+CDS+Casablanca [cid:[email protected]] Yuriy Malakov SDN-CP Lead Engineer 732-420-3030, Q-Chat<qto://talk/ym9479> [email protected]<mailto:[email protected]> From: [email protected] <[email protected]> On Behalf Of MALINCONICO ANIELLO PAOLO Sent: Tuesday, April 30, 2019 6:16 AM To: [email protected] Subject: [onap-discuss] [MACRO Instantiation] Failed caused by Error from SDNC: Unable to generate VM name Hi all, I am trying to instantiate a simple service using the MACRO flag for the "oneclick-instantiation" (refers to https://wiki.onap.org/display/DW/vFW+CDS+Casablanca?focusedCommentId=60885317#vFWCDSCasablanca-DataDictionary)<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_vFW-2BCDS-2BCasablanca-3FfocusedCommentId-3D60885317-23vFWCDSCasablanca-2DDataDictionary-29&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=eSwraEKKzhD9rD7Y0i5eYTVmjJA8OiN1vUF1YSNxmxQ&s=VaSSsymOeNp69BBbP57AW95Jw7JLScR4A5pHwU3T-lk&e=> The service is composed only by a vsp that represent a virtual machine . After the distribution, i have sent the service creation api by Postman : POST http://{{mso_ip}}:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances<http://%7b%7bmso_ip%7d%7d:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances> { "requestDetails": { "subscriberInfo": { "globalSubscriberId": "TIM" }, "requestInfo": { "suppressRollback": true, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "requestorId": "adt", "instanceName": "svc_20190430_macro", "source": "VID" }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "34f1fe41d1a0483dbd1aa94c26dc5545" }, "requestParameters": { "subscriptionServiceType": "casablanca", "userParams": [ { "Homing_Solution": "none" }, { "service": { "instanceParams": [ ], "instanceName": "svc_20190430_macro_1", "resources": { "vnfs": [ { "modelInfo": { "modelName": "20190220_vsp_vm", "modelVersionId": "0946fde0-8042-4f73-93f0-aeca50ede63a", "modelInvariantUuid": "8be4a024-4433-49b8-bf7f-de3750496ca3", "modelVersion": "1.0", "modelCustomizationId": "10acbb88-41b8-44f9-88f3-568b1f4a363e", "modelInstanceName": "20190220_vsp_vm 0" }, "cloudConfiguration": { "lcpCloudRegionId": "RegionOne", "tenantId": "34f1fe41d1a0483dbd1aa94c26dc5545" }, "platform": { "platformName": "test" }, "lineOfBusiness": { "lineOfBusinessName": "someValue" }, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "instanceName": "vnf_20190430_vm_1", "instanceParams": [ { "image_id": "ubuntu-server-14.04", "vf_module_id": "vfmodule_vm_20190301_01", "vnf_id": "vm_20190301_01" } ], "vfModules": [ { "modelInfo": { "modelName": "20190220VspVm..one_vm_fip_nr_pk..module-0", "modelVersionId": "6e4284f0-588c-4fec-8f24-c9de5d916489", "modelInvariantUuid": "530602ad-f5ff-4775-9ba2-26c4b90d188b", "modelVersion": "1", "modelCustomizationId": "aed63e91-f0d6-4bc8-b3b7-2900d5519e9f" }, "instanceName": "vf_module_20190430_1", "instanceParams": [ ] } ] } ] }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "c0b00f51-7d41-4668-886f-0e915dde2a96", "modelInvariantId": "a4ef9116-44ff-4616-917e-f4d4b77528bc", "modelName": "svc_20190430_macro", "modelType": "service" } } } ], "aLaCarte": false }, "project": { "projectName": "Project-Demonstration" }, "owningEntity": { "owningEntityId": "24ef5425-bec4-4fa3-ab03-c0ecf4ebac96", "owningEntityName": "OE-Demonstration-1" }, "modelInfo": { "modelVersion": "1.0", "modelVersionId": "c0b00f51-7d41-4668-886f-0e915dde2a96", "modelInvariantId": "a4ef9116-44ff-4616-917e-f4d4b77528bc", "modelName": "svc_20190430_macro", "modelType": "service" } } } But it fails with the following error: 2019-04-30T09:44:30.124Z|e8b1ea89-8f99-4a40-8396-13147d7731a9| org.onap.so.client.sdnc.SDNCClient - ResponseCode: 500 ResponseMessage: Unable to generate VM name: naming-policy-generate-name: input.policy-instance-name is not set and input.policy is ASSIGN 2019-04-30T09:44:30.124Z|e8b1ea89-8f99-4a40-8396-13147d7731a9| org.onap.so.client.sdnc.SDNCClient - RA_RESPONSE_FROM_SDNC 2019-04-30T09:44:30.125Z|e8b1ea89-8f99-4a40-8396-13147d7731a9| org.onap.so.client.exception.ExceptionBuilder - Error from SDNC: Unable to generate VM name: naming-policy-generate-name: input.policy-instance-name is not set and input.policy is ASSIGN org.onap.so.client.exception.BadResponseException: Error from SDNC: Unable to generate VM name: naming-policy-generate-name: input.policy-instance-name is not set and input.policy is ASSIGN Anyone can help me with this issue? Thanks a lot, Aniello Paolo Malinconico -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16822): https://lists.onap.org/g/onap-discuss/message/16822 Mute This Topic: https://lists.onap.org/mt/31418590/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
