Hi,

I am trying to deploy ONAP(Jakarta) on K8-4 node (1 master, 3 worker) setup.

Kubernetes version using:
Client Version: v1.22.4
Server Version: v1.22.16

Following job is failing repeatedly

* dev-sdc-cs-config-cassandra-6gkgh

*Below is the log from the pod:*

================================================================================
Error executing action `run` on resource 'execute[create-sdc-user]'
================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '2'
---- Begin output of /tmp/create_cassandra_user.sh ----
STDOUT: Thu Nov 24 05:51:54 UTC 2022 --- cqlsh is able to connect.
Going to create asdc_user
STDERR: <stdin>:2:Traceback (most recent call last):
File "/usr/local/bin/cqlsh", line 1076, in perform_simple_statement
result = future.result()
File "cassandra/cluster.py", line 4894, in 
cassandra.cluster.ResponseFuture.result
raise self._final_exception
Unavailable: Error from server: code=1000 [Unavailable exception] 
message="Cannot achieve consistency level QUORUM" info={'required_replicas': 1, 
'alive_replicas': 0, 'consistency': 'QUORUM'}

<stdin>:2:InvalidRequest: Error from server: code=2200 [Invalid query] 
message="asdc_user already exists"
---- End output of /tmp/create_cassandra_user.sh ----
Ran /tmp/create_cassandra_user.sh returned 2

Cassandra is three node setup. Following is the pods status

dev-cassandra-0                                1/1     Running             0    
            14m
dev-cassandra-1                                1/1     Running             0    
            14m
dev-cassandra-2                                1/1     Running             0    
            14m

Any help is appreciated.

Regards,
Aditya


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24264): https://lists.onap.org/g/onap-discuss/message/24264
Mute This Topic: https://lists.onap.org/mt/95233179/21656
Mute #sdc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdc
Mute #cassandra:https://lists.onap.org/g/onap-discuss/mutehashtag/cassandra
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to