CloudOwner should already be in the DGs.

https://jira.onap.org/browse/SDNC-147 was fixed back in October so not sure why 
you would be seeing aic as a cloud-owner in the DG.

Brian




From: bharath thiruveedula [mailto:[email protected]]
Sent: Wednesday, January 03, 2018 3:37 PM
To: FREEMAN, BRIAN D <[email protected]>; [email protected]
Subject: Re: aic-cloud-region,regionone not found in AAI

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://urldefense.proofpoint.com/v2/url?u=https-3A__aka.ms_o0ukef&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=KURenAi39jJLg-I5hVUbPaeJbS5Xo0M3WtRgeelUVsQ&s=U_ClLYtco4nFqNKQXV-14mPuBkud6ZDcJMpuqXOTMcc&e=>
________________________________
From: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>>
Sent: Thursday, January 4, 2018 12:55:26 AM
To: bharath thiruveedula; 
[email protected]<mailto:[email protected]>
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: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of bharath thiruveedula
Sent: Wednesday, January 03, 2018 2:21 PM
To: [email protected]<mailto:[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__eur03.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Faai.api.simpledemo.openecomp.org-2D3A8443-5Faai-5Fv11-5Fcloud-2D2Dinfrastructure-5Fcloud-2D2Dregions-2526d-253DDwMFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DyFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg-2526s-253DymEaKuEBt-2DhWDCqQpdOjgQhFA5dsHlTvwVIeC40DWAc-2526e-253D-26data-3D02-257C01-257C-257Cf956535c515c45f929ab08d552dfcb0c-257C84df9e7fe9f640afb435aaaaaaaaaaaa-257C1-257C0-257C636506043493974383-26sdata-3D-252FMfrnADzZvWx24-252B9YrU2EfT2TTNzHoh6ygAgjsizBA4-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=KURenAi39jJLg-I5hVUbPaeJbS5Xo0M3WtRgeelUVsQ&s=__AOUFw0cbbe8iPSZKdcPkjrOh0a7toRcci0cwE4UG4&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://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://urldefense.proofpoint.com/v2/url?u=https-3A__eur03.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Furldefense.proofpoint.com-252Fv2-252Furl-253Fu-253Dhttps-2D3A-5F-5Fgerrit.onap.org-5Fr-5Fgitweb-2D3Fp-2D3Dsdnc-5Foam.git-2D3Ba-2D3Dblob-2D3Bf-2D3Dplatform-2D2Dlogic-5Fvnfapi-5Fsrc-5Fmain-5Fxml-5FVNF-2D2DAPI-2D5Fvnf-2D2Dtopology-2D2Dautomated-2D2Dassign-2D2Dvfmodule.xml-2D3Bhb-2D3De80ea1d0ad5b2ec68f7de1b105352f85f65b847d-2D23l26-2526d-253DDwMFAw-2526c-253DLFYZ-2Do9-5FHUMeMTSQicvjIg-2526r-253De3d1ehx3DI5AoMgDmi2Fzw-2526m-253DyFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg-2526s-253DEHhCfCSF0PkfNhFmGAfLyWMHYDJ4OU4YTkgKWEYqhDI-2526e-253D-26data-3D02-257C01-257C-257Cf956535c515c45f929ab08d552dfcb0c-257C84df9e7fe9f640afb435aaaaaaaaaaaa-257C1-257C0-257C636506043493974383-26sdata-3DtokIPI7nNHgebttRWQfKHnXpq52q5lXDGihTcPi-252B08U-253D-26reserved-3D0&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=KURenAi39jJLg-I5hVUbPaeJbS5Xo0M3WtRgeelUVsQ&s=RZM5nJ999Rl6ABF_jN_pnqjF66DAT_zFo26YZOlmBrw&e=>



_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to