Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[glue script][ansible] - ansible cleanup fails due to undefined 'files_to_delete' variable #77

Open
lpalovsky opened this issue Oct 10, 2022 · 1 comment

Comments

@lpalovsky
Copy link
Collaborator

http://openqaworker15.qa.suse.cz/tests/50653#step/Cleanup%20resources/8

ERROR:QESAPDEP:STDOUT:          TASK [Append delete list] ******************************************************
ERROR:QESAPDEP:STDOUT:          task path: /root/qe-sap-deployment/ansible/playbooks/deregister.yaml:34
ERROR:QESAPDEP:STDOUT:          fatal: [vmhana01]: FAILED! => {
ERROR:QESAPDEP:STDOUT:              "msg": "The task includes an option with an undefined variable. The error was: 'Files_to_delete' is undefined\n\nThe error appears to be in '/root/qe-sap-deployment/ansible/playbooks/deregister.yaml': line 34, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Append delete list\n      ^ here\n"
ERROR:QESAPDEP:STDOUT:          }
ERROR:QESAPDEP:STDOUT:          fatal: [vmhana02]: FAILED! => {
ERROR:QESAPDEP:STDOUT:              "msg": "The task includes an option with an undefined variable. The error was: 'Files_to_delete' is undefined\n\nThe error appears to be in '/root/qe-sap-deployment/ansible/playbooks/deregister.yaml': line 34, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Append delete list\n      ^ here\n"
ERROR:QESAPDEP:STDOUT:          }
ERROR:QESAPDEP:STDOUT:          skipping: [vmiscsi01] => {
ERROR:QESAPDEP:STDOUT:              "changed": false,
ERROR:QESAPDEP:STDOUT:              "skip_reason": "Conditional result was False"
ERROR:QESAPDEP:STDOUT:          }
@mpagot
Copy link
Collaborator

mpagot commented Oct 10, 2022

Full log in http://openqaworker15.qa.suse.cz/tests/50653/logfile?filename=serial_terminal.txt from line

# /root/qe-sap-deployment/scripts/qesap/qesap.py --verbose -c /root/qe-sap-deployment/scripts/qesap/hanasr_azure.yaml -b /root/qe-sap-deployment ansible -d |& tee -a /tmp/qesap_exec_ansible.log.txt; echo t4TVI-$?-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants