cloud-owner has to be "CloudOwner" not Openstack in AAI. Your DG's in SDNC should be usineg"CloudOwner" as the cloud-owner in the AAI query if you are installing the correct version.
Brian From: [email protected] [mailto:[email protected]] On Behalf Of bharath thiruveedula Sent: Wednesday, January 03, 2018 2:21 PM To: [email protected] Subject: [onap-discuss] aic-cloud-region,regionone not found in AAI Hi when I am trying to add vf-module I get the following error: "requestId": "bb620729-e3a8-4b7b-a8d4-553a545d4e1e", "requestType": "createInstance", "timestamp": undefined, "requestState": "FAILED", "requestStatus": "Received error from SDN-C: aic-cloud-region,RegionOne not found in AAI", "precentProgress": "100" 01/03/18 10:34:44 HTTP Status: Accepted (202) { "requestReferences": { "instanceId": "53565846-ae4b-4de3-8dc5-b02bf8382caa", "requestId": "bb620729-e3a8-4b7b-a8d4-553a545d4e1e" } } I can see the RegionOne in AAI by using the following command curl -k --user AAI:AAI -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "X-TransactionId: robot-ete-1234" -H "X-FromAppId: robot-ete" https://aai.api.simpledemo.openecomp.org:8443/aai/v11/cloud-infrastructure/cloud-regions<https://urldefense.proofpoint.com/v2/url?u=https-3A__aai.api.simpledemo.openecomp.org-3A8443_aai_v11_cloud-2Dinfrastructure_cloud-2Dregions&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=yFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg&s=ymEaKuEBt-hWDCqQpdOjgQhFA5dsHlTvwVIeC40DWAc&e=> | python -m json.tool { "cloud-region": [ { "cloud-owner": "openstack", "cloud-region-id": "RegionOne", "cloud-region-version": "v2.5", "cloud-type": "openstack", "cloud-zone": "cloud zone", "owner-defined-type": "owner type", "resource-version": "1514977504633", "sriov-automation": false }, { "cloud-owner": "openstack", "cloud-region-id": "regionOne", "cloud-region-version": "v1", "cloud-type": "SharedNode", "cloud-zone": "CloudZone", "owner-defined-type": "OwnerType", "resource-version": "1514977301474", "sriov-automation": false } ] } Also, I tried to debug, from where the error is being reported, I can see the error message raising from [1]. But if we see [2] SDNC checks for cloud-owner to be "att-aic"(in my SDNC VM it was set to "CloudOwner") and cloud-region to the region set in the request. Do we need to register cloud-owner as "att-aic"/"CloudOwner" in AAI everytime? Or will it be overridden? Am i missing something here? Best Regards Bharath T [1]https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=blob;f=platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-automated-assign-vfmodule.xml;hb=e80ea1d0ad5b2ec68f7de1b105352f85f65b847d#l34<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Dsdnc_oam.git-3Ba-3Dblob-3Bf-3Dplatform-2Dlogic_vnfapi_src_main_xml_VNF-2DAPI-5Fvnf-2Dtopology-2Dautomated-2Dassign-2Dvfmodule.xml-3Bhb-3De80ea1d0ad5b2ec68f7de1b105352f85f65b847d-23l34&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=yFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg&s=dmktAED6oX5lTX-RL6uuIMjRIuGeqm-GkVUUnmEqRXg&e=> [2]https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=blob;f=platform-logic/vnfapi/src/main/xml/VNF-API_vnf-topology-automated-assign-vfmodule.xml;hb=e80ea1d0ad5b2ec68f7de1b105352f85f65b847d#l26<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Dsdnc_oam.git-3Ba-3Dblob-3Bf-3Dplatform-2Dlogic_vnfapi_src_main_xml_VNF-2DAPI-5Fvnf-2Dtopology-2Dautomated-2Dassign-2Dvfmodule.xml-3Bhb-3De80ea1d0ad5b2ec68f7de1b105352f85f65b847d-23l26&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=yFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg&s=EHhCfCSF0PkfNhFmGAfLyWMHYDJ4OU4YTkgKWEYqhDI&e=>
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
