dev-dmaap-dmaap-dr-node pod does not come up due to https call to dev-dmaap-dmaap-dr-prov pod #dmaap #casablanca


D'Alessandro Alessandro Gerardo
 

Hi all,

I have deployed Casablanca and I have an issue with the highlighted pod

 

 

dev-dmaap-dbc-pg-0                                                                    1/1      Running            0          30m       10.42.29.89   k8s-13    <none>

dev-dmaap-dbc-pg-1                                                                    1/1       Running            0          27m       10.42.182.91 k8s-7     <none>

dev-dmaap-dbc-pgpool-7b748d5894-88wb9                     1/1       Running            0          30m       10.42.140.152   k8s-11    <none>

dev-dmaap-dbc-pgpool-7b748d5894-pj8zv                        1/1        Running            0          30m       10.42.183.217   k8s-6     <none>

dev-dmaap-dmaap-bus-controller-6757c4c86-rv9zh       1/1       Running            0          30m       10.42.156.206   k8s-10    <none>

dev-dmaap-dmaap-dr-db-bb4c67cfd-84c99                        1/1       Running            0          30m       10.42.138.166   k8s-10    <none>

dev-dmaap-dmaap-dr-node-5655ffbd55-gdfpx                 0/1       Running            6         30m       10.42.30.95     k8s-6     <none>

dev-dmaap-dmaap-dr-prov-66df46884f-sjd7x                  1/1       Running            0          30m       10.42.13.150    k8s-7     <none>

dev-dmaap-message-router-684b499dbc-8c6dm            1/1       Running            0         30m       10.42.191.38    k8s-11    <none>

dev-dmaap-message-router-kafka-8466bf6864-t7gtq    1/1       Running            0          30m      10.42.32.83     k8s-4     <none>

dev-dmaap-message-router-zookeeper-5bd997b466-dfmzl  1/1       Running            0          30m       10.42.25.154    k8s-2     <none>

 

Log from dev-dmaap-dmaap-dr-node-5655ffbd55-gdfpx is:

 

16:03:22.198 ERROR [Node Configuration Timer] org.onap.dmaap.datarouter.node.NodeConfigManager - EELF0004E  Configuration failed.

java.net.UnknownHostException: dmaap-dr-prov - try again later.

provurl:: https://dmaap-dr-prov:8443/internal/prov

16:03:22.200 ERROR [Node Configuration Timer] org.onap.dmaap.datarouter.node.NodeConfigManager - EELF0004E  Configuration failed.

java.net.UnknownHostException: dmaap-dr-prov - try again later.

provurl:: https://dmaap-dr-prov:8443/internal/prov

 

 

what I notice is that if the request comes from http it is satisfied while it is NOT if it comes from https

 

please look at the details here below from the robot container:   

 

curl -v http://dmaap-dr-prov:8080/internal/prov

 

{

"feeds": [

],

"groups": [

],

"subscriptions": [

],

"parameters": {

   "ACTIVE_POD": "dmaap-dr-prov",

   "DELIVERY_INIT_RETRY_INTERVAL": 10,

   "DELIVERY_MAX_AGE": 86400,

   "DELIVERY_MAX_RETRY_INTERVAL": 3600,

   "DELIVERY_RETRY_RATIO": 2,

   "LOGROLL_INTERVAL": 300,

   "NODES": ["dmaap-dr-node"],

   "PROV_ACTIVE_NAME": "dmaap-dr-prov",

   "PROV_AUTH_ADDRESSES":

["dmaap-dr-prov","dmaap-dr-node"],

   "PROV_AUTH_SUBJECTS": [""],

   "PROV_DOMAIN": "onap",

   "PROV_MAXFEED_COUNT": 10000,

   "PROV_MAXSUB_COUNT": 100000,

   "PROV_NAME": "dmaap-dr-prov",

   "PROV_REQUIRE_CERT": "false",

   "PROV_REQUIRE_SECURE": "false",

   "STANDBY_POD": "",

   "_INT_VALUES":

["LOGROLL_INTERVAL","PROV_MAXFEED_COUNT","PROV_MAXSUB_COUNT","DELIVERY_INIT_RETRY_INTERVAL","DELIVERY_MAX_RETRY_INTERVAL","DELIVERY_RETRY_RATIO","DELIVERY_MAX_AGE"]

},

"ingress": [

],

"egress": {

},

"routing": [

]

 

 

curl - https://dmaap-dr-prov:8080/internal/prov     THE SAME REQUEST OF DMAAP-DR-NODE

 

 *   Trying 10.43.74.144...

* TCP_NODELAY set

* Connected to dmaap-dr-prov (10.43.74.144) port 8080 (#0)

* ALPN, offering h2

* ALPN, offering http/1.1

* successfully set certificate verify locations:

*   CAfile: /etc/ssl/certs/ca-certificates.crt

   CApath: /etc/ssl/certs

* TLSv1.2 (OUT), TLS handshake, Client hello (1):

* error:1408F10B:SSL routines:ssl3_get_record:wrong version number

* stopped the pause stream!

* Closing connection 0

curl: (35) error:1408F10B:SSL

routines:ssl3_get_record:wrong version number

 

 

I’m re-installing Casablanca after changing the file: root@rancher:~/oom/kubernetes/dmaap/charts/dmaap-bus-controller/resources/dmaap/onap.json  as below:

from "drProvUrl": "https://dmaap-dr-prov:8443"    to

"drProvUrl": "http://dmaap-dr-prov:8080"

 

I’m wondering if someone else has already experienced the same issue and tested this change to share with me if there will be side effects.

 

Thanks in advance

Best regards,

Alessandro

Join onap-discuss@lists.onap.org to automatically receive all group messages.