Hi Bin,

Apparently MC expects the Flavour name to begin with onap.<flavour name>
inorder to scan for HPA attributes as per this code :

https://gerrit.onap.org/r/gitweb?p=multicloud/openstack.git;a=blob;f=share/newton_base/registration/registration.py;hb=d76c9be3e8d91675630d8b7772051030e992bf3e#l188
.

Could you comment on why this restriction was placed? What if I already
have a Flavour with HPA attributes and I need that to be discovered by MC?

BR,
Viswa

On Mon, Dec 17, 2018 at 8:28 PM M, UdhayaChandran via Lists.Onap.Org
<[email protected]> wrote:

> 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
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__XX.XX.XX.XX-3A30233_aai_v11_cloud-2Dinfrastructure_cloud-2Dregions_cloud-2Dregion_CloudOwner_regionOne_flavors&d=DwQFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=9F3pNUkzjE-2v1eTClkRVakDRN8GH7Bm-wt1lWkxoUyyDORTqf5MxNO_GrMBs0gZ&m=iHsyqxu38sfZj3CH6RxxpmFWpfR7dikoMjwx_qqJdXg&s=8e-Qq8cLTHrDt3aDtOnonHF6VbeNaGDKeBlpl-EMHDo&e=>
> | 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"
>             ]
>         }
>     }
> }
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14617): https://lists.onap.org/g/onap-discuss/message/14617
Mute This Topic: https://lists.onap.org/mt/28801428/21656
Mute #aai: https://lists.onap.org/mk?hashtag=aai&subid=2740164
Mute #multicloud: https://lists.onap.org/mk?hashtag=multicloud&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to