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
| 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
[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
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss