Topics

Flavors of the cloud are not stored in AAI #aai #multicloud


M, UdhayaChandran
 

Hi,

I am trying to register an external cloud in ESR. 
I could be able to see the cloud information in the cloud-infrastructure namespace, but flavors and other information of the cloud are not stored in the AAI Graph database.

Got the following response, when querying for the flavor information for the cloud.

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://XX.XX.XX.XX:30233/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/regionOne/flavors | python -m json.tool

Response:
{
    "requestError": {
        "serviceException": {
            "messageId": "SVC3001",
            "text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)",
            "variables": [
                "GET",
                "cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/regionOne/flavors",
                "Node Not Found:No Node of type flavor found at: cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/regionOne/flavors",
                "ERR.5.4.6114"
            ]
        }
    }
}