Deploy -> Datapipeline -> AdhocScripts #505
-
Hello @santhosh-tg @gandham-santhosh , we are getting an error while deploying the "Adhoscripts" job with tag "release-5.1.0" , Jenkins Logs: Started by user [Kolluri Srikanth]
[Pipeline] ansiColor [Pipeline] sh
[Pipeline] // ansiColor
[Pipeline] echo [Pipeline] // ansiColor
[Pipeline] stage
[WARNING]: Found both group and host with same name: raw-coordinator PLAY [spark] ******************************************************************* TASK [Gathering Facts] ********************************************************* TASK [portal-dashboard : Copy the library to library path] ********************* TASK [portal-dashboard : Installing package] *********************************** TASK [portal-dashboard : execute_content_creation] ***************************** MSG: The task includes an option with an undefined variable. The error was: 'search_lb_ip' is undefined The error appears to be in '/var/lib/jenkins/workspace/Deploy/alex/dev/DataPipeline/AdhocScripts/ansible/roles/portal-dashboard/tasks/main.yml': line 19, column 3, but may The offending line appears to be:
PLAY RECAP ********************************************************************* [Pipeline] } [Pipeline] // ansiColor [Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@santhosh-tg @gandham-santhosh can you please get back on this |
Beta Was this translation helpful? Give feedback.
-
Please check the description when you build it in Jenkins. If you are just setting up Sunbird-Ed, using common as tag is enough because it is for "deploy" the required library. The other tags are actually for "generate" the respective reports. Until you have the setup completed and data, you probably won't have any report to generate. =========== The above is the answer to your original question >> for setup, just use the tag common If you have everything ready and want to generate a report, you need the other tag. From the Jenkins output you've shared, you were actually trying to generate the content creation report, using the task When running the shell command in line 20
one of the argument is API endpoint content_search_api which is defined in The solution is to define this variable in common.yml of DP. @santhosh-tg I don't think this search api LB is in the documentation / in the sample ansible inventory. @srikanth-6520 not sure if you are doing the deployment in Azure. I remember the adhoc scripts only have the Azure specific code. If you are using other CSP. You might need to do some modification inside the dataproducts libs. |
Beta Was this translation helpful? Give feedback.
@srikanth-6520 Please mark this as answered if the issues are resolved.