I see, then robot scripts should also follow same nomenclature? I will retry 
with CloudOwner in both AAI and DG


Best Regards
Bharath T

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: FREEMAN, BRIAN D <bf1...@att.com>
Sent: Thursday, January 4, 2018 12:55:26 AM
To: bharath thiruveedula; onap-discuss@lists.onap.org
Subject: RE: aic-cloud-region,regionone not found in AAI

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: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of bharath thiruveedula
Sent: Wednesday, January 03, 2018 2:21 PM
To: onap-discuss@lists.onap.org
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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__aai.api.simpledemo.openecomp.org-3A8443_aai_v11_cloud-2Dinfrastructure_cloud-2Dregions%26d%3DDwMFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DyFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg%26s%3DymEaKuEBt-hWDCqQpdOjgQhFA5dsHlTvwVIeC40DWAc%26e%3D&data=02%7C01%7C%7Cf956535c515c45f929ab08d552dfcb0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636506043493974383&sdata=%2FMfrnADzZvWx24%2B9YrU2EfT2TTNzHoh6ygAgjsizBA4%3D&reserved=0>
 | 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-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%26d%3DDwMFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DyFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg%26s%3DdmktAED6oX5lTX-RL6uuIMjRIuGeqm-GkVUUnmEqRXg%26e%3D&data=02%7C01%7C%7Cf956535c515c45f929ab08d552dfcb0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636506043493974383&sdata=t16PC%2B1pzvRk%2FZzM%2FHV6UWlqJgV8Mt94RgZBVRnPkok%3D&reserved=0>

[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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-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%26d%3DDwMFAw%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3De3d1ehx3DI5AoMgDmi2Fzw%26m%3DyFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg%26s%3DEHhCfCSF0PkfNhFmGAfLyWMHYDJ4OU4YTkgKWEYqhDI%26e%3D&data=02%7C01%7C%7Cf956535c515c45f929ab08d552dfcb0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636506043493974383&sdata=tokIPI7nNHgebttRWQfKHnXpq52q5lXDGihTcPi%2B08U%3D&reserved=0>



_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to