Gulsum,

The error appears to be the following:

[tiller] 2020/06/24 12:11:52 warning: Release dev-sdnc post-install 
sdnc/templates/job.yaml could not complete: timed out waiting for the condition

That job is used to initialize the sdnc database in the mariadb-galera service. 
 That error above indicates that the job failed due to a timeout on the 
readiness check for the mariadb-galera cluster.

I’ve seen that happen in my local test environment if not all the mariadb pods 
come online, which can happen sometimes.

Does kubectl -n onap get pods show all the mariadb pods online?

If so, then you might just retry the helm deploy for dev-sdnc to see if perhaps 
this was some timing issue (i.e. maybe it took mariadb longer than the timeout 
to come online).  You might also want to increase the timeout … I usually add 
“—timeout 900” when I start my environment.

Hope this helps,
Dan


From: onap-discuss <[email protected]> on behalf of Gülsüm Atıcı 
<[email protected]>
Reply-To: onap-discuss <[email protected]>, 
"[email protected]" <[email protected]>
Date: Wednesday, June 24, 2020 at 8:19 AM
To: onap-discuss <[email protected]>
Subject: [onap-discuss] Frankfurt SDNC modul deploy fails

Dear All,

SDNC  module deployment fails. Tiller  pod logs are  included.  How it can be  
fixed ?
NAME              REVISION
UPDATED                  STATUS
CHART                APP VERSION
NAMESPACE
dev                1
Wed Jun 24 14:02:22 2020 DEPLOYED
onap-6.0.0          Frankfurt
onap
dev-aai            1
Wed Jun 24 14:02:53 2020 DEPLOYED
aai-6.0.0
onap
dev-appc          1
Wed Jun 24 14:03:00 2020 DEPLOYED
appc-6.0.0
onap
dev-cassandra      1
Wed Jun 24 14:03:04 2020 DEPLOYED
cassandra-6.0.0
onap
dev-cds            1
Wed Jun 24 14:03:05 2020 DEPLOYED
cds-6.0.0
onap
dev-clamp          1
Wed Jun 24 14:03:08 2020 DEPLOYED
clamp-6.0.0
onap
dev-cli            1
Wed Jun 24 14:03:10 2020 DEPLOYED
cli-6.0.0
onap
dev-consul        1
Wed Jun 24 14:03:11 2020 DEPLOYED
consul-6.0.0
onap
dev-contrib        1
Wed Jun 24 14:03:11 2020 DEPLOYED
contrib-6.0.0
onap
dev-dcaegen2      1
Wed Jun 24 14:03:18 2020 DEPLOYED
dcaegen2-6.0.0
onap
dev-dcaemod        1
Wed Jun 24 14:03:40 2020 DEPLOYED
dcaemod-6.0.0
onap
dev-esr            1
Wed Jun 24 14:37:21 2020 DEPLOYED
esr-6.0.0
onap
dev-mariadb-galera 1
Wed Jun 24 14:37:22 2020 DEPLOYED
mariadb-galera-6.0.0
onap
dev-modeling      1
Wed Jun 24 14:37:24 2020 DEPLOYED
modeling-6.0.0
onap
dev-msb            1
Wed Jun 24 14:37:26 2020 DEPLOYED
msb-6.0.0
onap
dev-multicloud    1
Wed Jun 24 14:37:27 2020 DEPLOYED
multicloud-6.0.0
onap
dev-nbi            1
Wed Jun 24 14:37:29 2020 DEPLOYED
nbi-6.0.0
onap
dev-oof            1
Wed Jun 24 14:37:33 2020 DEPLOYED
oof-6.0.0
onap
dev-policy        1
Wed Jun 24 14:37:41 2020 DEPLOYED
policy-6.0.0
onap
dev-portal        1
Wed Jun 24 14:37:51 2020 DEPLOYED
portal-6.0.0
onap
dev-robot          1
Wed Jun 24 14:37:56 2020 DEPLOYED
robot-6.0.0
onap
dev-sdc            1
Wed Jun 24 14:37:57 2020 DEPLOYED
sdc-6.0.0
onap
dev-sdnc          1
Wed Jun 24 14:38:00 2020 FAILED
sdnc-6.0.0
onap

tiller pod  logs :

tiller] 2020/06/24 11:38:00 getting history for release dev-sdnc
[storage] 2020/06/24 11:38:00 getting release history for "dev-sdnc"
[tiller] 2020/06/24 11:38:00 preparing install for dev-sdnc
[storage] 2020/06/24 11:38:00 getting release history for "dev-sdnc"
[tiller] 2020/06/24 11:38:01 rendering sdnc chart using values
2020/06/24 11:38:29 info: manifest 
"sdnc/charts/dmaap-listener/templates/secret.yaml" is empty. Skipping.
2020/06/24 11:38:29 info: manifest 
"sdnc/charts/sdnc-ansible-server/templates/secret.yaml" is empty. Skipping.
2020/06/24 11:38:29 info: manifest "sdnc/templates/ingress.yaml" is empty. 
Skipping.
2020/06/24 11:38:29 info: manifest 
"sdnc/charts/mariadb-galera/templates/backup/cronjob.yaml" is empty. Skipping.
2020/06/24 11:38:30 info: manifest 
"sdnc/charts/mariadb-galera/templates/backup/pv.yaml" is empty. Skipping.
2020/06/24 11:38:30 info: manifest 
"sdnc/charts/mariadb-galera/templates/backup/pvc.yaml" is empty. Skipping.
[tiller] 2020/06/24 11:38:30 performing install for dev-sdnc
[tiller] 2020/06/24 11:38:30 executing 6 crd-install hooks for dev-sdnc
[tiller] 2020/06/24 11:38:30 hooks complete for crd-install dev-sdnc
[tiller] 2020/06/24 11:38:30 executing 6 pre-install hooks for dev-sdnc
[tiller] 2020/06/24 11:38:30 hooks complete for pre-install dev-sdnc
[storage] 2020/06/24 11:38:30 getting release history for "dev-sdnc"
[storage] 2020/06/24 11:38:30 creating release "dev-sdnc.v1"
[kube] 2020/06/24 11:38:30 building resources from manifest
[kube] 2020/06/24 11:38:30 creating 70 resource(s)
[tiller] 2020/06/24 11:38:30 executing 6 post-install hooks for dev-sdnc
[tiller] 2020/06/24 11:38:30 deleting post-install hook dev-sdnc-dbinit-job for 
release dev-sdnc due to "before-hook-creation" policy
[kube] 2020/06/24 11:38:30 Starting delete for "dev-sdnc-dbinit-job" Job
[kube] 2020/06/24 11:38:30 jobs.batch "dev-sdnc-dbinit-job" not found
[kube] 2020/06/24 11:38:30 Waiting for 60 seconds for delete to be completed
[kube] 2020/06/24 11:38:32 building resources from manifest
[kube] 2020/06/24 11:38:32 creating 1 resource(s)
[kube] 2020/06/24 11:38:32 Watching for changes to Job dev-sdnc-dbinit-job with 
timeout of 33m20s
[kube] 2020/06/24 11:38:33 Add/Modify event for dev-sdnc-dbinit-job: ADDED
[kube] 2020/06/24 11:38:33 dev-sdnc-dbinit-job: Jobs active: 0, jobs failed: 0, 
jobs succeeded: 0
[kube] 2020/06/24 11:38:33 Add/Modify event for dev-sdnc-dbinit-job: MODIFIED
[kube] 2020/06/24 11:38:33 dev-sdnc-dbinit-job: Jobs active: 1, jobs failed: 0, 
jobs succeeded: 0
[storage] 2020/06/24 11:47:11 listing all releases with filter
[kube] 2020/06/24 11:49:38 Add/Modify event for dev-sdnc-dbinit-job: MODIFIED
[kube] 2020/06/24 11:49:38 dev-sdnc-dbinit-job: Jobs active: 1, jobs failed: 1, 
jobs succeeded: 0
^[[kube] 2020/06/24 12:02:16 Add/Modify event for dev-sdnc-dbinit-job: MODIFIED
[kube] 2020/06/24 12:02:16 dev-sdnc-dbinit-job: Jobs active: 1, jobs failed: 2, 
jobs succeeded: 0
[tiller] 2020/06/24 12:11:52 warning: Release dev-sdnc post-install 
sdnc/templates/job.yaml could not complete: timed out waiting for the condition
[tiller] 2020/06/24 12:11:52 warning: Release "dev-sdnc" failed post-install: 
timed out waiting for the condition
[storage] 2020/06/24 12:11:52 updating release "dev-sdnc.v1"
[tiller] 2020/06/24 12:11:53 failed install perform step: timed out waiting for 
the condition



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21482): https://lists.onap.org/g/onap-discuss/message/21482
Mute This Topic: https://lists.onap.org/mt/75080232/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to