Deploy -> KnowledgePlatform ->FlinkJobs #91
-
System Configuration Details:
@gandham-santhosh and @keshavprasadms Jenkins Logs: Started by user Admin Deployer
[Pipeline] sh
[Pipeline] // ansiColor
[Pipeline] stage
PLAY [local] ******************************************************************* TASK [flink-jobs-deploy : template values.yaml file] *************************** TASK [flink-jobs-deploy : remove the job.batch] ******************************** STDERR: Error from server (NotFound): jobs.batch "video-stream-generator-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=questionset-publish) => { STDERR: Error from server (NotFound): jobs.batch "questionset-publish-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=search-indexer) => { STDERR: Error from server (NotFound): jobs.batch "search-indexer-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=asset-enrichment) => { STDERR: Error from server (NotFound): jobs.batch "asset-enrichment-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=audit-event-generator) => { STDERR: Error from server (NotFound): jobs.batch "audit-event-generator-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=audit-history-indexer) => { STDERR: Error from server (NotFound): jobs.batch "audit-history-indexer-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=collection-cert-pre-processor) => { STDERR: Error from server (NotFound): jobs.batch "collection-cert-pre-processor-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=collection-certificate-generator) => { STDERR: Error from server (NotFound): jobs.batch "collection-certificate-generator-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=auto-creator-v2) => { STDERR: Error from server (NotFound): jobs.batch "auto-creator-v2-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=metrics-data-transformer) => { STDERR: Error from server (NotFound): jobs.batch "metrics-data-transformer-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=content-publish) => { STDERR: Error from server (NotFound): jobs.batch "content-publish-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=content-auto-creator) => { STDERR: Error from server (NotFound): jobs.batch "content-auto-creator-jobmanager" not found MSG: non-zero return code failed: [localhost] (item=qrcode-image-generator) => { STDERR: Error from server (NotFound): jobs.batch "qrcode-image-generator-jobmanager" not found MSG: non-zero return code ...ignoring TASK [flink-jobs-deploy : helm upgrade] **************************************** STDOUT: Release "video-stream-generator" does not exist. Installing it now. changed: [localhost] => (item=questionset-publish) => { STDOUT: Release "questionset-publish" does not exist. Installing it now. changed: [localhost] => (item=search-indexer) => { STDOUT: Release "search-indexer" does not exist. Installing it now. changed: [localhost] => (item=asset-enrichment) => { STDOUT: Release "asset-enrichment" does not exist. Installing it now. changed: [localhost] => (item=audit-event-generator) => { STDOUT: Release "audit-event-generator" does not exist. Installing it now. changed: [localhost] => (item=audit-history-indexer) => { STDOUT: Release "audit-history-indexer" does not exist. Installing it now. changed: [localhost] => (item=collection-cert-pre-processor) => { STDOUT: Release "collection-cert-pre-processor" does not exist. Installing it now. changed: [localhost] => (item=collection-certificate-generator) => { STDOUT: Release "collection-certificate-generator" does not exist. Installing it now. changed: [localhost] => (item=auto-creator-v2) => { STDOUT: Release "auto-creator-v2" does not exist. Installing it now. changed: [localhost] => (item=metrics-data-transformer) => { STDOUT: Release "metrics-data-transformer" does not exist. Installing it now. changed: [localhost] => (item=content-publish) => { STDOUT: Release "content-publish" does not exist. Installing it now. fatal: [localhost]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'content-auto-creator' The error appears to be in '/var/lib/jenkins/workspace/Deploy/dev/KnowledgePlatform/FlinkJobs/kubernetes/ansible/roles/flink-jobs-deploy/tasks/main.yml': line 12, column 3, but may The offending line appears to be:
PLAY RECAP ********************************************************************* [Pipeline] } [Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Each option of the jenkins deployment job corresponds to one dictionary from this file - https://github.com/project-sunbird/sunbird-learning-platform/blob/release-4.6.0/kubernetes/helm_charts/datapipeline_jobs/values.j2 Example: It looks like in this release of the code, we dont have any jobs named If you see similar errors as below for other jobs, please follow similar process to remove / deselect them when running the jenkins job
If you had used This job was introduced only in release-4.8.0 - https://github.com/project-sunbird/sunbird-devops/blob/release-4.8.0/deploy/jenkins/jobs/Deploy/jobs/dev/jobs/KnowledgePlatform/jobs/FlinkJobs/config.xml#L112 Please use same release branch to setup jenkins server as per the Sunbird-Ed release version. |
Beta Was this translation helpful? Give feedback.
Each option of the jenkins deployment job corresponds to one dictionary from this file - https://github.com/project-sunbird/sunbird-learning-platform/blob/release-4.6.0/kubernetes/helm_charts/datapipeline_jobs/values.j2
Example:
The above jenkins job option uses this dictionary - https://github.com/project-sunbird/sunbird-learning-platform/blob/release-4.6.0/kubernetes/helm_charts/datapipeline_jobs/values.j2#L119
It looks like in this release of the code, we dont have any jobs named
content-auto-creator
. Please deselect this option while deploying the job or remove it from jenkins job configuration.If you see similar errors as below for other jobs, please follow similar process to remov…