Re: vFW Closed Loop - Operational Policy issues in Beijing #policy #usecaseui #kubernetes #install #drools


Jorge Hernandez
 

Hello,

According to your output, readiness checks are failing, make sure that policydb and nexus container dependencies come up ok.

Best regards,

Jorge

 

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of gulsumatici@...
Sent: Thursday, November 22, 2018 12:56 AM
To: Cristina Precup <cprecup@...>; onap-discuss@...
Subject: Re: [onap-discuss] vFW Closed Loop - Operational Policy issues in Beijing #kubernetes #policy #drools #dcaegen2 #install #usecaseui

 

Hello,
In Beijing  installation the  drools   pod  status  is init and  doesn't run.  It's  waiting  on   init status  even  deleted  the  pod  several  times, although there is  no  error in the  logs. It can't create the drools container.  Is the  any  method  to  fix this ?

dev-drools-0                                    0/1       Init:0/1  

Labels:         app=drools

                controller-revision-hash=dev-drools-d9cbdb76d

                release=dev

Annotations:    kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"StatefulSet","namespace":"onap","name":"dev-drools","uid":"ec0af246-e82b-11e8-9d15-0272838fbdaf","apiVersi...

Status:         Pending

IP:             10.42.8.108

Created By:     StatefulSet/dev-drools

Controlled By:  StatefulSet/dev-drools

Init Containers:

  drools-readiness:

    Container ID:  docker://8329445dc7d79d50709332a9c86ed85c6c320b010c15d9194177f05bf117ff71

    Image:         oomk8s/readiness-check:2.0.0

    Image ID:      docker-pullable://oomk8s/readiness-check@sha256:7daa08b81954360a1111d03364febcb3dcfeb723bcc12ce3eb3ed3e53f2323ed

    Port:          <none>

    Command:

      /root/ready.py

    Args:

      --container-name

      policydb

      --container-name

      nexus

    State:          Running

      Started:      Wed, 21 Nov 2018 15:04:36 +0000

    Ready:          False

    Restart Count:  0

    Environment:

      NAMESPACE:  onap (v1:metadata.namespace)

    Mounts:

      /var/run/secrets/kubernetes.io/serviceaccount from default-token-28w78 (ro)

Containers:

  drools:

    Container ID:  

    Image:         nexus3.onap.org:10001/onap/policy-drools:1.2.3

    Image ID:      

    Ports:         6969/TCP, 9696/TCP

    Command:

      /bin/bash

      -c

      ./do-start.sh

    State:          Waiting

      Reason:       PodInitializing

    Ready:          False

    Restart Count:  0

    Liveness:       tcp-socket :6969 delay=180s timeout=1s period=10s #success=1 #failure=3

    Readiness:      tcp-socket :6969 delay=60s timeout=1s period=10s #success=1 #failure=3

    Environment:

      REPLICAS:  1

    Mounts:

      /etc/localtime from localtime (ro)

      /tmp/logback.xml from policy-logback (rw)

      /tmp/policy-install/config/apps-install.sh from drools-config (rw)

      /tmp/policy-install/config/base.conf from drools-config (rw)

      /tmp/policy-install/config/drools-preinstall.sh from drools-config (rw)

      /tmp/policy-install/config/drools-tweaks.sh from drools-config (rw)

      /tmp/policy-install/config/feature-healthcheck.conf from drools-secret (rw)

      /tmp/policy-install/config/feature-pooling-dmaap.conf from drools-config (rw)

      /tmp/policy-install/config/policy-management.conf from drools-config (rw)

      /usr/share/maven/conf/settings.xml from drools-settingsxml (rw)

      /var/log/onap from policy-logs (rw)

      /var/run/secrets/kubernetes.io/serviceaccount from default-token-28w78 (ro)

Conditions:

  Type           Status

  Initialized    False 

  Ready          False 

  PodScheduled   True 

Volumes:

  localtime:

    Type:  HostPath (bare host directory volume)

    Path:  /etc/localtime

  filebeat-conf:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      dev-filebeat-configmap

    Optional:  false

  policy-logs:

    Type:    EmptyDir (a temporary directory that shares a pod's lifetime)

    Medium:  

  policy-data-filebeat:

    Type:    EmptyDir (a temporary directory that shares a pod's lifetime)

    Medium:  

  policy-logback:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      dev-drools-log-configmap

    Optional:  false

  drools-settingsxml:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      dev-drools-settings-configmap

    Optional:  false

  drools-config:

    Type:      ConfigMap (a volume populated by a ConfigMap)

    Name:      dev-drools-configmap

    Optional:  false

  drools-secret:

    Type:        Secret (a volume populated by a Secret)

    SecretName:  dev-drools-secret

    Optional:    false

  default-token-28w78:

    Type:        Secret (a volume populated by a Secret)

    SecretName:  default-token-28w78

    Optional:    false

QoS Class:       BestEffort

Node-Selectors:  <none>

Tolerations:     node.alpha.kubernetes.io/notReady:NoExecute for 300s

                 node.alpha.kubernetes.io/unreachable:NoExecute for 300s

Events:          <none>

 

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