Deploy -> Kubernetes -> Analytics ( Deploy job failing in helm installation task ) #504
-
Hello @gandham-santhosh , we have tried to deploy "Anlytics" job with tag "release-5.1.0" , job failing in helm installation task. Jenkins Logs: Started by user [Rajasimman S]
[Pipeline] sh
[Pipeline] // ansiColor
[Pipeline] stage
[WARNING]: * Failed to parse /var/lib/jenkins/workspace/Deploy/alex/dev/Kubern [WARNING]: * Failed to parse /var/lib/jenkins/workspace/Deploy/alex/dev/Kubern [WARNING]: Unable to parse /var/lib/jenkins/workspace/Deploy/alex/dev/Kubernete [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] ******************************************************************* TASK [check for kong db migration] ********************************************* 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 [Check opa testcases coverage is 100%] ************************************ TASK [opa-test-coverage : Register list of .bak files as a variable] *********** TASK [opa-test-coverage : Avoid overwrite of files on multiple runs by replacing the templated files with .bak files] *** TASK [opa-test-coverage : Keep a copy of the files before templating] ********** TASK [opa-test-coverage : Template the common rego files] ********************** TASK [opa-test-coverage : Run the opa test and check for 100% coverage on service policies] *** TASK [opa-test-coverage : Run the opa test and check for 100% coverage on common policies] *** TASK [opa-test-coverage : Check if coverage is 100% from policies and tests files] *** TASK [opa-test-coverage : Check if coverage is 100% from common policies and tests files] *** TASK [opa-test-coverage : Replace the templated files with original files] ***** TASK [Load role to decrypt private keys, copy public keys to helm chart] ******* TASK [mount-keys : Decrypt the data first] ************************************* TASK [mount-keys : Generate public keys for private keys] ********************** TASK [mount-keys : Register list of files as a variable] *********************** TASK [mount-keys : Create a temporary file] ************************************ TASK [mount-keys : Insert the public keys as key:value pairs into the file] **** TASK [mount-keys : Set a variable with the file contents] ********************** TASK [mount-keys : Register a variable for keycloak public key in PEM format] *** TASK [mount-keys : Remove the temporary file] ********************************** TASK [mount-keys : Create the keys directory in case user is overriding the private_key_path] *** TASK [mount-keys : Copy keys directory to chart path] ************************** TASK [sunbird-deploy : Create the token public key file] *********************** TASK [sunbird-deploy : Replace ansible variables with values] ****************** TASK [sunbird-deploy : Create OPA bundle] ************************************** changed: [localhost] TASK [sunbird-deploy : Copy the OPA bundle to helm chart directory] ************ TASK [sunbird-deploy : helm install] ******************************************* STDOUT: Release "analytics" does not exist. Installing it now. STDERR: Error: release analytics 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.
Replies: 1 comment 8 replies
-
@srikanth-6520 Please check the pod logs while the deployment is happening. The deployment rolls back in 10 mins , so make sure to check before that |
Beta Was this translation helpful? Give feedback.
@santhosh-tg issue fixed , thank you.