Deploy---> alex---> dev---> Lern---> LernDataProducts #525
Replies: 2 comments 7 replies
-
@srikanth-6520 Please check |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
we are getting an error, while deploying the LerndataProducts , below we have provided jenkins console.
Started by user Kolluri Srikanth
Rebuilds build #45
Checking out git https://github.com/srikanth-6520/data-products/ into /var/lib/jenkins/workspace/Deploy/alex/dev/Lern/LernDataProducts@script/cbccd55647f4734a7e1118d32120ff1b9550c27f489edc4740d07be2247508b0 to read pipelines/deploy/lern-dataproducts/Jenkinsfile
The recommended git tool is: NONE
No credentials specified
Removing ansible/lern-data-products-1.0-distribution.tar.gz
Removing lern_data_products_artifacts.zip:release-5.0.1
Removing metadata.json
Skipping repository private/
Removing private@tmp/
[Pipeline] checkout
The recommended git tool is: NONE
No credentials specified
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
[Pipeline] stage
[Pipeline] { (parameter checks)
[Pipeline] copyArtifacts
Copied 2 artifacts from "ArtifactUpload » dev » Lern » LernDataProducts" build number 3
[Pipeline] sh
[Pipeline] sh
[Pipeline] echo
artifact_version not specified, using the artifact_version specified in metadata.json.
[Pipeline] sh
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] stage
[Pipeline] { (get artifact)
[Pipeline] sh
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo
Option chosen is JenkinsJob, using the artifacts copied
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy artifact)
[Pipeline] sh
Archive: lern_data_products_artifacts.zip:release-5.0.1
inflating: lern-data-products-1.0-distribution.tar.gz
[Pipeline] echo
{env=dev, module=Lern, jobName=LernDataProducts, absolute_job_path=ArtifactUpload/dev/Lern/LernDataProducts, agent=built-in, artifact_name=lern_data_products_artifacts.zip, artifact_version=release-5.0.1, currentWs=/var/lib/jenkins/workspace/Deploy/alex/dev/Lern/LernDataProducts, artifact=lern_data_products_artifacts.zip:release-5.0.1, ansiblePlaybook=--extra-vars "remote=spark" /var/lib/jenkins/workspace/Deploy/alex/dev/Lern/LernDataProducts/ansible/lpa_lern-data-products_deploy.yml, ansibleExtraArgs= --tags lern-dataproducts --vault-password-file /var/lib/jenkins/secrets/vault-pass}
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] stage
[Pipeline] { (ansible-run)
[Pipeline] echo
{env=dev, module=Lern, jobName=LernDataProducts, absolute_job_path=ArtifactUpload/dev/Lern/LernDataProducts, agent=built-in, artifact_name=lern_data_products_artifacts.zip, artifact_version=release-5.0.1, currentWs=/var/lib/jenkins/workspace/Deploy/alex/dev/Lern/LernDataProducts, artifact=lern_data_products_artifacts.zip:release-5.0.1, ansiblePlaybook=--extra-vars "remote=spark" /var/lib/jenkins/workspace/Deploy/alex/dev/Lern/LernDataProducts/ansible/lpa_lern-data-products_deploy.yml, ansibleExtraArgs= --tags lern-dataproducts --vault-password-file /var/lib/jenkins/secrets/vault-pass}
[Pipeline] dir
Running in /var/lib/jenkins/workspace/Deploy/alex/dev/Lern/LernDataProducts/private
[Pipeline] {
[Pipeline] echo
Info: Branch override is enabled
[Pipeline] checkout
The recommended git tool is: NONE
using credential bitbucket-cred
[WARNING]: Invalid characters were found in group names but not replaced, use
-vvvv to see details
PLAY [spark] *******************************************************************
TASK [Gathering Facts] *********************************************************
ok: [172.16.1.34]
TASK [lern-data-products-deploy : Ensure aws blob storage container exists] ****
skipping: [172.16.1.34]
TASK [lern-data-products-deploy : Unarchive Ed Data Products] ******************
ok: [172.16.1.34]
TASK [lern-data-products-deploy : Copy configuration file] *********************
fatal: [172.16.1.34]: FAILED! => {
"changed": false
}
MSG:
AnsibleUndefinedVariable: 'dict object' has no attribute 'db_password'
PLAY RECAP *********************************************************************
172.16.1.34 : ok=2 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] stage
[Pipeline] { (slack_notify)
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
[Pipeline] echo
Could not find env specific Slack channel. Check for global slack channel..
[Pipeline] echo
Could not find slack environment variable. Skipping slack notification..
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] stage
[Pipeline] { (email_notify)
[Pipeline] sh
[Pipeline] echo
Could not find env specific email group. Check for global email group..
[Pipeline] echo
Could not find global email group variable. Skipping email notification..
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE
Beta Was this translation helpful? Give feedback.
All reactions