Rework is_healthy check for stateful failover function: cartridge_get_uuids
opomuc opened this issue · comments
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'ret'
FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n
File \"<stdin>\", line 102, in <module>\n
File \"<stdin>\", line 94, in _ansiballz_main\n
File \"<stdin>\", line 40, in invoke_module\n
File \"/usr/lib64/python2.7/runpy.py\", line 176, in run_module\n fname, loader, pkg_name)\n
File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code\n mod_name, mod_fname, mod_loader, pkg_name)\n
File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code\n exec code in run_globals\n
File \"/tmp/ansible_cartridge_get_uuids_payload_uJzOzG/ansible_cartridge_get_uuids_payload.zip/ansible/modules/cartridge_get_uuids.py\", line 68, in <module>\n
File \"/tmp/ansible_cartridge_get_uuids_payload_uJzOzG/ansible_cartridge_get_uuids_payload.zip/ansible/modules/cartridge_get_uuids.py\", line 57, in main\n
File \"/tmp/ansible_cartridge_get_uuids_payload_uJzOzG/ansible_cartridge_get_uuids_payload.zip/ansible/modules/cartridge_get_uuids.py\", line 51, in manage_get_uuids\n
File \"/tmp/ansible_cartridge_get_uuids_payload_uJzOzG/ansible_cartridge_get_uuids_payload.zip/ansible/modules/cartridge_get_uuids.py\", line 22, in get_uuids\n
File \"/tmp/ansible_cartridge_get_uuids_payload_uJzOzG/ansible_cartridge_get_uuids_payload.zip/ansible/module_utils/helpers.py\", line 215, in is_healthy\n
File \"/tmp/ansible_cartridge_get_uuids_payload_uJzOzG/ansible_cartridge_get_uuids_payload.zip/ansible/module_utils/helpers.py\", line 159, in eval\nKeyError: 'ret'\n",
"module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Closed in 2174316