On Mon, Jul 13, 2020 at 4:28 PM Ilya Dryomov <idryomov(a)gmail.com> wrote:
On Mon, Jul 13, 2020 at 12:27 PM Varsha Rao
<varao(a)redhat.com> wrote:
Hi all,
I have tried interactive feature in following ways:
a) Simply adding interactive to tasks:
It does nothing.[1][2]
b) Setting interactive to 'true':
It does nothing as well but this message is logged: 'Running task
interactive...' [3][4]
Hi Varsha,
If you run teuthology manually (i.e. "teuthology ..." instead
of "teuthology-suite ..."), once it gets to the interactive task,
it will stop and you will be presented with a python-like prompt,
allowing you to inspect teuthology state. That prompt is rarely
useful, but because teuthology stops at that point, you can ssh
and safely poke around on the nodes.
c) Using interactive_on_error or interactive-on-error:
Throws " No module named 'tasks.interactive_on_error' " [5][6]
interactive-on-error is not a task. It's a key, like email or
verbose. If set, teuthology will go interactive if a task exits
with error, allowing you to poke around before the task stack is
unwound. Again, teuthology must be run manually for it to work.