Hi,

 

I use OOM Elalto version, just encountered this issue. And not really see a 
solution in mail, so any idea?

 

root@k8s-node1:~# kubectl get event --namespace onap --field-selector 
involvedObject.name=portal-portal-db-d46f469b5-tr6fj

LAST SEEN   TYPE     REASON      OBJECT                                 MESSAGE

38m         Normal   Pulled      pod/portal-portal-db-d46f469b5-tr6fj   
Container image "10.12.26.4:10001/onap/portal-db:2.6.0" already present on 
machine

38m         Normal   Created     pod/portal-portal-db-d46f469b5-tr6fj   Created 
container portal-db

38m         Normal   Started     pod/portal-portal-db-d46f469b5-tr6fj   Started 
container portal-db

37m         Normal   Scheduled   pod/portal-portal-db-d46f469b5-tr6fj   
Successfully assigned onap/portal-portal-db-d46f469b5-tr6fj to k8s-node3

 

And I found out the reason is portal-db-config job is nor completed, the log 
indicates:

 

root@k8s-node1:~# kubectl -n onap logs portal-portal-app-7dfd55b898-z7v4r -c 
portal-app-job-completion

2020-08-13 08:44:14,576 - INFO - Checking if portal-portal-db-config  is 
complete

2020-08-13 08:44:14,584 - INFO - portal-portal-db-config has not succeeded yet

2020-08-13 08:44:19,588 - INFO - Checking if portal-portal-db-config  is 
complete

2020-08-13 08:44:19,596 - INFO - portal-portal-db-config has not succeeded yet

 

BR,

 

Zhuangyang

From: <[email protected]> on behalf of 
<[email protected]>
Reply to: <[email protected]>, <[email protected]>
Date: Wednesday, September 25, 2019 at 12:29 AM
To: <[email protected]>, <[email protected]>
Subject: Re: [onap-discuss] Portal-app Stuck Init #portal

 

I am haveing exactly same issue. I was actually running portal normally but 
portal-db is suddenly down so I could not login to the portal. So I am trying 
to redeploy the portal with the same OOM but I am facing this issue when I try 
to deploy portal. 
I can see below ouput when I try that. 

root@sb4-rancher:~/oom/kubernetes/portal/charts/portal-mariadb# kubectl get pod 
-n onap |grep portal

portal-portal-app-79cd9b4ddf-sr77v                0/2       Init:0/1           
3          32m

portal-portal-cassandra-c6d8f9865-x97g6           1/1       Running            
0          32m

portal-portal-db-64bcb84bd8-qqclb                 1/1       Running            
1          32m

portal-portal-db-config-6428s                     0/2       Init:Error         
0          32m

portal-portal-db-config-6t64g                     0/2       Error              
0          12m

portal-portal-db-config-r4td7                     0/2       Error              
0          21m

portal-portal-db-config-tqkck                     0/2       Error              
0          11m

portal-portal-sdk-7db598f8bc-7lvwk                2/2       Running            
0          32m

portal-portal-widget-68cf7785bf-czwks             1/1       Running            
0          32m

portal-portal-zookeeper-6d47d6bbd6-z6prv          1/1       Running            
0          32m

sdnc-sdnc-portal-947d4566b-jt425                  1/1       Running            
0          69d

root@sb4-rancher:~/oom/kubernetes/portal/charts/portal-mariadb# kubectl get 
event --namespace onap --field-selector 
involvedObject.name=portal-portal-db-64bcb84bd8-qqclb

LAST SEEN   FIRST SEEN   COUNT     NAME                                         
        KIND      SUBOBJECT                    TYPE      REASON      SOURCE     
          MESSAGE

32m         32m          1         
portal-portal-db-64bcb84bd8-qqclb.15c76af57bf5e861   Pod                        
            Normal    Scheduled   default-scheduler    Successfully assigned 
onap/portal-portal-db-64bcb84bd8-qqclb to sb4-k8s-9

28m         32m          2         
portal-portal-db-64bcb84bd8-qqclb.15c76af82208215f   Pod       
spec.containers{portal-db}   Normal    Pulling     kubelet, sb4-k8s-9   pulling 
image "nexus3.onap.org:10001/onap/portal-db:2.3.1"

28m         32m          2         
portal-portal-db-64bcb84bd8-qqclb.15c76af830b5b589   Pod       
spec.containers{portal-db}   Normal    Pulled      kubelet, sb4-k8s-9   
Successfully pulled image "nexus3.onap.org:10001/onap/portal-db:2.3.1"

28m         32m          2         
portal-portal-db-64bcb84bd8-qqclb.15c76af85ffb7cb8   Pod       
spec.containers{portal-db}   Normal    Created     kubelet, sb4-k8s-9   Created 
container

28m         32m          2         
portal-portal-db-64bcb84bd8-qqclb.15c76af87be19a12   Pod       
spec.containers{portal-db}   Normal    Started     kubelet, sb4-k8s-9   Started 
container




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

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

Reply via email to