Error while deploying APPC in ONAP #appc #deployment


Lathish
 

Did you check the safe_to_bootstrap value in docker nfs location of appc?

 

If it is 0, try to set it 1 in data0,data1,data2 and recreate the DB pod.

 

/Lathish

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Taka Cho via Lists.Onap.Org
Sent: Monday, July 22, 2019 3:14 PM
To: onap-discuss@...; prateekg099@...
Subject: Re: [onap-discuss] Error while deploying APPC in ONAP #appc #deployment

 

Hi,

 

I think it’s something is wrong in your NFS shared mount.

 

Taka

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Prateek Gupta
Sent: Monday, July 22, 2019 9:18 AM
To: onap-discuss@...
Subject: [onap-discuss] Error while deploying APPC in ONAP #appc #deployment

 

Error while bringing up the dev-appc-appc-db-0 component.

 

2019-07-22 17:18:21 140476023458048 [ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last one to leave the cluster and may not contain all the updates. To force cluster bootstrap with this node, edit the grastate.dat file manually and set safe_to_bootstrap to 1 .

2019-07-22 17:18:21 140476023458048 [ERROR] WSREP: wsrep::connect(gcomm://) failed: 7

2019-07-22 17:18:21 140476023458048 [ERROR] Aborting


Status of the pods:

root@onap-master:/home/onapmaster# kubectl get pods -n onap | grep appc

dev-appc-appc-0                                       0/2       Init:0/1           19         3h

dev-appc-appc-ansible-server-589cb48497-pxfr4         0/1       Init:Error         19         3h

dev-appc-appc-cdt-57d685d65c-wlt6s                    1/1       Running            0          3h

dev-appc-appc-db-0                                    0/1       CrashLoopBackOff   41         3h

dev-appc-appc-dgbuilder-768d9f4fb8-sng6k              0/1       Init:0/1           19         3h


Image we are using is :-    nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v003

If anyone faced the same issue please help.

 


Taka Cho
 

Hi,

 

I think it’s something is wrong in your NFS shared mount.

 

Taka

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Prateek Gupta
Sent: Monday, July 22, 2019 9:18 AM
To: onap-discuss@...
Subject: [onap-discuss] Error while deploying APPC in ONAP #appc #deployment

 

Error while bringing up the dev-appc-appc-db-0 component.

 

2019-07-22 17:18:21 140476023458048 [ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last one to leave the cluster and may not contain all the updates. To force cluster bootstrap with this node, edit the grastate.dat file manually and set safe_to_bootstrap to 1 .

2019-07-22 17:18:21 140476023458048 [ERROR] WSREP: wsrep::connect(gcomm://) failed: 7

2019-07-22 17:18:21 140476023458048 [ERROR] Aborting


Status of the pods:

root@onap-master:/home/onapmaster# kubectl get pods -n onap | grep appc

dev-appc-appc-0                                       0/2       Init:0/1           19         3h

dev-appc-appc-ansible-server-589cb48497-pxfr4         0/1       Init:Error         19         3h

dev-appc-appc-cdt-57d685d65c-wlt6s                    1/1       Running            0          3h

dev-appc-appc-db-0                                    0/1       CrashLoopBackOff   41         3h

dev-appc-appc-dgbuilder-768d9f4fb8-sng6k              0/1       Init:0/1           19         3h


Image we are using is :-    nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v003

If anyone faced the same issue please help.

 


Prateek Gupta
 

Error while bringing up the dev-appc-appc-db-0 component.
 
2019-07-22 17:18:21 140476023458048 [ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last one to leave the cluster and may not contain all the updates. To force cluster bootstrap with this node, edit the grastate.dat file manually and set safe_to_bootstrap to 1 .
2019-07-22 17:18:21 140476023458048 [ERROR] WSREP: wsrep::connect(gcomm://) failed: 7
2019-07-22 17:18:21 140476023458048 [ERROR] Aborting

Status of the pods:
root@onap-master:/home/onapmaster# kubectl get pods -n onap | grep appc
dev-appc-appc-0                                       0/2       Init:0/1           19         3h
dev-appc-appc-ansible-server-589cb48497-pxfr4         0/1       Init:Error         19         3h
dev-appc-appc-cdt-57d685d65c-wlt6s                    1/1       Running            0          3h
dev-appc-appc-db-0                                    0/1       CrashLoopBackOff   41         3h
dev-appc-appc-dgbuilder-768d9f4fb8-sng6k              0/1       Init:0/1           19         3h

Image we are using is :-    nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v003

If anyone faced the same issue please help.