Hi,

To test 5g slicing use case we need to use latest nbi image as 7.0.2 in our 
frankfurt env, there is difference in OOM readiness version.

In Frankfurt: oomk8s/readiness-check:2.0.2
In Guilin: onap/oom/readiness:3.0.1

When changing version in oom/kubernetes/values.yaml with latest nbi 
image(7.0.2) and readiness version for Guilin, pod is unable to start.

kubectl get pods -n onap | grep nbi
onap-nbi-67ffd9d567-kjm2f                           0/1     
Init:CrashLoopBackOff     6          11m
onap-nbi-config-config-job-68dcr                    0/1     
Init:ContainerCannotRun   0          10m
onap-nbi-config-config-job-85vzz                    0/1     
Init:ContainerCannotRun   0          9m56s
onap-nbi-config-config-job-b95t8                    0/1     
Init:ContainerCannotRun   0          10m
onap-nbi-config-config-job-dgw8t                    0/1     
Init:ContainerCannotRun   0          2m36s
onap-nbi-config-config-job-hqljr                    0/1     
Init:ContainerCannotRun   0          7m56s
onap-nbi-config-config-job-qt7cx                    0/1     
Init:ContainerCannotRun   0          9m16s
onap-nbi-config-config-job-wqvdf                    0/1     
Init:ContainerCannotRun   0          11m
onap-nbi-mongo-0                                    1/1     Running             
      0          11m


when describe the nbi pod, getting:

Error: failed to start container "nbi-config-readiness": Error response from 
daemon: OCI runtime create failed: container_linux.go:349: starting container 
process caused "exec: \"/root/ready.py\": stat /root/ready.py: permission 
denied": unknown

Please find attached nbi pod description for reference.

May you please provide guidance or suggestions regarding this?

Thanks,
Aleem
============================================================================================================================
 Disclaimer: This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. 
============================================================================================================================


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


kubectl describe pod -n onap onap-nbi-config-config-job-68dcr
Name:           onap-nbi-config-config-job-68dcr
Namespace:      onap
Priority:       0
Node:           compute06-onap/10.52.1.206
Start Time:     Wed, 30 Sep 2020 13:07:26 +0000
Labels:         app=nbi-config
                controller-uid=d87597d2-4ab9-4b7e-a944-0328e1fb6068
                job-name=onap-nbi-config-config-job
                release=onap
Annotations:    <none>
Status:         Failed
IP:             10.72.192.35
Controlled By:  Job/onap-nbi-config-config-job
Init Containers:
  nbi-config-readiness:
    Container ID:  
docker://feb55950da7d6aa892acf38c0c89b8ba7e6927d6448c63f391e5cb669450d2b1
    Image:         nexus3.onap.org:10001/onap/oom/readiness:3.0.1
    Image ID:      
docker-pullable://nexus3.onap.org:10001/onap/oom/readiness@sha256:317c8a361ae73750f4d4a1b682c42b73de39083f73228dede31fd68b16c089db
    Port:          <none>
    Host Port:     <none>
    Command:
      /root/ready.py
    Args:
      --container-name
      mariadb-galera
    State:          Terminated
      Reason:       ContainerCannotRun
      Message:      OCI runtime create failed: container_linux.go:349: starting 
container process caused "exec: \"/root/ready.py\": stat /root/ready.py: 
permission denied": unknown
      Exit Code:    126
      Started:      Wed, 30 Sep 2020 13:07:45 +0000
      Finished:     Wed, 30 Sep 2020 13:07:45 +0000
    Ready:          False
    Restart Count:  0
    Environment:
      NAMESPACE:  onap (v1:metadata.namespace)
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-wj52t 
(ro)
Containers:
  nbi-config:
    Container ID:
    Image:         nexus3.onap.org:10001/mariadb:10.1.38
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Command:
      bash
      /db_init/db_init.sh
    State:          Waiting
      Reason:       PodInitializing
    Ready:          False
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  500Mi
    Requests:
      cpu:     10m
      memory:  10Mi
    Environment:
      DB_HOST:              mariadb-galera
      DB_PORT:              3306
      MYSQL_ROOT_PASSWORD:  <set to the key 'password' in secret 
'onap-mariadb-galera-db-root-password'>  Optional: false
      MYSQL_USER_NBI:       <set to the key 'login' in secret 
'onap-nbi-db-secret'>                       Optional: false
      MYSQL_PASSWORD_NBI:   <set to the key 'password' in secret 
'onap-nbi-db-secret'>                    Optional: false
    Mounts:
      /db_init/ from mariadb-conf (ro)
      /etc/localtime from localtime (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-wj52t 
(ro)
Conditions:
  Type              Status
  Initialized       False
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  mariadb-conf:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      onap-nbi-config
    Optional:  false
  localtime:
    Type:          HostPath (bare host directory volume)
    Path:          /etc/localtime
    HostPathType:
  default-token-wj52t:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-wj52t
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age   From                     Message
  ----     ------     ----  ----                     -------
  Normal   Scheduled  10m   default-scheduler        Successfully assigned 
onap/onap-nbi-config-config-job-68dcr to compute06-onap
  Normal   Pulling    10m   kubelet, compute06-onap  Pulling image 
"nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
  Normal   Pulled     10m   kubelet, compute06-onap  Successfully pulled image 
"nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
  Normal   Created    10m   kubelet, compute06-onap  Created container 
nbi-config-readiness
  Warning  Failed     10m   kubelet, compute06-onap  Error: failed to start 
container "nbi-config-readiness": Error response from daemon: OCI runtime 
create failed: container_linux.go:349: starting container process caused "exec: 
\"/root/ready.py\": stat /root/ready.py: permission denied": unknown

Reply via email to