Hi Aniello, the PNF registration should be done before the 60s timeout. There is an HTTP REST call timeout (60s) due to BPMNs recipes calling each other (CreateE2EServiceInstance -> DoCreateResources -> HandlePNF), see https://jira.onap.org/browse/SO-1938. This should be fixed in Frankfurt release. In your case, it could be that the main BPMN workflow times out before the PNF registration happens.
Regards, David On 19 Nov 2019, at 17:08, Aniello Paolo Malinconico <[email protected]<mailto:[email protected]>> wrote: Hi all, I am working on ONAP Dublin version creating a service composed by a PNF and a VNF (instantiated as VM) similarly to what was done for BBS use case.. I did NOT find any detailed procedure to use e2e workflow instantation so I followed the guidelines described in the BBS use case to set up the service. Unfortunately after completing the PNF registration, the E2E workflow does NOT call any other action. Can you suggest me how to move on? A detailed description of what I did is shown below The service is the following (by service table catalogdb): <image002.png> where the resource order is PNF and then VM . Since SO treats the PNFs as VNFs, I have added the following row into vnf_recipe table for the pnf to manage the PNF by HandlePNF bpmn: <image003.png> I invoked the northbound api (serviceOrder) in order to trigger the e2e workflow instantation via Postman. <image004.png> This POST triggers the CreateCustomE2EServiceInstance bpmn managed by the so-bpmn. After that, the SO calls the HandlePNF bpmn and the service flow is waiting for the PNF message registration. After exactly 60 seconds, the following error is risen: 2019-11-19T14:13:29.605Z|| o.o.s.b.i.pnf.dmaap.PnfEventReadyDmaapClient - dmaap listener starts listening pnf ready dmaap topic 2019-11-19T14:13:44.137Z|| o.o.s.b.i.pnf.dmaap.PnfEventReadyDmaapClient - dmaap listener starts listening pnf ready dmaap topic 2019-11-19T14:13:58.671Z|| o.o.s.b.i.pnf.dmaap.PnfEventReadyDmaapClient - dmaap listener starts listening pnf ready dmaap topic 2019-11-19T14:14:13.238Z|| o.o.s.b.i.pnf.dmaap.PnfEventReadyDmaapClient - dmaap listener starts listening pnf ready dmaap topic 2019-11-19T14:14:14.310Z|91e9e1e5-1dd5-425c-8a98-598653ea6bb3| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@486d3ce3] 2019-11-19T14:14:14.311Z|91e9e1e5-1dd5-425c-8a98-598653ea6bb3| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2019-11-19T14:14:14.311Z|91e9e1e5-1dd5-425c-8a98-598653ea6bb3| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@55207c45, org.apache.cxf.interceptor.LoggingOutInterceptor@67839cdf<mailto:org.apache.cxf.interceptor.LoggingOutInterceptor@67839cdf>] 2019-11-19T14:14:14.312Z|91e9e1e5-1dd5-425c-8a98-598653ea6bb3| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@7503df98] 2019-11-19T14:14:14.315Z|| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 22 Response-Code: 500 Content-Type: application/json Headers: {Content-Type=[application/json], Date=[Tue, 19 Nov 2019 14:14:14 GMT]} Payload: {"response":"UnknownError, request id:91e9e1e5-1dd5-425c-8a98-598653ea6bb3","message":"TimeOutOccured","processInstanceID":null,"variables":null,"messageCode":500} I ignore this error and I send the PNF Registration Message. The HandlePNF bpmn continues its execution until its end. At this point , I am expecting that a new bpmn is run to perform to instantiate the next resource (e.g the VM) but no other bpmn workflows start. Attached, you can find the bpmn log of the entire service order. Thanks for the support, Aniello Paolo Malinconico <svc_e2e.log> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19512): https://lists.onap.org/g/onap-discuss/message/19512 Mute This Topic: https://lists.onap.org/mt/60565939/21656 Mute #dublin: https://lists.onap.org/mk?hashtag=dublin&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
