Re: [onap-discuss] aic-cloud-region,regionone not found in AAI

2018-01-03 Thread FREEMAN, BRIAN D
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:bharath_...@hotmail.com]
Sent: Wednesday, January 03, 2018 3:37 PM
To: FREEMAN, BRIAN D <bf1...@att.com>; onap-discuss@lists.onap.org
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=DwMF-g=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=KURenAi39jJLg-I5hVUbPaeJbS5Xo0M3WtRgeelUVsQ=U_ClLYtco4nFqNKQXV-14mPuBkud6ZDcJMpuqXOTMcc=>

From: FREEMAN, BRIAN D <bf1...@att.com<mailto:bf1...@att.com>>
Sent: Thursday, January 4, 2018 12:55:26 AM
To: bharath thiruveedula; 
onap-discuss@lists.onap.org<mailto: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> 
[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<mailto: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://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-257C84df9e7fe9f640afb435-257C1-257C0-257C636506043493974383-26sdata-3D-252FMfrnADzZvWx24-252B9YrU2EfT2TTNzHoh6ygAgjsizBA4-253D-26reserved-3D0=DwMF-g=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=KURenAi39jJLg-I5hVUbPaeJbS5Xo0M3WtRgeelUVsQ=__AOUFw0cbbe8iPSZKdcPkjrOh0a7toRcci0cwE4UG4=>
 | 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/m

Re: [onap-discuss] aic-cloud-region,regionone not found in AAI

2018-01-03 Thread bharath thiruveedula
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=02%7C01%7C%7Cf956535c515c45f929ab08d552dfcb0c%7C84df9e7fe9f640afb435%7C1%7C0%7C636506043493974383=%2FMfrnADzZvWx24%2B9YrU2EfT2TTNzHoh6ygAgjsizBA4%3D=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=02%7C01%7C%7Cf956535c515c45f929ab08d552dfcb0c%7C84df9e7fe9f640afb435%7C1%7C0%7C636506043493974383=t16PC%2B1pzvRk%2FZzM%2FHV6UWlqJgV8Mt94RgZBVRnPkok%3D=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%2Fv

Re: [onap-discuss] aic-cloud-region,regionone not found in AAI

2018-01-03 Thread FREEMAN, BRIAN D
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://urldefense.proofpoint.com/v2/url?u=https-3A__aai.api.simpledemo.openecomp.org-3A8443_aai_v11_cloud-2Dinfrastructure_cloud-2Dregions=DwMFAw=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=yFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg=ymEaKuEBt-hWDCqQpdOjgQhFA5dsHlTvwVIeC40DWAc=>
 | 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=DwMFAw=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=yFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg=dmktAED6oX5lTX-RL6uuIMjRIuGeqm-GkVUUnmEqRXg=>

[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=DwMFAw=LFYZ-o9_HUMeMTSQicvjIg=e3d1ehx3DI5AoMgDmi2Fzw=yFXbFgdYNVlfKiU2KPtWXSDPkwSdU10TFlnzpLsYskg=EHhCfCSF0PkfNhFmGAfLyWMHYDJ4OU4YTkgKWEYqhDI=>



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