Hi Udhay,
Would you please help do following change of codes and test the registration
again? Thanks
openstackregions =
self._get_list_resources("<https://urldefense.proofpoint.com/v2/url?u=https-3A__X.X.X.X-3A13000_v3&d=DwQGaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=EOV9KSMKcDhvhSWo0yoaK52NcPljc2-ezknbVxOsQgc&m=g5T-RmcgovZhCA1QJVMhYaUEx8fEh6emUzfb6GB0_go&s=ksHf4IOvUIhwRoOLEenMJrEyb5cuFp7V6Vy-YeBYuVw&e=>https://X.X.X.X:13000/v<https://x.x.x.x:13000/v3/regions>2.0/regions<https://x.x.x.x:13000/v3/regions>",
"identity", session, viminfo, vimid,regions")
Bin
在 2018年12月20日,13:09,M, UdhayaChandran
<[email protected]<mailto:[email protected]>> 写道:
Hi Bin,
I am using OOM project(casablanca branch) to deploy the complete ONAP
components.
Multicloud-windriver image is specified as image:
onap/multicloud/openstack-windriver:1.2.1
Also ssl-insecure is set to true,
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://X.X.X.X:30233/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner2/regionOne?depth=all<https://urldefense.proofpoint.com/v2/url?u=https-3A__X.X.X.X-3A30233_aai_v11_cloud-2Dinfrastructure_cloud-2Dregions_cloud-2Dregion_CloudOwner2_regionOne-3Fdepth-3Dall&d=DwQFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=EOV9KSMKcDhvhSWo0yoaK52NcPljc2-ezknbVxOsQgc&m=K5dyNV0ICF49vegotnnrYJ1McdUOPfFoq-BFCAmQV2I&s=gS89iJDTTPEQ3BgR9A-X2uhz1sSer_F2GvyViLBvcI4&e=>
| python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 939 100 939 0 0 759 0 0:00:01 0:00:01 --:--:-- 759
{
"cloud-extra-info": "",
"cloud-owner": "CloudOwner2",
"cloud-region-id": "regionOne",
"cloud-region-version": "titanium_cloud",
"cloud-type": "openstack",
"cloud-zone": "z",
"esr-system-info-list": {
"esr-system-info": [
{
"cloud-domain": "default",
"default-tenant": "admin",
"esr-system-info-id": "c221b2cb-0ca1-4049-8da3-9bca47c5fbce",
"password": "xxxxxx",
"resource-version": "1545050412788",
"service-url":
"https://X.X.X.X13000/v2.0<https://urldefense.proofpoint.com/v2/url?u=https-3A__X.X.X.X13000_v2.0&d=DwQFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=EOV9KSMKcDhvhSWo0yoaK52NcPljc2-ezknbVxOsQgc&m=K5dyNV0ICF49vegotnnrYJ1McdUOPfFoq-BFCAmQV2I&s=lK5Fl1A1yjfBSEQC8FfJcZ-ZtWiKMVcLfxnSYek0Hd8&e=>",
"ssl-insecure": true,
"system-status": "active",
"system-type": "VIM",
"user-name": "admin"
}
]
},
"owner-defined-type": "t1",
"relationship-list": {
"relationship": [
{
"related-link":
"/aai/v11/cloud-infrastructure/complexes/complex/clli1",
"related-to": "complex",
"relationship-data": [
{
"relationship-key": "complex.physical-location-id",
"relationship-value": "clli1"
}
]
}
]
},
"resource-version": "1545050413012",
"tenants": {
"tenant": [
{
"resource-version": "1545050665898",
"tenant-id": "1234567812323",
"tenant-name": "admin"
}
]
}
}
Regards,
Udhay
On Thu, Dec 20, 2018 at 8:17 AM Yang, Bin
<[email protected]<mailto:[email protected]>> wrote:
Hi Udhay,
It seems to hardcode the endpoint.
Could you help check the AAI cloud region object? There should
“esr-system-info” object with following property to workaround the https
certification :
"ssl-insecure": true,
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: udhayachandran.m via lists.onap.org<http://lists.onap.org>
[mailto:udhayachandran.m<mailto:udhayachandran.m>[email protected]<mailto:[email protected]>]
Sent: Wednesday, December 19, 2018 5:50 PM
To: Yang, Bin; [email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] [E] Re: [onap-discuss] [ESR][AAI][Multicloud]
Hi Bin,
Ya its https endpoint. I made the change in multicloud-windriver pod in file
/opt/windriver/titanium_cloud/registration/views/registration.py
openstackregions =
self._get_list_resources("https://X.X.X.X:13000/v3<https://urldefense.proofpoint.com/v2/url?u=https-3A__X.X.X.X-3A13000_v3&d=DwQGaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=EOV9KSMKcDhvhSWo0yoaK52NcPljc2-ezknbVxOsQgc&m=g5T-RmcgovZhCA1QJVMhYaUEx8fEh6emUzfb6GB0_go&s=ksHf4IOvUIhwRoOLEenMJrEyb5cuFp7V6Vy-YeBYuVw&e=>/regions",
"identity", session, viminfo, vimid,regions")
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14648): https://lists.onap.org/g/onap-discuss/message/14648
Mute This Topic: https://lists.onap.org/mt/28789694/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-