Thanks Sangeeta,

The PNF is already existing in A&AI with the same name as the "source_name" in 
the VES event. SO waits for PNF_READY event but it never happens.
I'm a bit worried that PRH uses invalid (in my opinion) url address
https://aai.onap.svc.cluster.local:8443/aai/v12/business/customers/customer//service-subscriptions/service-subscription//service-instances/service-instance/
and get 404 HTTP Error.

Regards,
Michal

From: Sangeeta Bellara <[email protected]>
Sent: Thursday, July 15, 2021 5:54 PM
To: [email protected]; Jagiełło, Michał <[email protected]>
Subject: Re: [DCAE][Integration] PRH chain of tasks have been aborted due to 
errors

Hi Michal,

The PRH compares the source name in the VES event to the service instance name 
in AAI. In the SO request to create the PNF service, the service instance name 
is specified, and this same name is stored in AAI as the service instance name. 
If PRH does not find a match, it does not send the PNF READY event for that 
service instance, and hence SO will time out eventually.

Regards
Sangeeta


________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of 
Jagiełło, Michał via lists.onap.org 
<[email protected]<mailto:[email protected]>>
Sent: 15 July 2021 16:53
To: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] [DCAE][Integration] PRH chain of tasks have been 
aborted due to errors


Hi all,



Since 15.06 (when the last test passed) we observed on integration tests that 
pnf_macro (and pnf-registrate) tests fail 
(https://logs.onap.org/onap-integration/daily/onap_daily_pod4_master/2021-06/15_11-49/<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flogs.onap.org%2Fonap-integration%2Fdaily%2Fonap_daily_pod4_master%2F2021-06%2F15_11-49%2F&data=04%7C01%7Csb00563215%40techmahindra.com%7C7c00296214df4f523e7f08d9478315dc%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637619451714259898%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=MO7lPQi7B%2FSDgICtsmmPrV4EK7En8Qw3U9EJPSkoiOI%3D&reserved=0>).
 It fails because of SO instantiation request timeout. It looks that SO still 
waits for PNF_READY event which never comes. I've checked the PRH service logs 
and found that it systematically logged:



org.onap.dcaegen2.services.prh.tasks.ScheduledTasks     
|2021-07-15T10:51:57.065Z     |INFO     |Init configs     
|InvocationID=c2bd3737-3c20-43cc-ab17-df42ddb287db, 
InstanceUUID=10167110-4a05-4197-8b4b-82e5d095e486     |     |INVOKE     
|pool-2-thread-1     |

org.onap.dcaegen2.services.prh.tasks.ScheduledTasks     
|2021-07-15T10:51:57.817Z     |WARN     |Chain of tasks have been aborted due 
to errors in PRH workflow     |     
|org.onap.dcaegen2.services.sdk.rest.services.adapters.http.exceptions.HttpException:
 Request failed for URL 
'https://aai.onap.svc.cluster.local:8443/aai/v12/business/customers/customer//service-subscriptions/service-subscription//service-instances/service-instance/'.
 Response code: 404 Not Found\n\tat 
org.onap.dcaegen2.services.sdk.rest.services.adapters.http.HttpResponse.throwIfUnsuccessful(HttpResponse.java:74)\n\tat
 
org.onap.dcaegen2.services.prh.configuration.AaiHttpClientConfig.lambda$getServiceInstanceClient$1(AaiHttpClientConfig.java:60)\n\tat
 
reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:113)\n\tat
 
reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1789)\n\tat
 
reactor.core.publisher.MonoFlatMap$FlatMapInner.onNext(MonoFlatMap.java:249)\n\tat
 
reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onNext(FluxDoFinally.java:130)\n\tat
 reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:120)\n\tat 
reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:120)\n\tat 
reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:100)\n\tat
 
reactor.core.publisher.FluxHandle$HandleSubscriber.onNext(FluxHandle.java:118)\n\tat
 
reactor.core.publisher.FluxMap$MapConditionalSubscriber.onNext(FluxMap.java:220)\n\tat
 
reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onNext(FluxDoFinally.java:130)\n\tat
 
reactor.core.publisher.FluxHandleFuseable$HandleFuseableSubscriber.onNext(FluxHandleFuseable.java:184)\n\tat
 
reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)\n\tat
 
reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1789)\n\tat
 
reactor.core.publisher.MonoCollectList$MonoCollectListSubscriber.onComplete(MonoCollectList.java:128)\n\tat
 
reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:259)\n\tat
 
reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:142)\n\tat 
reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:389)\n\tat 
reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:396)\n\tat
 
reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:452)\n\tat
 
reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:664)\n\tat
 
reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:94)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)\n\tat
 
io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)\n\tat
 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)\n\tat
 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)\n\tat
 
io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)\n\tat
 io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1533)\n\tat 
io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282)\n\tat 
io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1329)\n\tat 
io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:508)\n\tat
 
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:447)\n\tat
 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)\n\tat
 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\n\tat
 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\n\tat
 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)\n\tat
 
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795)\n\tat
 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480)\n\tat
 io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)\n\tat 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)\n\tat
 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
 java.base/java.lang.Thread.run(Unknown Source)\n     |     
|reactor-http-epoll-4     |



The event we send to VES is



{

    "event": {

        "pnfRegistrationFields": {

            "unitFamily": "BBU",

            "serialNumber": "6061ZW3",

            "pnfRegistrationFieldsVersion": "2.0",

            "softwareVersion": "val7",

            "unitType": "val8",

            "modelNumber": "val6",

            "oamV6IpAddress": "2001:db8::1428:57ab",

            "vendorName": "Nokia",

            "oamV4IpAddress": "192.168.0.1"

        },

        "commonEventHeader": {

            "eventId": "registration_39239592",

            "reportingEntityName": "NOK6061ZW3",

            "domain": "pnfRegistration",

            "nfcNamingCode": "oam",

            "sequence": 0,

            "sourceId": "val13",

            "eventType": "pnfRegistration",

            "internalHeaderFields": {},

            "priority": "Normal",

            "sourceName": "TestPNFMacroInstantiation",

            "eventName": "pnfRegistration_Nokia_5gDu",

            "version": "4.0.1",

            "nfNamingCode": "gNB",

            "startEpochMicrosec": 1539239592379,

            "vesEventListenerVersion": "7.0.1",

            "lastEpochMicrosec": 1539239592379

        }

    }

}



Did anything change and we should update our test?

Have a nice day,

Michal

T-MOBILE POLSKA S.A. z siedzibą w Warszawie
Adres: ul. Marynarska 12, 02-674 Warszawa
Zarząd Spółki:
Andreas Maierhofer - Prezes Zarządu;
Cezary Albrecht - Członek Zarządu, Dyrektor ds. Prawnych, Bezpieczeństwa i 
Zarządzania Zgodnością;
Juraj Andráš - Członek Zarządu, Dyrektor ds. Finansowych;
Dorota Kuprianowicz-Legutko - Członek Zarządu, Dyrektor ds. Polityki 
Personalnej;
Goran Marković - Członek Zarządu, Dyrektor ds. Rynku Prywatnego;
Petri Pehkonen - Członek Zarządu, Dyrektor ds. Technologii i Innowacji;
Agnieszka Rynkowska - Członek Zarządu, Dyrektor ds. Rynku Biznesowego.

Spółka zarejestrowana w Sądzie Rejonowym dla m.st. Warszawy w Warszawie,
XIII Wydział Gospodarczy Krajowego Rejestru Sądowego.
KRS 0000391193 | NIP 526-10-40-567 | Regon 011417295
Kapitał zakładowy 711.210.000 złotych, kapitał wpłacony w całości.

DUŻE ZMIANY ZACZYNAJĄ SIĘ OD MAŁYCH - CHROŃ PLANETĘ, NIE DRUKUJ TEGO E-MAILA, 
JEŻELI NIE MUSISZ.

Ta wiadomość i jej treść są zastrzeżone w szczegółowym zakresie dostępnym na 
http://www.t-mobile.pl/stopka
This e-mail and its contents are subject to a DISCLAIMER with important 
RESERVATIONS: see http://www.t-mobile.pl/stopka


Caution: Please do not click links or open attachments unless you recognize the 
sender and know the content is safe.

============================================================================================================================
 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. 
============================================================================================================================

T-MOBILE POLSKA S.A. z siedzibą w Warszawie
Adres: ul. Marynarska 12, 02-674 Warszawa
Zarząd Spółki:
Andreas Maierhofer - Prezes Zarządu;
Cezary Albrecht - Członek Zarządu, Dyrektor ds. Prawnych, Bezpieczeństwa i 
Zarządzania Zgodnością;
Juraj Andráš - Członek Zarządu, Dyrektor ds. Finansowych;
Dorota Kuprianowicz-Legutko - Członek Zarządu, Dyrektor ds. Polityki 
Personalnej;
Goran Marković - Członek Zarządu, Dyrektor ds. Rynku Prywatnego;
Petri Pehkonen - Członek Zarządu, Dyrektor ds. Technologii i Innowacji;
Agnieszka Rynkowska - Członek Zarządu, Dyrektor ds. Rynku Biznesowego.

Spółka zarejestrowana w Sądzie Rejonowym dla m.st. Warszawy w Warszawie,
XIII Wydział Gospodarczy Krajowego Rejestru Sądowego.
KRS 0000391193 | NIP 526-10-40-567 | Regon 011417295
Kapitał zakładowy 711.210.000 złotych, kapitał wpłacony w całości.

DUŻE ZMIANY ZACZYNAJĄ SIĘ OD MAŁYCH - CHROŃ PLANETĘ, NIE DRUKUJ TEGO E-MAILA, 
JEŻELI NIE MUSISZ.

Ta wiadomość i jej treść są zastrzeżone w szczegółowym zakresie dostępnym na 
http://www.t-mobile.pl/stopka
This e-mail and its contents are subject to a DISCLAIMER with important 
RESERVATIONS: see http://www.t-mobile.pl/stopka




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23426): https://lists.onap.org/g/onap-discuss/message/23426
Mute This Topic: https://lists.onap.org/mt/84222727/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to