Hi Guys,
I have the same problem and even recreating message-router component doesn’t
work for me (tried several times)
What i found so far is that SDC is in
"healthCheckComponent": "DE",
"healthCheckStatus": "DOWN",
"description": "U-EB cluster is not available"
Because it’s failing to register to topic:
2019-04-26T14:08:03.926Z||pool-78-thread-1|registerToTopic||registerToTopic||ERROR|500|PUT
http://message-router.onap:3904/topics/SDC-DISTR-NOTIF-TOPIC-AUTO/producers/iPIxkpAMI8qTcQj8
(as i
PIxkpAMI8qTcQj8) ...|
2019-04-26T14:08:03.970Z||pool-76-thread-1|registerToTopic||registerToTopic||ERROR|500|
--> HTTP/1.1 500 Server Error|
2019-04-26T14:08:03.972Z||pool-76-thread-1|registerToTopic||registerToTopic||ERROR|500|Error
occured during access to U-EB Server. Operation: register to topic as producer|
Topic is available in message-router
But message-router logs are displaying just following INFO messages:
""2019-04-26 14:27:09,761 [qtp1061804750-94] INFO
org.onap.dmaap.service.TopicRestService - Granting write access to producer
[iPIxkpAMI8qTcQj8] for topic SDC-DISTR-NOTIF-TOPIC-AUTO
""2019-04-26 14:27:09,765 [qtp1061804750-94] INFO
org.onap.dmaap.dmf.mr.service.impl.TopicServiceImpl - Granting write access to
producer [iPIxkpAMI8qTcQj8] for topic SDC-DISTR-NOTIF-TOPIC-AUTO
""2019-04-26 14:27:09,782 [qtp1061804750-96] INFO
org.onap.dmaap.dmf.mr.security.impl.DMaaPOriginalUebAuthenticator -
AUTH-LOG(10.42.207.81): No such API key iPIxkpAMI8qTcQj8
""2019-04-26 14:27:09,783 [qtp1061804750-96] INFO
org.onap.dmaap.dmf.mr.security.impl.DMaaPOriginalUebAuthenticator -
AUTH-LOG(10.42.207.81): No such API key iPIxkpAMI8qTcQj8
""2019-04-26 14:27:09,788 [qtp1061804750-94] INFO
org.onap.dmaap.dmf.mr.security.impl.DMaaPOriginalUebAuthenticator -
AUTH-LOG(10.42.207.81): No such API key iPIxkpAMI8qTcQj8
""2019-04-26 14:27:09,790 [qtp1061804750-94] INFO
org.onap.dmaap.dmf.mr.security.impl.DMaaPOriginalUebAuthenticator -
AUTH-LOG(10.42.207.81): No such API key iPIxkpAMI8qTcQj8
""2019-04-26 14:27:09,919 [qtp1061804750-12] INFO
org.onap.dmaap.util.DMaaPAuthFilter - inside servlet filter Cambria Auth
Headers checking before doing other Authentication
It looks like some AAF related authentication problem …..
Any hint really appreciated,
Thanks,
Michal
PS: I am testing 3.0.2 release (latest casablanca)
Please note: for sdc-be to come-up properly I need to change dir ownership from
root to jetty user, otherwise it was complaining with
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[METRICS_ROLLING] -
Failed to create parent directories for
[/var/lib/jetty/logs/SDC/SDC-BE/metrics.log]
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of subhash kumar singh
Sent: Tuesday, April 23, 2019 9:07 AM
To: PLATANIA, MARCO (MARCO)
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Cc: Seshu m <[email protected]<mailto:[email protected]>>;
huangxiangyu <[email protected]<mailto:[email protected]>>;
Chenchuanyu <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] Error code POL5000 : exception on distributing
service
Hello Marco,
Thank you for the response.
It worked for me ☺
--
Regards,
Subhash Kumar Singh
From: PLATANIA, MARCO (MARCO) [mailto:[email protected]]
Sent: Monday, April 22, 2019 8:49 PM
To: [email protected]<mailto:[email protected]>; Subhash
Kumar Singh
Cc: Seshu m; huangxiangyu; Chenchuanyu
Subject: Re: [onap-discuss] Error code POL5000 : exception on distributing
service
DMaaP components have to come up in a specific order: Zookeeper, Kafka, and
finally message router. Delete DMaaP files in NFS when you rebuild it
(/dockerdata-nfs/dev-dmaap/* or /dockerdata-nfs/dev-message-router/*, I can’t
remember…) Look also at the SDC backend, that kind of error typically appears
when SDC-BE is not fully up.
Marco
From: <[email protected]<mailto:[email protected]>> on
behalf of subhash kumar singh
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>,
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Monday, April 22, 2019 at 8:43 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Cc: Seshu m <[email protected]<mailto:[email protected]>>,
huangxiangyu <[email protected]<mailto:[email protected]>>,
Chenchuanyu <[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] Error code POL5000 : exception on distributing service
Hello SDC Team,
Could you please help me to understand reason for receiving Error POL 5000 on
distributing service model.
Following message I receive on distributing service from portal
Error code : POL5000
Status code: 500
Internal Server Error. Please try again later.
Similar exception I can see in SO logs also.
Following are logs from SO:
019-04-22T12:29:44.856Z|trace-#| org.onap.sdc.impl.DistributionClientImpl -
DistributionClient - init
[27/4398]
2019-04-22T12:29:44.857Z|trace-#| org.onap.sdc.impl.DistributionClientImpl -
get ueb cluster server list from component(configuration file)
2019-04-22T12:29:44.865Z|trace-#| org.onap.sdc.http.SdcConnectorClient - about
to perform getServerList. requestId= 2accf8f7-f355-42ef-8455-c9779a5476f0 url=
/sdc/v1/artifactTypes
2019-04-22T12:29:44.865Z|trace-#| org.onap.sdc.http.HttpAsdcClient - url to
send
https://sdc-be.onap:8443/sdc/v1/artifactTypes<https://urldefense.proofpoint.com/v2/url?u=https-3A__sdc-2Dbe.onap-3A8443_sdc_v1_artifactTypes&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=T0n9HHqWnh7JjJ5Vozwufa4erXiC-bh0OLGSGrTbrxs&s=JtwMgZyEPqPnL-AWA-ff3G-Qil_6bNrWS0Z_G9kVmaY&e=>
2019-04-22T12:29:45.103Z|trace-#| org.onap.sdc.http.HttpAsdcClient - GET
Response Status 200
2019-04-22T12:29:45.104Z|trace-#| org.onap.sdc.impl.DistributionClientImpl -
Artifact types: [HEAT, HEAT_ARTIFACT, HEAT_ENV, HEAT_NESTED, HEAT_NET,
HEAT_VOL, OTHER, TOSCA_CSAR, VF_MODULES_METADATA] were v
alidated with ASDC server
2019-04-22T12:29:45.104Z|trace-#| org.onap.sdc.impl.DistributionClientImpl -
create keys
2019-04-22T12:29:45.104Z|trace-#| com.att.nsa.apiClient.http.HttpClient - POST
http://message-router.onap:3904/apiKeys/create<https://urldefense.proofpoint.com/v2/url?u=http-3A__message-2Drouter.onap-3A3904_apiKeys_create&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=T0n9HHqWnh7JjJ5Vozwufa4erXiC-bh0OLGSGrTbrxs&s=tH1jmlJINve_3dki0tVyvWXyHB5-n4v9_SIOxHhcD7A&e=>
will send credentials over a clear channel.
2019-04-22T12:29:45.210Z|trace-#| org.onap.sdc.http.SdcConnectorClient - about
to perform registerAsdcTopics. requestId= 39614524-48f0-4ca3-8407-f7be5eeb10bd
url= /sdc/v1/registerForDistribution
2019-04-22T12:29:45.381Z|trace-#| org.onap.sdc.http.SdcConnectorClient - status
from ASDC is
org.onap.sdc.http.HttpAsdcResponse@1f2d8e1a<mailto:org.onap.sdc.http.HttpAsdcResponse@1f2d8e1a>
2019-04-22T12:29:45.381Z|trace-#| org.onap.sdc.http.SdcConnectorClient -
DistributionClientResultImpl [responseStatus=ASDC_SERVER_PROBLEM,
responseMessage=ASDC server problem]
2019-04-22T12:29:45.381Z|trace-#| org.onap.sdc.http.SdcConnectorClient - error
from ASDC is: {
"requestError": {
"policyException": {
"messageId": "POL5000",
"text": "Error: Internal Server Error. Please try again later.",
"variables": []
}
}
}
I tried to reinstall dmaap but it did not solve the problem.
As part of my investigation I tried to find related logs (e.g
DistributionEngineClusterHealth.java) but I am not sure where I can see these
logs and how to enable trace logging.
--
Regards,
Subhash Kumar Singh
FNOSS, ONAP
Huawei Technologies India Pvt. Ltd.
Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield
Bengaluru-560066, Karnataka
Tel: + 91-80-49160700 Ext 70992 II Mob: 8050101106 Email:
[email protected]<mailto:[email protected]>
[cid:[email protected]]
________________________________
This e-mail and its attachments contain confidential information from HUAWEI,
which
is intended only for the person or entity whose address is listed above. Any
use of the
information contained herein in any way (including, but not limited to, total
or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify
the sender by
phone or email immediately and delete it!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16757): https://lists.onap.org/g/onap-discuss/message/16757
Mute This Topic: https://lists.onap.org/mt/31273413/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-