apimanager crashing #206
Replies: 1 comment · 15 replies
-
Please share apimanager pod logs. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Here is the required information Started by user Diksha POC
[Pipeline] sh
[Pipeline] // ansiColor
[Pipeline] stage
[WARNING]: * Failed to parse /var/lib/jenkins/workspace/Deploy/dev/Kubernetes/ [WARNING]: * Failed to parse /var/lib/jenkins/workspace/Deploy/dev/Kubernetes/ [WARNING]: Unable to parse /var/lib/jenkins/workspace/Deploy/dev/Kubernetes/API [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ PLAY [local] ******************************************************************* [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ [WARNING]: While constructing a mapping from /var/lib/jenkins/workspace/Deploy/ TASK [check for kong db migration] ********************************************* TASK [kong-migration : check if tables are existing in kong postgres database] *** TASK [kong-migration : run kong migrations for first run if tables are empty] *** TASK [kong-migration : fail when migration failed] ***************************** TASK [sunbird-deploy : template values.yaml file] ****************************** TASK [sunbird-deploy : copy and template env file from swarm role] ************* TASK [sunbird-deploy : create env configmap] *********************************** TASK [sunbird-deploy : create aplication configmap] **************************** TASK [sunbird-deploy : create xml configmap] *********************************** TASK [Load role to decrypt private keys, copy to helm chart and encrypt private keys] *** TASK [sunbird-deploy : Create the token pubic key file] ************************ TASK [sunbird-deploy : Replace ansible variables with values] ****************** TASK [sunbird-deploy : Copy the common opa policies to release folder] ********* TASK [sunbird-deploy : Create OPA bundle] ************************************** TASK [sunbird-deploy : Copy the OPA bundle to helm chart directory] ************ TASK [sunbird-deploy : helm upgrade] ******************************************* STDOUT: Release "apimanager" does not exist. Installing it now. STDERR: Error: release apimanager failed, and has been uninstalled due to atomic being set: timed out waiting for the condition MSG: non-zero return code PLAY RECAP ********************************************************************* [Pipeline] } [Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
All reactions
-
Please drop the api manager schema from postgres and recreate an empty schema.
Drop and recreate the database by running below commands in postgres (replace
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @keshavprasadms , first of all thanks for all your support. I really appreciate it. Need to confirm that if we delete the api_manager_dev database from postgres and recreate it using the below commands will it affect the present setup i.e the kubectl pods, sunbird' portal that we are getting and all that stuff. Also, please check the snapshot below and conform if we have marked the correct database or not |
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes please go ahead and drop and recreate the |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you so much @keshavprasadms . It worked . Apimanager is up now. TASK [kong-migration : run kong migrations for first run if tables are empty] *** Marking it as answered |
Beta Was this translation helpful? Give feedback.
-
Hi ,
For resolving a RESTAPI related issue , I deleted the apimanager pod and re-run the apimanager deployment job . But now the pod is crashing . Following is the error I am getting on kubectl.
Kindly help me fixing it
Beta Was this translation helpful? Give feedback.
All reactions