You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also looks like the database is not updated immediately for success operations. (a select in database a long time after success shows first operations status still 'PLANNED'
break the first planned role (in my configuration, I change indentation in tdp/ansible/ansible_collections/tosit/tdp/roles/exporter/jmx/tasks/install.yml)
cleanup : rm sqlite.db && tdp init
deploy : we expect this to fail
(tdp-ops) > $ tdp plan dag && tdp deploy
2023-10-27 10:16:57,383 - INFO - root - Logging is configured.
Creating a deployment plan for the whole DAG.
Deployment plan successfully created.
2023-10-27 10:16:58,289 - INFO - root - Logging is configured.
ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: Expecting value: line 1 column 1 (char 0)
Syntax Error while loading YAML.
mapping values are not allowed in this context
The error appears to be in 'xxx/dev/tdp-ops/tdp/ansible/ansible_collections/tosit/tdp/roles/exporter/jmx/tasks/install.yml': line 23, column 25, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Create symbolic link to jmx exporter jar
ansible.builtin.file:
^ here
As a result, tdp resume fails with following error : tdp.core.models.deployment_log.NothingToResumeError: Nothing to resume, deployment #1 was Running.
The text was updated successfully, but these errors were encountered:
Description
Reproducing :
tdp/ansible/ansible_collections/tosit/tdp/roles/exporter/jmx/tasks/install.yml
)rm sqlite.db && tdp init
As a result,
tdp resume
fails with following error :tdp.core.models.deployment_log.NothingToResumeError: Nothing to resume, deployment #1 was Running.
The text was updated successfully, but these errors were encountered: