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]> on behalf of subhash kumar singh 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>, 
"[email protected]" <[email protected]>
Date: Monday, April 22, 2019 at 8:43 AM
To: "[email protected]" <[email protected]>
Cc: Seshu m <[email protected]>, huangxiangyu 
<[email protected]>, Chenchuanyu <[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 (#16647): https://lists.onap.org/g/onap-discuss/message/16647
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to