Hi  Fiachra,

Thanks for the reply.

Yes, I amusing the latest branch of OOM (Dublin).

In our environment below pod is failing, and logs are

onap   dev-dmaap-message-router-mirrormaker-6fd88d5bc4-xqffx   0/1  
CrashLoopBackOff  31   135m IP onap-onap-k8s-04   <none>   <none>

LOGS:

+ exec start-mirrormaker.sh
Got permission denied while trying to connect to the Docker daemon socket at 
unix:///var/run/docker.sock: Get 
http://%2Fvar%2Frun%2Fdocker.sock/v1.38/containers/dev-dmaap-message-router-mirrormaker-6fd88d5bc4-xqffx/json:
 dial unix /var/run/docker.sock: connect: permission denied
2019-07-08 12:00:05 INFO  - mmagenthome is set :/opt loading properties at 
/etc/mmagent.config
2019-07-08 12:00:05 INFO  - kafkahome is set :/opt/kafka
2019-07-08 12:00:05 ERROR -  Exception Occered java.io.IOException: Server 
returned HTTP response code: 403 for URL: 
http://message-router:3904/events/org.onap.dmaap.mr.mirrormakeragent
2019-07-08 12:00:05 ERROR - Problem publishing to topic, please verify the 
config org.onap.dmaap.mr.mirrormakeragent MR URL is:http://message-router:3904 
Error is:  ERROR:Server returned HTTP response code: 403 for URL: 
http://message-router:3904/events/org.onap.dmaap.mr.mirrormakeragent
ERROR: mmagent startup unsuccessful, please make sure the mmagenthome 
/etc/mmagent.config is set and mechid have the rights to the topic

When I am trying to create the Mirror maker manually, it throws the below error 
(AAF Authentication issue).

curl -vvv -X POST http://IP:PORT/mirrormakers/create

< HTTP/1.1 401 Unauthorized
< Date: Mon, 08 Jul 2019 11:35:56 GMT
< Content-Type: application/json;charset=utf-8
< Accept: */*
< breadcrumbId: ID-dev-dmaap-message-router-0-1562574992016-0-62130
< User-Agent: curl/7.58.0
< X-CSI-Internal-WriteableRequest: true
< Content-Length: 115
< Server: Jetty(9.4.z-SNAPSHOT)
<
* Connection #0 to host 10.211.1.20 left intact
{"mrstatus":4002,"helpURL":"http://onap.readthedocs.io","message":"No Mirror 
Maker Admin permission.","status":401}

Even when tried the AAF call, I got the same issue (401)

curl -k -vvv https://10.211.1.20:31111/locate/AAF_NS.service:2.0

HTTP/1.1 401 Unauthorized
< Date: Mon, 08 Jul 2019 10:58:00 GMT
< WWW-Authenticate: Basic realm="people.osaaf.org"
< Content-Length: 0
< Server: Jetty(9.4.12.v20180830)



1.       How can solve the AAF authentication in the DMAAP or can I avoid the 
AAF authentication for time being?



Thanks & Regards,
Thamlur Raju

From: [email protected] <[email protected]> On Behalf Of 
Fiachra Corcoran via Lists.Onap.Org
Sent: Friday, July 5, 2019 9:52 PM
To: Thamlur Raju <[email protected]>; [email protected]
Subject: Re: [onap-discuss] [dmaap] problem with redeploy on latest branch

Hi Thamlur,

The problem with undeploy plugin (or helm del for that matter) is that not all 
k8s resources are removed in the process.

The error above relates to k8s persistent volumes left behind, which causes the 
redeploy to fail.
The short answer is to use "kubectl" to get all persistentvolumeclaims and 
persistentvolumes for all 3 DMaaP components (dmaap-dr, dmaap-mr, dmaap-bc).

kubectl get persistentvolumeclaims -n onap | grep dmaap
kubectl get persistentvolumes -n onap | grep dmaap

Then "kubectl delete" them manually before redeploying.
There may also be some other dmaap resources that need to be deleted. (secrets, 
configmaps, storageclasses, jobs)

Also, it's probably best to delete all dmaap data from the dockerdata-nfs pre 
redploy.

The original post refers to Casablanca, but are you deploying with latest OOM 
branch?

Regards,
Fiachra

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

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

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

<<attachment: winmail.dat>>

Reply via email to