root@releaseroot@sb02-rancher:~# kubectl -n onap exec -it dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "describe keyspaces"
sdccomponent system_auth sdcaudit system_distributed sdctitan
workflow system dox system_traces sdcrepository
zusammen_dox aaigraph sdcartifact zusammen_workflow
root@sb00root@sb02-rancher:~/oom#~# kubectl -n onap exec -it dev-cassandra-cassandra-0 bash root@dev-cassandra-cassandra-0:/# cqlsh -u cassandra -p cassandra -e Connected"drop tokeyspace cassandra at sdctitan"
<stdin>:1:OperationTimedOut: errors={'127.0.0.1':9042. [cqlsh 5.0.1 | Cassandra 2.2.14 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cassandra@cqlsh> describe keyspaces;
sdccomponent system_auth sdcaudit system_distributed sdctitan
workflow system dox system_traces sdcrepository
zusammen_dox aaigraph sdcartifact zusammen_workflow
cassandra@cqlsh> drop keyspace sdccomponent;
'Request timed out while waiting for schema agreement. See Session.execute[_async](timeout) and Cluster.max_schema_agreement_wait.'}, last_host=127.0.0.1
command terminated with exit code 2
root@sb02-rancher:~# kubectl -n onap exec -it dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "drop keyspace sdcrepository"
root@sb02-rancher:~# kubectl -n onap exec -it dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "drop keyspace sdcartifact"
root@sb02-rancher:~# kubectl -n onap exec -it dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "drop keyspace sdccomponent"
root@sb02-rancher:~# kubectl -n onap exec -it dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "drop keyspace sdcaudit"
<stdin>:1:OperationTimedOut: errors={'127.0.0.1': 'RequestClient timed out while waiting for schema agreementrequest timeout. See Session.execute[_async](timeout) and Cluster.max_schema_agreement_wait.)'}, last_host=127.0.0.1
command cassandra@cqlsh>terminated with dropexit keyspacecode sdcaudit;
OperationTimedOut: errors={'127.0.0.1': 'Request timed out while waiting for schema agreement. See Session.execute[_async](timeout) and Cluster.max_schema_agreement_wait.'}, last_host=127.0.0.1
cassandra@cqlsh>
cassandra@cqlsh> drop keyspace sdctitan;
cassandra@cqlsh> drop keyspace sdcrepository;
cassandra@cqlsh> drop keyspace sdcartifact;
cassandra@cqlsh>
cassandra@cqlsh>
cassandra@cqlsh> describe keyspaces;
workflow system_auth aaigraph dox system_traces
zusammen_dox system zusammen_workflow system_distributed2
root@sb02-rancher:~# kubectl -n onap exec -it dev-cassandra-cassandra-0 -- cqlsh -u cassandra -p cassandra -e "describe keyspaces"
workflow system_auth zusammen_workflow system_distributed aaigraph
zusammen_dox system dox system_traces
|