Hi All,

I am trying to enable SDC in the demo project, the ONAP is on top of vanilla 
OpenStack, just want to have a try on how it works from portal, but I got 
bunches of issues and the latest one is from Cassandra, seen from the log it 
seems like 9042 port is not available (log is attached), so I go to the 
container and run /root/startup.sh manually, firstly, I can access the DB, but 
some mins later I cannot access the DB anymore,

This is what I get from the DB couple of mins after run startup.sh.

# cqlsh -u cassandra -p Aa1234%^! 10.0.3.1



Namespaces:

cassandra@cqlsh> DESCRIBE keyspaces;



system_auth   titan   sdcaudit  sdcartifact

sdccomponent  system  dox       system_traces


I check both 9160 and 9042 inside container, seems like they are opened,
root@5aad37f3ec48:/var/log/cassandra# netstat -anp | grep 9042
tcp6       0      0 0.0.0.0:9042            :::*                    LISTEN      
-
root@5aad37f3ec48:/var/log/cassandra# netstat -anp | grep 9160
tcp        0      0 0.0.0.0:9160            0.0.0.0:*               LISTEN      
-


But when I try to connect to the DB again, I see,
root@5aad37f3ec48:/var/log/cassandra# cqlsh -u cassandra -p Aa1234%^! 10.0.3.1
Connection error: ('Unable to connect to any servers', {'10.0.3.1': 
OperationTimedOut('errors=None, last_host=None',)})

Also, I saw those message from console,
Fri Jun 30 01:39:52 UTC 2017 --- cqlsh is NOT enabled to connect yet. sleep 5

Looks like those info comes from /tmp/create_cassandra_user.sh.

Any ideas on how to fix it?

Best Regards,
Dave Chen

Attachment: output.log
Description: output.log

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to