Topics

ONAP Frankfurt Deployment issues - A&AI


PHADKE, MILIND M
 

Hi All,

 

We are getting into an issue with A&AI deployment in Frankfurt ONAP. The createDBSchema job is failing to connect to Cassandra. Here are some more details below. Has someone faced a similar issue?

 

Deploy command used - helm deploy dev local/onap --namespace onap -f onap/resources/overrides/onap-5g-network-slicing.yaml -f onap/resources/environments/public-cloud.yaml --set global.masterPassword=onap --verbose --timeout 2000 2>&1 >install3.log &

 

 

dev-aai-graphadmin-create-db-schema-27xv4 0/1 Error 0 4h44m
dev-aai-graphadmin-create-db-schema-5mwlk 0/1 Error 0 4h24m
dev-aai-graphadmin-create-db-schema-6btbw 0/1 Error 0 3h54m
dev-aai-graphadmin-create-db-schema-75r6z 0/1 Error 0 4h12m
dev-aai-graphadmin-create-db-schema-99jgf 0/1 Error 0 4h18m
dev-aai-graphadmin-create-db-schema-bnxtr 0/1 Error 0 4h48m
dev-aai-graphadmin-create-db-schema-ctz7q 0/1 Error 0 4h47m
dev-aai-graphadmin-create-db-schema-czftt 0/1 Error 0 3h36m
dev-aai-graphadmin-create-db-schema-d27w4 0/1 Error 0 4h30m
dev-aai-graphadmin-create-db-schema-gsbkc 0/1 Error 0 4h6m
dev-aai-graphadmin-create-db-schema-gz6mr 0/1 Error 0 4h46m
dev-aai-graphadmin-create-db-schema-kqsrf 0/1 Error 0 3h42m
dev-aai-graphadmin-create-db-schema-nn9cv 0/1 Error 0 4h36m
dev-aai-graphadmin-create-db-schema-nrxvl 0/1 Error 0 4h54m
dev-aai-graphadmin-create-db-schema-p29v7 0/1 Error 0 4h46m
dev-aai-graphadmin-create-db-schema-r7w7z 0/1 Error 0 4h
dev-aai-graphadmin-create-db-schema-swrr7 0/1 Error 0 3h48m
dev-aai-graphadmin-create-db-schema-tnlbz 0/1 Error 0 4h42m

 

Cassandra itself is running as you can see below

dev-cassandra-0 1/1 Running 0 4h57m
dev-cassandra-1 1/1 Running 0 4h55m
dev-cassandra-2 1/1 Running 0 4h53m

From the logs 

Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra:9042 (com.datastax.driver.core.exceptions.TransportException: [cassandra:9042] Cannot connect))

Failed to run the tool /opt/app/aai-graphadmin/bin/createDBSchema.sh successfully
Failed to run the createDBSchema.sh

kubectl get services -n onap

only cassandra line shown below

cassandra                          ClusterIP      None             <none>        7000/TCP,7001/TCP,7199/TCP,9042/TCP,9160/TCP,61621/TCP   4h57m

 

Any help is greatly appreciated.

 

 

  • Milind