Hi,

AAI is giving the following error, when I try to GET any data

2019-07-07T08:16:39.464+0000 AUDIT [cadi] ID AAI converted to [email protected]
2019-07-07T08:16:39.494+0000: Error reading location information from 
https://aaf-locate.onap:8095/locate/AAF_NS.service:2.0: 501 
{"messageId":"SVC1501","text":"Can't use this cluster instance because it 
encountered an error in its initialization","variables":["Not Implemented"]}
2019-07-07T08:16:39.495+0000 WARN [cadi] Authenticating Service unavailable 
from 10.42.43.100:35822 ( No Entries found for 
'https://aaf-locate.onap:8095/locate/AAF_NS.service:2.0' )
2019-07-07T08:16:39.495+0000 AUDIT [cadi] No TAF will authorize for request 
from 10.42.43.100:35822
2019-07-07T08:16:39.496+0000 WARN [cadi] Trans: 
user=n/a[],ip=10.42.43.100,ms=32.045540,validate=32.034157,code=0.000000
2019-07-07T08:16:48.060+0000 INFO [cadi] Persist Cache: removed 0 of 0 items 
from memory and 0 of 0 from disk


I am trying to figure out why the aaf-service pod shows the following exception 
:

2019-07-07 07:39:51,384 WARN [init] 2019-07-07T07:39:51.384+0000 INIT [init] 
Cass ResetExceptions =  
com.datastax.driver.core.exceptions.NoHostAvailableException:"no host was 
tried":"Connection has been closed"



Here's the log showing that I can connect from aa-service pod to aaf-cass pod.

bash-4.4# cqlsh aaf-cass.onap 9042  --cqlversion=3.4.4
Connected to osaaf at aaf-cass.onap:9042.
[cqlsh 5.0.1 | Cassandra 3.11.4 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh> describe keyspaces

authz  system_schema  system_auth  system  system_distributed  system_traces

cqlsh> use authz;
cqlsh:authz> describe tables

locate    notified  cache      locate_ports  future       ns_attrib  config
run_lock  cred      user_role  perm          oauth_token  approval   approved
x509      role      artifact   cert          delegate     ns         history

cqlsh:authz> select * from ns;

name                                       | description                        
 | parent            | scope | type
--------------------------------------------+-------------------------------------+-------------------+-------+------
         org.onap.dmaap.mr.mirrormakeragent |                                
null | org.onap.dmaap.mr |  null |    3
                          org.onap.dmaap-dr |                                
null |          org.onap |  null |    3
                org.onap.dmaap.mr.PM_MAPPER |                                
null | org.onap.dmaap.mr |  null |    3
                               org.onap.vfc |                                
null |          org.onap |  null |    3
                          org.onap.dmaap-bc |                                
null |          org.onap |  null |    3
                                        org |                      Root 
Namespace |                 . |     1 |    1
                            org.onap.portal |                         ONAP 
Portal |   org.onap.portal |     3 |    3
org.onap.dmaap.mr.IdentityTopic-1547839476 |                                
null | org.onap.dmaap.mr |  null |    3
                            org.onap.holmes |                                
null |          org.onap |  null |    3
                         org.onap.clampdemo |                  Onap clamp demo 
NS |          org.onap |     2 |    2

Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733

From: SEAUDI Abdelmuhaimen O-EG/HRCS
Sent: Sunday, July 07, 2019 7:41 AM
To: [email protected]
Subject: Error AAF CASSANDRA Dublin

Hi,

I cloned OOM Dublin, and after deploying onap, AAF gives the following error :
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried 
for query failed (tried: localhost/127.0.0.1:9042 
(com.datastax.driver.core.exceptions.TransportException: 
[localhost/127.0.0.1:9042] Cannot connect))
        at 
com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:268)
        at 
com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:107)
        at 
com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect(Cluster.java:1652)
        at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1571)
        at com.datastax.driver.core.Cluster.init(Cluster.java:208)
        at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:376)
        at com.datastax.driver.core.Cluster.connect(Cluster.java:332)
        at org.onap.aaf.auth.dao.AbsCassDAO.getSession(AbsCassDAO.java:434)
        at org.onap.aaf.auth.dao.AbsCassDAO.getSession(AbsCassDAO.java:394)
        at org.onap.aaf.auth.dao.cass.CacheInfoDAO.init(CacheInfoDAO.java:333)
        at org.onap.aaf.auth.dao.cass.CacheInfoDAO.<init>(CacheInfoDAO.java:83)
        at org.onap.aaf.auth.dao.hl.Question.<init>(Question.java:152)
        at org.onap.aaf.auth.service.AAF_Service.<init>(AAF_Service.java:99)
        at org.onap.aaf.auth.service.AAF_Service.main(AAF_Service.java:229)

AAI cannot authenticate with AAF

Any idea what this error could mean ?

I tried redeploying AAF, but didn't help

I can connect to AAF-Cassandra, and i can see the authz table.

thanks

A. Seaudi

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


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

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

Reply via email to