Won, The owningEntityId your passing is invalid for your openstack installation.
Please do a GET entity call from A&AI and correctly populate the owning entity id in the body of the SO payload for transaction CDS #3 - SO Self-Serve Service Assign & Activate. "owningEntity": { "owningEntityId": "abb4dc7e-2741-4495-8b7a-1f9834d0c3ea", curl --location --request GET 'https://{{k8s}}:30233/aai/v11/business/owning-entities' \ --header 'Authorization: Basic QUFJOkFBSQ==' \ --header 'X-TransactionId: 999' \ --header 'X-FromAppId: AAI' \ --header 'Accept: application/json' Yuriy Malakov From: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of Won Sent: Tuesday, June 30, 2020 7:43 AM To: onap-discuss@lists.onap.org Subject: [onap-discuss] [SDNC][SO][frankfurt] Authentication failed issue Hi SDNC team, I had a problem while testing the frankfurt vLB use case. I did the following in Postman. 1. CDS Bootstrap 2. CDS Enrich Blueprint Save 3. CDS #1 - SDC Catalog Service 4. CDS #2 - SO Catalog DB Service VNFs - CDS 5. CDS #3 - SO Self-Serve Service Assign & Activate 6. CDS #4 - SO Infra Active Requests - CDS I requested SO instantiation through CDS #3 API call, but the response to request CDS #4 comes as follows. { "requestId": "f2db70a4-4752-4d34-b4af-41174604caa4", "requestStatus": "IN_PROGRESS", "statusMessage": "Exception in org.onap.so.bpmn.infrastructure.aai.tasks.AAICreateTasks.createOwningEntity ", "rollbackStatusMessage": "Error from SDNC: Service 40edcc2d-2e83-4588-a9a5-b872e1ffd9d2 is not found", "retryStatusMessage": "Retry 4/5 will be started in PT10S", "progress": 100, "startTime": "2020-06-30T11:15:09.000+0000", "endTime": "2020-06-30T11:15:27.000+0000", "source": "VID", "tenantId": "1e9c8586aec441c389654f37d5112e01", "requestBody": "{\n\t\"requestDetails\": {\n\t\t\"subscriberInfo\": {\n\t\t\t\"globalSubscriberId\": \"Demonstration\"\n\t\t},\n\t\t\"requestInfo\": {\n\t\t\t\"suppressRollback\": false,\n\t\t\t\"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n\t\t\t\"requestorId\": \"adt\",\n\t\t\t\"instanceName\": \"demoVLB_CDS_02\",\n\t\t\t\"source\": \"VID\"\n\t\t},\n\t\t\"cloudConfiguration\": {\n\t\t\t\"lcpCloudRegionId\": \"RegionOne\",\n\t\t\t\"tenantId\": \"1e9c8586aec441c389654f37d5112e01\",\n\t\t\t\"cloudOwner\": \"CloudOwner\"\n\t\t},\n\t\t\"requestParameters\": {\n\t\t\t\"subscriptionServiceType\": \"vLB\",\n\t\t\t\"userParams\": [\n\t\t\t\t{\n\t\t\t\t\t\"Homing_Solution\": \"none\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"service\": {\n\t\t\t\t\t\t\"instanceParams\": [],\n\t\t\t\t\t\t\"instanceName\": \"demoVLB_CDS_02\",\n\t\t\t\t\t\t\"resources\": {\n\t\t\t\t\t\t\t\"vnfs\": [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\"modelInfo\": {\n\t\t\t\t\t\t\t\t\t\t\"modelName\": \"vLB_CDS 6e949c20-b8d7\",\n\t\t\t\t\t\t\t\t\t\t\"modelVersionId\": \"2226ceb1-a16a-4b0a-8a13-9f626ac21c18\",\n\t\t\t\t\t\t\t\t\t\t\"modelInvariantUuid\": \"16ea31a0-724a-4807-b848-e29d9ab9bf45\",\n\t\t\t\t\t\t\t\t\t\t\"modelVersion\": \"1.0\",\n\t\t\t\t\t\t\t\t\t\t\"modelCustomizationId\": \"1647a30b-4238-4475-beb9-f41276f84772\",\n\t\t\t\t\t\t\t\t\t\t\"modelInstanceName\": \"vLB_CDS 6e949c20-b8d7 0\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"cloudConfiguration\": {\n\t\t\t\t\t\t\t\t\t\t\"lcpCloudRegionId\": \"RegionOne\",\n\t\t\t\t\t\t\t\t\t\t\"tenantId\": \"1e9c8586aec441c389654f37d5112e01\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"platform\": {\n\t\t\t\t\t\t\t\t\t\t\"platformName\": \"test\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"lineOfBusiness\": {\n\t\t\t\t\t\t\t\t\t\t\"lineOfBusinessName\": \"LOB-Demonstration\"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n\t\t\t\t\t\t\t\t\t\"instanceName\": \"vLB_CDS 6e949c20-b8d7 0\",\n\t\t\t\t\t\t\t\t\t\"instanceParams\": [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"cloud_env\": \"openstack\",\n\t\t\t\t\t\t\t\t\t\t\t\"dcae_collector_ip\": \"192.168.1.110\",\n\t\t\t\t\t\t\t\t\t\t\t\"dcae_collector_port\": \"30417\",\n\t\t\t\t\t\t\t\t\t\t\t\"demo_artifacts_version\": \"1.6.0\",\n\t\t\t\t\t\t\t\t\t\t\t\"flavor_name\": \"m1.medium\",\n\t\t\t\t\t\t\t\t\t\t\t\"image_name\": \"ubuntu:yk\",\n\t\t\t\t\t\t\t\t\t\t\t\"install_script_version\": \"1.6.0\",\n\t\t\t\t\t\t\t\t\t\t\t\"key_name\":\"onap-key\",\n\t\t\t\t\t\t\t\t\t\t\t\"nb_api_version\":\"1.2.0\",\n\t\t\t\t\t\t\t\t\t\t\t\"nexus_artifact_repo\":\"https://nexus.onap.org<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=jFv0XZyAQghruHBBJjig_IdBJjUpxcT7EjOLxzMB_l0&s=yaCgZkHnFu3-YsM_zrNU27h5h08k1Er-m_v9FwhFY7k&e=>\",\n\t\t\t\t\t\t\t\t\t\t\t\"sec_group\": \"onap_sg_xO4N\",\n\t\t\t\t\t\t\t\t\t\t\t\"onap_private_net_id\": \"970db274-9ca1-49de-b622-f0db1a27f0fd\",\n\t\t\t\t\t\t\t\t\t\t\t\"onap_private_subnet_id\": \"1bdc44ff-1282-4e0d-91bd-ca44195ac0fd\",\n\t\t\t\t\t\t\t\t\t\t\t\"pub_key\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQS08cNn8re+CbLkN24xJvR+yY7MigbtQxfjG6neYWF6lIbKvJmeFzlyjQSjmSM3Do4dQccbcoNp6cLOfgxoL3HA2KpHJFCmKPDT5mrvYFLZvWoExphCWuHY5yYtvZGJ+oDoDDNTr0q1CRs3EUR6h0RxNhINu5D4pk8dlLVjjp8JdY0XhDyNBx5XZ4ApiNOsuuY6aPMYssXflzI5DdpaDJJj6P4pozWRzrmA01Qgp4boy/0rmivEtjjNkkT8XNcna2DxmiD+jRtELRjQAjOwzuigZpu9U6xZx1K3FmqgQ3QFlVsgF9ZoIC9fXWenTJOs+/sFSRQIc8RWz3QopMO9vl\",\n\t\t\t\t\t\t\t\t\t\t\t\"public_net_id\": \"public\",\n\t\t\t\t\t\t\t\t\t\t\t\"repo_url_artifacts\":\"https://nexus.onap.org/content/groups/staging\<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_groups_staging-255C&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=jFv0XZyAQghruHBBJjig_IdBJjUpxcT7EjOLxzMB_l0&s=FsibbOn9D0_GvED2ZqpQJ5cjYZz4-wVzzvMbMqbqsfQ&e=>",\n\t\t\t\t\t\t\t\t\t\t\t\"repo_url_blob\":\"https://nexus.onap.org/content/repositories/raw\<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_raw-255C&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=jFv0XZyAQghruHBBJjig_IdBJjUpxcT7EjOLxzMB_l0&s=TnqsVGFEGSzhbkeMjrgEALrg9dPU87OO5GM2cd2ZAWU&e=>",\n\t\t\t\t\t\t\t\t\t\t\t\"vlb_0_int_pktgen_private_port_0_mac\": \"fa:16:3e:00:00:10\",\n\t\t\t\t\t\t\t\t\t\t\t\"vpg_0_int_pktgen_private_port_0_mac\": \"fa:16:3e:00:00:20\"\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\t\"vfModules\": [\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"modelInfo\": {\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelName\": \"VlbCds6e949c20B8d7..base_template..module-0\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersionId\": \"3d1d68f6-6366-49c3-bac7-c9e8b7e242d0\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelInvariantUuid\": \"35fdfd90-2102-4ec9-ae83-6a9fc37d4e30\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersion\": \"1\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelCustomizationId\": \"1cbbda9e-2554-4487-b5f0-72bc57e48bf8\"\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\"instanceName\": \"VlbCds6e949c20B8d7..base_template..module-0\",\n\t\t\t\t\t\t\t\t\t\t\t\"instanceParams\": [\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"sec_group\": \"default\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"public_net_id\": \"public\"\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"modelInfo\": {\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelName\": \"VlbCds6e949c20B8d7..vpkg..module-1\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersionId\": \"fc78cf68-42cb-49fa-9aa2-61289af45b62\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelInvariantUuid\": \"79eb04e8-8175-4b37-9440-d2f36a0dc867\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersion\": \"1\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelCustomizationId\": \"88cc19df-4404-4579-912c-594e250168a2\"\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\"instanceName\": \"VlbCds6e949c20B8d7..vpkg..module-1\",\n\t\t\t\t\t\t\t\t\t\t\t\"instanceParams\": [\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"sec_group\": \"default\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"public_net_id\": \"public\"\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"modelInfo\": {\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelName\": \"VlbCds6e949c20B8d7..vlb..module-2\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersionId\": \"f2586b02-085c-4511-affd-e4799f395572\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelInvariantUuid\": \"7c1d2d46-991a-4661-9431-651d7e9efd08\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersion\": \"1\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelCustomizationId\": \"36fb9650-89ad-4885-aa0a-76c09a660b37\"\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\"instanceName\": \"VlbCds6e949c20B8d7..vlb..module-2\",\n\t\t\t\t\t\t\t\t\t\t\t\"instanceParams\": [\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"sec_group\": \"default\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"public_net_id\": \"public\"\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\"modelInfo\": {\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelName\": \"VlbCds6e949c20B8d7..vdns..module-3\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersionId\": \"9f0ba668-0aaf-4d4e-b1b6-c2fbe6dc1f14\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelInvariantUuid\": \"b0d96511-26fa-4c7e-a92c-ec3d1e22c82d\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelVersion\": \"1\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"modelCustomizationId\": \"546e7baf-ebd5-4eb2-8e62-74b382110fda\"\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\"instanceName\": \"VlbCds6e949c20B8d7..vdns..module-3\",\n\t\t\t\t\t\t\t\t\t\t\t\"instanceParams\": [\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"sec_group\": \"default\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"public_net_id\": \"public\"\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"modelInfo\": {\n\t\t\t\t\t\t\t\"modelVersion\": \"1.0\",\n\t\t\t\t\t\t\t\"modelVersionId\": \"e5986b85-429f-4f75-b41c-a11d106e2136\",\n\t\t\t\t\t\t\t\"modelInvariantId\": \"b435a1a2-d01b-4779-8c85-709b71a787b5\",\n\t\t\t\t\t\t\t\"modelName\": \"demoVLB_CDS\",\n\t\t\t\t\t\t\t\"modelType\": \"service\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"aLaCarte\": false\n\t\t},\n\t\t\"project\": {\n\t\t\t\"projectName\": \"Project-Demonstration\"\n\t\t},\n\t\t\"owningEntity\": {\n\t\t\t\"owningEntityId\": \"abb4dc7e-2741-4495-8b7a-1f9834d0c3ea\",\n\t\t\t\"owningEntityName\": \"OE-Demonstration\"\n\t\t},\n\t\t\"modelInfo\": {\n\t\t\t\"modelVersion\": \"1.0\",\n\t\t\t\"modelVersionId\": \"e5986b85-429f-4f75-b41c-a11d106e2136\",\n\t\t\t\"modelInvariantId\": \"b435a1a2-d01b-4779-8c85-709b71a787b5\",\n\t\t\t\"modelName\": \"demoVLB_CDS\",\n\t\t\t\"modelType\": \"service\"\n\t\t}\n\t}\n}", "lastModifiedBy": "CamundaBPMN", "modifyTime": "2020-06-30T11:15:27.000+0000", "cloudRegion": "RegionOne", "serviceInstanceId": "40edcc2d-2e83-4588-a9a5-b872e1ffd9d2", "serviceInstanceName": "demoVLB_CDS_02", "requestScope": "service", "requestAction": "createInstance", "requestorId": "adt", "requestUrl": "http://192.168.1.110:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.1.110-3A30277_onap_so_infra_serviceInstantiation_v7_serviceInstances&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=jFv0XZyAQghruHBBJjig_IdBJjUpxcT7EjOLxzMB_l0&s=nJkHgm7L7SsSv0dr6283PfjAQ2XDBu_1moCaqBf--F4&e=>", "extSystemErrorSource": "UNKNOWN", "rollbackExtSystemErrorSource": "SDNC", "tenantName": "admin", "cloudApiRequests": [], "requestURI": "f2db70a4-4752-4d34-b4af-41174604caa4", "_links": { "self": { "href": "http://192.168.1.110:32387/infraActiveRequests/f2db70a4-4752-4d34-b4af-41174604caa4<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.1.110-3A32387_infraActiveRequests_f2db70a4-2D4752-2D4d34-2Db4af-2D41174604caa4&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=jFv0XZyAQghruHBBJjig_IdBJjUpxcT7EjOLxzMB_l0&s=UH7HCnUNRJVPXES1E2eei59N-M_it7dNTlb2EKL2RN4&e=>" }, "infraActiveRequests": { "href": "http://192.168.1.110:32387/infraActiveRequests/f2db70a4-4752-4d34-b4af-41174604caa4<https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.1.110-3A32387_infraActiveRequests_f2db70a4-2D4752-2D4d34-2Db4af-2D41174604caa4&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=jFv0XZyAQghruHBBJjig_IdBJjUpxcT7EjOLxzMB_l0&s=UH7HCnUNRJVPXES1E2eei59N-M_it7dNTlb2EKL2RN4&e=>" } } } I created and tested various services through the SDC UI and Postman, but they all gave the same results 'Service is not found in SDNC'. I attached SO request message and SDNC logs file(kubectl -n onap exec -it onap-sdnc-0 -- tail -f /var/log/onap/sdnc/karaf.log) I think SDNC has an authentication problem, but I am not sure what the problem is. Any help would be greatly appreciated. Thanks, Won -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21545): https://lists.onap.org/g/onap-discuss/message/21545 Mute This Topic: https://lists.onap.org/mt/75211834/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-