On Mon, Jul 13, 2020 at 4:28 PM Ilya Dryomov <idryomov@xxxxxxxxx> wrote:
On Mon, Jul 13, 2020 at 12:27 PM Varsha Rao <varao@xxxxxxxxxx> 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.
Thanks Ilya, I will try running teuthology manually and check it.
>
> Please let me know if I have used them correctly.
>
> [1] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-09_12:53:59-rados-wip-varsha-testing-nfs-2-distro-basic-smithi/5210862/teuthology.log
> [2] https://github.com/varshar16/ceph/commit/2d2846da31ffbd7c42f880117dbacc53e70ffb02
> [3] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_06:40:30-rados-wip-varsha-testing-nfs-2-distro-basic-smithi/5212847/teuthology.log
> [4] https://github.com/varshar16/ceph/commit/ad36b173ef35198934e354a784c7f0db1691fbb5
> [5] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_08:21:51-rados-wip-varsha-testing-nfs-2-distro-basic-smithi/5212912/teuthology.log
> [6] https://github.com/varshar16/ceph/commit/e899bcdbf1f0c037b1008c7f912f9e8d7dffb7cb
Thanks,
Ilya
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx