Re: Casablanca oof module pods are waiting on init status #oof


Ying, Ruoyu
 

Hi,

 

I haven’t encountered situations like that. Do you ever meet the same problem while deploying other components?

 

Best Regards,

Ruoyu

 

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of gulsum atici
Sent: Thursday, December 27, 2018 3:55 PM
To: gulsum atici <gulsumatici@...>; onap-discuss@...
Subject: Re: [onap-discuss] Casablanca oof module pods are waiting on init status #oof

 

Dear Ruoyu,

I have  undeploy  some  modules, aaf, oof, so, deleted   resources  which  is shown  by  'kubectl get all -n  onap'  regarding  with  those  modules, deleted  the  pv  and  pvc  of  those  modules, cleaned  those  modules'  files  under  /dockerdata-nfs .  Then  deployed  the  modules  again.  
However,  jobs  are not executing.   

Here is  one  of the  job  describtion. What  can  be  the  reason  that  those  jobs  are  not  working?

ubuntu@kub1:~$ kubectl  describe  job dev-oof-music-cassandra-job-config   -n onap 

Name:           dev-oof-music-cassandra-job-config

Namespace:      onap

Selector:       controller-uid=d65b9d35-09a8-11e9-b23c-028b437f6721

Labels:         app=music-cassandra-job-job

                chart=music-cassandra-job-3.0.0

                heritage=Tiller

                release=dev-oof

Annotations:    <none>

Parallelism:    1

Completions:    1

Pods Statuses:  0 Running / 0 Succeeded / 0 Failed

Pod Template:

  Labels:  app=music-cassandra-job-job

           controller-uid=d65b9d35-09a8-11e9-b23c-028b437f6721

           job-name=dev-oof-music-cassandra-job-config

           release=dev-oof

  Init Containers:

   music-cassandra-job-readiness:

    Image:      oomk8s/readiness-check:2.0.0

    Port:       <none>

    Host Port:  <none>

    Command:

      /root/ready.py

    Args:

      --container-name

      music-cassandra

    Environment:

      NAMESPACE:   (v1:metadata.namespace)

    Mounts:       <none>

  Containers:

   music-cassandra-job-update-job:

    Image:      nexus3.onap.org:10001/onap/music/cassandra_job:3.0.24

    Port:       <none>

    Host Port:  <none>

    Environment:

      CASS_HOSTNAME:  music-cassandra

      USERNAME:       nelson24

      PORT:           9042

      PASSWORD:       nelson24

      TIMEOUT:        30

      DELAY:          120

    Mounts:

      /cql/admin.cql from music-cassandra-job-cql (rw)

      /cql/admin_pw.cql from music-cassandra-job-cql (rw)

      /cql/extra from music-cassandra-job-extra-cql (rw)

  Volumes:

   music-cassandra-job-cql:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      dev-oof-music-cassandra-job-cql

    Optional:  false

   music-cassandra-job-extra-cql:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      dev-oof-music-cassandra-job-extra-cql

    Optional:  false

Events:        <none>

 

 

ubuntu@kub1:~$ kubectl  describe  job  dev-oof-oof-has-onboard  -n onap 

Name:           dev-oof-oof-has-onboard

Namespace:      onap

Selector:       controller-uid=d6895c92-09a8-11e9-b23c-028b437f6721

Labels:         app=oof-has

                chart=oof-has-3.0.0

                heritage=Tiller

                release=dev-oof

Annotations:    <none>

Parallelism:    1

Completions:    1

Pods Statuses:  0 Running / 0 Succeeded / 0 Failed

Pod Template:

  Labels:  app=oof-has

           controller-uid=d6895c92-09a8-11e9-b23c-028b437f6721

           job-name=dev-oof-oof-has-onboard

           release=dev-oof

  Init Containers:

   oof-has-readiness:

    Image:      oomk8s/readiness-check:2.0.0

    Port:       <none>

    Host Port:  <none>

    Command:

      /root/ready.py

    Args:

      --container-name

      music-tomcat

      --container-name

      music-cassandra

    Environment:

      NAMESPACE:   (v1:metadata.namespace)

    Mounts:       <none>

   oof-has-music-db-readiness:

    Image:      oomk8s/readiness-check:2.0.0

    Port:       <none>

    Host Port:  <none>

    Command:

      /root/job_complete.py

    Args:

      -j

      dev-oof-music-cassandra-job-config

    Environment:

      NAMESPACE:   (v1:metadata.namespace)

    Mounts:       <none>

  Containers:

   oof-has-onboard:

    Image:      nexus3.onap.org:10001/onap/optf-has:1.2.4

    Port:       <none>

    Host Port:  <none>

    Command:

      /bin/sh

      -c

-H "Content-Type: application/json" \

-H "Authorization: Basic Y29uZHVjdG9yOmMwbmR1Y3Qwcg==" \

--data @onboard.json

 

    Environment:  <none>

    Mounts:

      /etc/localtime from localtime (ro)

      /has/onboard.json from onap-oof-has-config (rw)

  Volumes:

   localtime:

    Type:          HostPath (bare host directory volume)

    Path:          /etc/localtime

    HostPathType:  

   onap-oof-has-config:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      onap-oof-has-configmap

    Optional:  false

Events:        <none>

 


NAME                                                 DESIRED   SUCCESSFUL   AGE

job.batch/dev-aaf-aaf-sms-preload                    1         0            16m

job.batch/dev-aaf-aaf-sshsm-distcenter               1         0            16m

job.batch/dev-aaf-aaf-sshsm-testca                   1         0            16m

job.batch/dev-aai-aai-graphadmin-create-db-schema    1         1            6d

job.batch/dev-aai-aai-traversal-update-query-data    1         1            6d

job.batch/dev-contrib-netbox-app-provisioning        1         1            6d

job.batch/dev-oof-music-cassandra-job-config         1         0            18m

job.batch/dev-oof-oof-has-healthcheck                1         0            18m

job.batch/dev-oof-oof-has-onboard                    1         0            18m

job.batch/dev-portal-portal-db-config                1         1            6d

job.batch/dev-sdc-sdc-be-config-backend              1         1            6d

job.batch/dev-sdc-sdc-cs-config-cassandra            1         1            6d

job.batch/dev-sdc-sdc-dcae-be-tools                  1         1            6d

job.batch/dev-sdc-sdc-es-config-elasticsearch        1         1            6d

job.batch/dev-sdc-sdc-onboarding-be-cassandra-init   1         1            6d

job.batch/dev-sdc-sdc-wfd-be-workflow-init           1         1            6d

job.batch/dev-vid-vid-galera-config                  1         1            6d

job.batch/dev-vnfsdk-vnfsdk-init-postgres            1         1            6d

 

Join onap-discuss@lists.onap.org to automatically receive all group messages.