Hi,

You are right log where for DMAAP BC.
Problem was after redeployment of dmaap-dr-db which was having crashLoopBackOff 
issue (nfs failed or something like this)
Maybe the "sync" would help but meantime whole dmaap was redeploy and this 
solved the issue.

Thanks for you support.

Best Regards,
Marek Kukulski

From: LUNANUOVA, DOMINIC (DOMINIC) <[email protected]>
Sent: Friday, July 17, 2020 3:44 PM
To: Kukulski, Marek (Nokia - PL/Wroclaw) <[email protected]>; 
[email protected]; UNNAVA, SUNIL <[email protected]>
Subject: RE: [dmaap][dr] not in sync with DR Prov

Did you perhaps mis-label the logs?  The "DMAAP DR" logs look like they come 
from DMAAP BC.  I will comment with that assumption.

Interpretation: You are trying to add a publisher to feed 1. Datarouter Prov 
doesn't know about it, so attempts to add a publisher give a 404.
Check:  did you add feed 1 before trying to add this publisher?  Confirm it 
exists  curl https://dmaap-bc/webapi/feeds

More words if BC does have feed 1:
The Feed ID is generated from DR, so if feed 1 exists in BC, BC must have 
provisioned feed 1 at some point in its life.
A fresh deployment of DR will reset the feed IDs.
I'm not sure how this sequence might have occurred and you've stumbled into a 
rare error pattern.
Would be curious to know the sequence if we can recreate it.

Suggestions:

  *   Simply provision a new feed.  Hopefully, that doesn't cause more 
conflicts.
  *   Use the "sync" API enhancement that the DR developers requested.
     *   Curl -X PUT https://dmaap-bc/webapi/feeds/sync?hard=true
  *   Re-deploy both BC and DR.  Be sure to delete any associated PV.

Good luck!
-Dom

From: Kukulski, Marek (Nokia - PL/Wroclaw) 
<[email protected]<mailto:[email protected]>>
Sent: Friday, July 17, 2020 5:13 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; LUNANUOVA, DOMINIC (DOMINIC) 
<[email protected]<mailto:[email protected]>>
Subject: [dmaap][dr] not in sync with DR Prov

Hello,

I'm trying to deploy Data File collector and during deployment I get strange 
error.
In logs DR inform that "Resource Feed with id 1 was not in sync with DR 
Prov.May need manual sync steps.The Bus Controller view of a resource does not 
match what was found on DR Prov"
I can't find how can I perform this "manual sync" if it is needed at all.
Any suggestion or solution appreciated.

Logs from my system:
DFC deployment logs:
2020-07-17 09:39:22.087  LOG <dfc> [preconfigure] INFO: Attempting to add 
publisher datafile-collector to feed feed0
2020-07-17 09:39:22.590  LOG <dfc> [preconfigure] INFO: Posting to URL: 
https://dmaap-bc:8443/webapi/dr_pubs<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Dbc-3A8443_webapi_dr-5Fpubs&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=PuYoCQ91mY-7QlvvRarJ3CH7A8Nhe8hRmuQr8QErdnc&e=>
 with body: {'username': 'ubk7bOEN', 'userpwd': 'eoKzC81Ip5KWRbog', 'feedId': 
u'1', 'dcaeLocationName': u'loc00'}
2020-07-17 09:39:22.590  LOG <dfc> [preconfigure] ERROR: Error adding publisher 
to feed: 500 Server Error: Internal Server Error for url: 
https://dmaap-bc:8443/webapi/dr_pubs<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Dbc-3A8443_webapi_dr-5Fpubs&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=PuYoCQ91mY-7QlvvRarJ3CH7A8Nhe8hRmuQr8QErdnc&e=>
2020-07-17 09:39:23.257  CFY <dfc> [preconfigure] Task failed 
'dmaapplugin.dr_relationships.add_dr_publisher' -> 500 Server Error: Internal 
Server Error for url: 
https://dmaap-bc:8443/webapi/dr_pubs<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Dbc-3A8443_webapi_dr-5Fpubs&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=PuYoCQ91mY-7QlvvRarJ3CH7A8Nhe8hRmuQr8QErdnc&e=>
2020-07-17 09:39:23.873  CFY <dfc> 'install' workflow execution failed: 
RuntimeError: Workflow failed: Task failed 
'dmaapplugin.dr_relationships.add_dr_publisher' -> 500 Server Error: Internal 
Server Error for url: 
https://dmaap-bc:8443/webapi/dr_pubs<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Dbc-3A8443_webapi_dr-5Fpubs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=PuYoCQ91mY-7QlvvRarJ3CH7A8Nhe8hRmuQr8QErdnc&e=>

DMAAP DR error.log
2020-07-17 07:39:22,050|ymgjs7sdjz|qtp2123960023-300|POST 
dr_pubs||||ERROR|||502 Resource Feed with id 1 was not in sync with DR Prov.May 
need manual sync steps.The Bus Controller view of a resource does not match 
what was found on DR Prov

DMAAP DR application.log
2020-07-17 07:39:22,031|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||successful connect to 
https://dmaap-dr-prov/feed/1<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Ddr-2Dprov_feed_1&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=Gjm1A8DopgVQmm9M_njU_Jp_ZoiCneXnddTdLPnjYwI&e=>
2020-07-17 07:39:22,033|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||postJSON={"name": "bulk_pm_feed", "version": "0.0", 
"description": "No description provided", "suspend": false, "authorization": { 
"classification": "unclassified", "endpoint_addrs": [],"endpoint_ids": [  
{"id": "ubk7bOEN","password": "eoKzC81Ip5KWRbog"}]}}
2020-07-17 07:39:22,033|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||post fields=[123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 
98, 117, 108, 107, 95, 112, 109, 95, 102, 101, 101, 100, 34, 44, 32, 34, 118, 
101, 114, 115, 105, 111, 110, 34, 58, 32, 34, 48, 46, 48, 34, 44, 32, 34, 100, 
101, 115, 99, 114, 105, 112, 116, 105, 111, 110, 34, 58, 32, 34, 78, 111, 32, 
100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110, 32, 112, 114, 111, 118, 
105, 100, 101, 100, 34, 44, 32, 34, 115, 117, 115, 112, 101, 110, 100, 34, 58, 
32, 102, 97, 108, 115, 101, 44, 32, 34, 97, 117, 116, 104, 111, 114, 105, 122, 
97, 116, 105, 111, 110, 34, 58, 32, 123, 32, 34, 99, 108, 97, 115, 115, 105, 
102, 105, 99, 97, 116, 105, 111, 110, 34, 58, 32, 34, 117, 110, 99, 108, 97, 
115, 115, 105, 102, 105, 101, 100, 34, 44, 32, 34, 101, 110, 100, 112, 111, 
105, 110, 116, 95, 97, 100, 100, 114, 115, 34, 58, 32, 91, 93, 44, 34, 101, 
110, 100, 112, 111, 105, 110, 116, 95, 105, 100, 115, 34, 58, 32, 91, 9, 123, 
34, 105, 100, 34, 58, 32, 34, 117, 98, 107, 55, 98, 79, 69, 78, 34, 44, 34, 
112, 97, 115, 115, 119, 111, 114, 100, 34, 58, 32, 34, 101, 111, 75, 122, 67, 
56, 49, 73, 112, 53, 75, 87, 82, 98, 111, 103, 34, 125, 93, 125, 125]
2020-07-17 07:39:22,033|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||uc=sun.net.www.protocol.https.DelegateHttpsURLConnection:https://dmaap-dr-prov/feed/1<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Ddr-2Dprov_feed_1&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=Gjm1A8DopgVQmm9M_njU_Jp_ZoiCneXnddTdLPnjYwI&e=>
2020-07-17 07:39:22,050|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||http response code:404
2020-07-17 07:39:22,050|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||responsemessage=Missing or bad feed number.
2020-07-17 07:39:22,051|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||resp=null
2020-07-17 07:39:58,372|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||DmaapService settings:  
topicFactory=org.onap.dmaap.mr.topicFactory 
topicMgrRole=org.onap.dmaap-bc-topic-mgr.client multisite=false 
noEnvironmentPrefix=org.onap
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||DmaapService object values:  dmaapName=mr 
drProvURL=https://dmaap-dr-prov<https://urldefense.proofpoint.com/v2/url?u=https-3A__dmaap-2Ddr-2Dprov&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=darrNgkXWc2AtVK1wWMr-7FsVnG7g-5v6dDTOqCFmNQ&e=>
 version=1
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||AafService initAafService: useAaf=true, 
aafUrl=https://aaf-service:8100/<https://urldefense.proofpoint.com/v2/url?u=https-3A__aaf-2Dservice-3A8100_&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=GS3A2PGwqP0WG1xmKt0A256FZysw1ggmGIkXwVu76o0&e=>
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||new ClusterService
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||AafService initAafService: useAaf=true, 
aafUrl=https://aaf-service:8100/<https://urldefense.proofpoint.com/v2/url?u=https-3A__aaf-2Dservice-3A8100_&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=TTiyLt3NmHhqJbSZsYv8tdAqTAgC-wtEx8NKq2P__08&m=PRCD0GTeOQuSkTz-NeNnI1tTpyIyBJmFUCgBe3-XAaU&s=GS3A2PGwqP0WG1xmKt0A256FZysw1ggmGIkXwVu76o0&e=>
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||TopicService properties: CentralCname=message-router   
defaultGlobarlMrHost=global.host.not.set mmPerMR=true
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||Setting defaultTopicStyle=FQTN_LEGACY_FORMAT
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||config param usePE has been deprecated.  Use 
ApiPermission.Class property instead.
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||ApiPolicy implements 
org.onap.dmaap.dbcapi.authentication.AllowAll
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||dClass=org.onap.dmaap.dbcapi.authentication.AllowAll 
permissionClassSet=true
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||apiNamespace=org.onap.dmaap-bc.api
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||setAuth:  authorization=null
2020-07-17 07:39:58,374|ymgjs7sdjz||qtp2123960023-300||POST 
dr_pubs||INFO|||||||setUriPath: uriPath=topics uri=topics

Marek Kukulski
mobile: +48 664718563
e-mail :   [email protected]<mailto:[email protected]>


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21731): https://lists.onap.org/g/onap-discuss/message/21731
Mute This Topic: https://lists.onap.org/mt/75608500/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to