Hi Rene/Eric,
Thanks for reply, I followed the page which you suggested.
1. Registering cloud site with multicloud as per document, but got 500
Internal server error.
Found that there is different API
"/api/multicloud/v1/MyCompanyName/INTEGRATION_CENTER/registry<http://msb.api.discovery.simpledemo.onap.org:30280/api/multicloud/v1/MyCompanyName/INTEGRATION_CENTER/registry>",
here I got 202 Unknown Status Code.
Also tried with
"/api/multicloud-titaniumcloud/v1/MyCompanyName/INTEGRATION_CENTER/registry<http://msb.api.discovery.simpledemo.onap.org:30280/api/multicloud/v1/MyCompanyName/INTEGRATION_CENTER/registry>,
here I got 202 Accepted.
May I know which API we need to use for registering?
2. In between I got to know that api changed from
"MyCompanyName_INTEGRATION_CENTER/identity/v2.0" to
"MyCompanyName/INTEGRATION_CENTER/identity/v2.0" for identity_url.
After this modification I got error as below
2019-08-20T11:06:37.330Z|| org.onap.so.openstack.utils.MsoHeatUtils - Found:
CloudSite_.._jvsta6b_3c[regionId=RegionOne,identityServiceId=MC_KEYSTONE,cloudVersion=2.5,clli=RegionOne,cloudifyId=<null>,platform=<null>,orchestrator=<null>]
2019-08-20T11:06:37.330Z|| org.onap.so.openstack.utils.MsoHeatUtils - Found:
CloudIdentity[id=MC_KEYSTONE,identityUrl=http://msb-iag.onap:80/api/multicloud/v1/CloudOwner/RegionOne/identity/v2.0,msoId=onap-tm5g-01,projectDomain=<null>,userDomain=<null>,adminTenant=service,memberRole=admin,tenantMetadata=true,identityServerType=KEYSTONE,identityAuthenticationType=USERNAME_PASSWORD]
2019-08-20T11:06:37.330Z|| org.onap.so.openstack.utils.MsoHeatUtils -
keystoneUrl=http://msb-iag.onap:80/api/multicloud/v1/CloudOwner/RegionOne/identity/v2.0
2019-08-20T11:06:38.039Z|| org.onap.so.openstack.utils.MsoCommonUtils - Config
values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:401
2019-08-20T11:06:38.039Z|| org.onap.so.openstack.utils.MsoHeatUtils -
RA_CONNECTION_EXCEPTION 200 Openstack Exception on Token request:
org.onap.so.openstack.exceptions.MsoAdapterException: Authentication Failure:
tenant=c673af272d074170881559797f46b89d,cloud=MC_KEYSTONE
at
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:871)
at
org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:502)
at
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:653)
Please suggest on this issue.
Thanks & Regards,
Sunil B
From: [email protected] <[email protected]> On Behalf Of
Multanen, Eric W via Lists.Onap.Org
Sent: Monday, August 19, 2019 9:53 PM
To: [email protected]; [email protected]; Sunilkumar Shivangouda
Biradar <[email protected]>
Subject: Re: [onap-discuss][SO][OOF][MultiCloud] error while instantiating VF
module
I have the same suggestion - check that your cloud region has been setup and
registered per the link.
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> On Behalf Of
Rene Robert via Lists.Onap.Org
Sent: Monday, August 19, 2019 7:16 AM
To: [email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>; Multanen, Eric
W <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss][SO][OOF][MultiCloud] error while instantiating VF
module
About cloud_site, there is that user-guide
https://onap.readthedocs.io/en/latest/guides/onap-user/cloud_site/index.html<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fonap.readthedocs.io%2Fen%2Flatest%2Fguides%2Fonap-user%2Fcloud_site%2Findex.html&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286017993153&sdata=IMAxVR5LubYaCG%2FUd9uUglUABEN3O%2F2hFO2BOqATUTI%3D&reserved=0>
maybe it could help
Best regards
[Logo
Orange]<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.com%2F&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018003147&sdata=XUGX4c%2BBG51nb6byFyYESaXBBu9G72vHi4YJWzUTAyI%3D&reserved=0>
René Robert
«Open and Smart solutions for autOmating Network Services»
ORANGE/IMT/OLN/CNC/NARA/OSONS
Fixe : +33 2 96 07 39 29
<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmonsi.sso.francetelecom.fr%2Findex.asp%3Ftarget%3Dhttp%253A%252F%252Fclicvoice.sso.francetelecom.fr%252FClicvoiceV2%252FToolBar.do%253Faction%253Ddefault%2526rootservice%253DSIGNATURE%2526to%253D%2B33%25202%252096%252007%252039%252029&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018013144&sdata=1%2BfkY6nXkY%2F10qHVr3Acww5tgQtjMDcT8wScgn5O8WA%3D&reserved=0>
Mobile : +33 6 74 78 68 43
<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmonsi.sso.francetelecom.fr%2Findex.asp%3Ftarget%3Dhttp%253A%252F%252Fclicvoice.sso.francetelecom.fr%252FClicvoiceV2%252FToolBar.do%253Faction%253Ddefault%2526rootservice%253DSIGNATURE%2526to%253D%2B33%25206%252074%252078%252068%252043&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018013144&sdata=V39xF%2FwchJfVIXkf3biBNtplFr%2FriWAUc53UXJFAvAE%3D&reserved=0>
[email protected]<mailto:[email protected]>
De : [email protected]<mailto:[email protected]>
[mailto:[email protected]] De la part de Sunilkumar Shivangouda
Biradar
Envoyé : lundi 19 août 2019 12:38
À : [email protected]<mailto:[email protected]>;
[email protected]<mailto:[email protected]>
Objet : [onap-discuss][SO][OOF][MultiCloud] error while instantiating VF module
Hi Team,
I am working on vFW usecase with HPA (ONAP version: Dublin)
Case 1:- Instantiated VM on openstack but not with specified flavors from OOF
I tried to create a VF module from VID using VNF-API and was able instantiate
VM on openstack but not with the flavors which was suggested at oof_directives,
instead it created the VM with the flavors provided in SDNC_preload and found
from so-openstack log that SO was not calling multicloud API
"/api/multicloud/v1/CloudOwner/RegionOne/infra_workload".
Case 2:- VM did not get instantiated, getting error.
https://wiki.onap.org/display/DW/Recap+of+Dublin+SO+Multicloud+Plugin+--%3E+Multicloud+Interactions<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.onap.org%2Fdisplay%2FDW%2FRecap%2Bof%2BDublin%2BSO%2BMulticloud%2BPlugin%2B--%253E%2BMulticloud%2BInteractions&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018023138&sdata=FciY%2FTzw5lnLXPyiMHVqt3K4gAi0tQfDnLk3oBnhlEw%3D&reserved=0>
Got to know from wiki that for HPA we need not make any changes to cloud_site
table of catalogdb. (which is leading to Case 1 above). Hence manually I
modified orchestrator= "multicloud" for the region I'm using, as show in below
table.
[cid:[email protected]]
[cid:[email protected]]
Post changing the cloud_site table I am able to see SO is calling the
"/api/multicloud/v1/CloudOwner/RegionOne/infra_workload" API of multicloud.
But getting this below error from SO-openstack log(I made sure that no vf
module with this name(vfwhpa_stack_test_24) exists in AAI before triggering vf
module creation) :
2019-08-19T07:19:29.498Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
Query multicloud HEAT stack: vfwhpa_stack_test_24 in tenant
c673af272d074170881559797f46b89d
2019-08-19T07:19:29.499Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
Multicloud Endpoint is:
http://msb-iag.onap:80/api/multicloud/v1/CloudOwner/RegionOne/infra_workload?name=vfwhpa_stack_test_24<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmsb-iag.onap%3A80%2Fapi%2Fmulticloud%2Fv1%2FCloudOwner%2FRegionOne%2Finfra_workload%3Fname%3Dvfwhpa_stack_test_24&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018023138&sdata=ti5OqzXhKLECFNohG0YxZgufVaMOWwDiyCm2lHk0hW4%3D&reserved=0>
2019-08-19T07:19:29.505Z|| o.onap.so.logging.jaxrs.filter.JaxRsClientLogging -
Could not Find Request ID Generating New One:
/api/multicloud/v1/CloudOwner/RegionOne/infra_workload
2019-08-19T07:19:29.506Z|| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter -
Making GET request to:
http://msb-iag.onap:80/api/multicloud/v1/CloudOwner/RegionOne/infra_workload?name=vfwhpa_stack_test_24<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmsb-iag.onap%3A80%2Fapi%2Fmulticloud%2Fv1%2FCloudOwner%2FRegionOne%2Finfra_workload%3Fname%3Dvfwhpa_stack_test_24&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018033134&sdata=AGEd51JhxtltSSkMRyD3DPBRnVjcMUiy5wXbmfTSPt0%3D&reserved=0>
Request Headers: {Project=[c673af272d074170881559797f46b89d],
Accept=[application/json],
X-ONAP-RequestID=[96718a17-4eeb-41db-b185-88f04799763e],
X-ONAP-InvocationID=[bd58d3f1-ecc7-436f-88fb-378ed51a58e2],
X-ONAP-PartnerName=[SO]}
2019-08-19T07:19:29.667Z|| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter -
Response from GET:
http://msb-iag.onap:80/api/multicloud/v1/CloudOwner/RegionOne/infra_workload?name=vfwhpa_stack_test_24<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmsb-iag.onap%3A80%2Fapi%2Fmulticloud%2Fv1%2FCloudOwner%2FRegionOne%2Finfra_workload%3Fname%3Dvfwhpa_stack_test_24&data=02%7C01%7Csb00577584%40techmahindra.com%7Cbcd5aa4855704a8fa58408d724c18bb3%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637018286018033134&sdata=AGEd51JhxtltSSkMRyD3DPBRnVjcMUiy5wXbmfTSPt0%3D&reserved=0>
Response Headers: {Allow=[GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS],
connection=[keep-alive], content-type=[text/html; charset=utf-8], Date=[Mon, 19
Aug 2019 07:19:29 GMT], Server=[openresty], transfer-encoding=[chunked],
Vary=[Cookie],
X-Frame-Options=[SAMEORIGIN]}{"template_type":"HEAT","workload_status_reason":"authenticate
fails:CloudOwner, RegionOne, {\"error\":{\"message\":\"The request you have
made requires
authentication.\",\"code\":401,\"title\":\"Unauthorized\"}}","workload_status":"GET_FAILED","workload_id":""}
2019-08-19T07:19:29.668Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
Multicloud GET Response:
org.apache.cxf.jaxrs.impl.ResponseImpl@6250c8cb<mailto:org.apache.cxf.jaxrs.impl.ResponseImpl@6250c8cb>
2019-08-19T07:19:29.668Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
StackInfo to convert: {}
2019-08-19T07:19:29.668Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
HeatStatus = FAILED msg = Internal Server Error
2019-08-19T07:19:29.668Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
Stack Status: FAILED
2019-08-19T07:19:29.668Z|| org.onap.so.openstack.utils.MsoMulticloudUtils -
Stack Status Message: Internal Server Error
2019-08-19T07:19:29.668Z|| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl -
Found Existing VDU, status=FAILED
2019-08-19T07:19:29.668Z|| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl -
RA_VNF_ALREADY_EXIST vfwhpa_stack_test_24 CloudOwner RegionOne
c673af272d074170881559797f46b89d VDU queryVdu 300 VF Module
vfwhpa_stack_test_24 already exists and is in FAILED state
2019-08-19T07:19:29.668Z|| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl -
Create VF: Deployment vfwhpa_stack_test_24 already exists and is in FAILED
state in CloudOwner/RegionOne/c673af272d074170881559797f46b89d; requires manual
intervention.
2019-08-19T07:19:29.679Z|| org.onap.so.adapters.vnf.BpelRestClient - Sending
response to BPEL: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vfModuleException>
<messageId>dcfcc4e0-7723-473d-bfcb-dd8b9fe4ff2f-1566199169042</messageId>
<category>INTERNAL</category>
<message>Resource vfwhpa_stack_test_24 already exists in owner/cloud/tenant
CloudOwner/RegionOne/c673af272d074170881559797f46b89d with ID </message>
<rolledBack>true</rolledBack>
</vfModuleException>
Please suggest on this issue.
Thanks in advance.
Regards,
Sunil B
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary
and confidential and subject to the Tech Mahindra policy statement, you may
review the policy at http://www.techmahindra.com/Disclaimer.html externally
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18626): https://lists.onap.org/g/onap-discuss/message/18626
Mute This Topic: https://lists.onap.org/mt/32942551/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-