Open
Description
What is the issue ?
Occasionally we're getting errors similar to this (typing it off a screenshot :-( )
PLAY [Record playbook run in ara] *****
Failed to patch on /api/va/playbooks/3959: {'labels'> ['remote_user:root', 'check: False', 'tags:all', 'subset:.....']}
Failed to patch on /api/va/playbooks/3959: {'labels'> ['remote_user:root', 'check: False', 'tags:all', 'subset:.....']}
[WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin
(<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f2a85b19910>): Expecting value: line 2 column 1 (char 1)
TASK [Get the currently running playbook] *****
[WARNING]: Failure using method (v2_playbook_on_task_start) in callback plugin
(<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f2a85b19910>): 'NoneType' object is not subscriptable
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: IndexError: list index out of range
fatal: [..... -> localhost]: FAILED! => {"msg": "Unexpected failure during module execution: list index out of range", "stdout": ""}
[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.ara_default.CallbackModule object at 0x7f2a85b19910>): '005056b1-5a9b-7534-e360-00000000102'
NO MORE HOSTS LEFT
It is not reproducable. When running the same again, it works fine.
Could it be that SQLite isn't behaving as it should? We have nearly 300000 tasks recorded, the DB file is 513M bytes in size.
What should be happening ?
No error ;-)
The relevant playbook
- name: Record playbook run in ara
hosts: all
tasks:
- name: Get the currently running playbook
ansible.legacy.ara_playbook:
register: query
delegate_to: localhost
run_once: true
tags: always
Metadata
Metadata
Assignees
Labels
No labels