I just test the API with master branch, it works well (Note it is ONAP deployed 
by OOM)

> GET /api/multicloud/v0/CloudOwner_pod01/tenants HTTP/1.1
> Host: 10.12.5.184:30280
> User-Agent: curl/7.45.0
> Accept: */*
> Content-Type: application/json
>
< HTTP/1.1 200 Unknown Status Code
< Server: openresty
< Date: Tue, 23 Oct 2018 02:48:42 GMT
< Content-Type: application/json
< Content-Length: 32584
< Connection: keep-alive
< status: 200
< content-location: 
http://msb-iag.onap:80/api/multicloud-titaniumcloud/v0/CloudOwner_pod01/tenants
< Vary: Cookie
< -content-encoding: gzip
< Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
< x-frame-options: SAMEORIGIN
<
{ [5067 bytes data]

Best Regards,
Bin Yang,    Solution Engineering Team,    Wind River
ONAP Multi-VIM/Cloud PTL
Direct +86,10,84777126    Mobile +86,13811391682    Fax +86,10,64398189
Skype: yangbincs993

From: bharath thiruveedula [mailto:[email protected]]
Sent: Tuesday, October 23, 2018 10:32 AM
To: Yang, Bin; [email protected]
Cc: HUANG, HAIBIN ([email protected])
Subject: Re: [multicloud] Unable to get tenant info from multicloud proxy

Hi Yang,

I am using ONAP Beijing in my own machine.

Best Regards
Bharath T

________________________________
From: Yang, Bin <[email protected]>
Sent: Tuesday, October 23, 2018 7:56:27 AM
To: bharath thiruveedula; [email protected]
Cc: HUANG, HAIBIN ([email protected])
Subject: RE: [multicloud] Unable to get tenant info from multicloud proxy

Which version of ONAP are you testing with? Where is it deployed? Integration 
lab?

Best Regards,
Bin Yang,    Solution Engineering Team,    Wind River
ONAP Multi-VIM/Cloud PTL
Direct +86,10,84777126    Mobile +86,13811391682    Fax +86,10,64398189
Skype: yangbincs993

From: bharath thiruveedula [mailto:[email protected]]
Sent: Tuesday, October 23, 2018 8:58 AM
To: Yang, Bin; [email protected]
Cc: HUANG, HAIBIN ([email protected])
Subject: Re: [multicloud] Unable to get tenant info from multicloud proxy

Hi Yang/Victor,

The response I got for "/tenants" is 404 resource not found. I actually 
register the cloud with admin details.

I am using titanium cloud version.

Best Regards
Bharath T
________________________________
From: Yang, Bin <[email protected]>
Sent: Tuesday, October 23, 2018 6:22 AM
To: bharath thiruveedula; [email protected]
Cc: HUANG, HAIBIN ([email protected])
Subject: RE: [multicloud] Unable to get tenant info from multicloud proxy


Hi Bharath,



What's the response you got? Did it include any permission or privilege message?



And how do you onboard your openstack? Which cloud version was you 
choosing/populating? ocata? titanium_cloud?



It is most probably a tenant user privilege issue, while API "/tenants" 
requires openstack admin privilege, other APIs work well with openstack member 
privilege.



Thanks



Best Regards,

Bin Yang,    Solution Engineering Team,    Wind River

ONAP Multi-VIM/Cloud PTL

Direct +86,10,84777126    Mobile +86,13811391682    Fax +86,10,64398189

Skype: yangbincs993



From: bharath thiruveedula [mailto:[email protected]]
Sent: Tuesday, October 23, 2018 1:59 AM
To: [email protected]; Yang, Bin
Subject: [multicloud] Unable to get tenant info from multicloud proxy



Hi,



I am using multicloud to orchestrate VNF/NS in openstack through VF-C. I am 
currently facing an issue while getting tenant details from multicloud. The 
request looks like 
"msb_base_url:80/api/multicloud/v0/cloudowner_regionone/tenants", but this 
request throws 404 error. On the other side all other requests are working fine 
for example "/api/multicloud/v0/cloudowner_regionone/tenantid/servers", 
"/api/multicloud/v0/cloudowner_regionone/tenantid/images" and so on.



Am I missing something here while getting tenant information?



Best Regards

Bharath T

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

View/Reply Online (#13216): https://lists.onap.org/g/onap-discuss/message/13216
Mute This Topic: https://lists.onap.org/mt/27511033/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to