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] c) Using interactive_on_error or interactive-on-error: Throws " No module named 'tasks.interactive_on_error' " [5][6] 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-var... [2] https://github.com/varshar16/ceph/commit/2d2846da31ffbd7c42f880117dbacc53e70... [3] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_06:40:30-rados-wip-var... [4] https://github.com/varshar16/ceph/commit/ad36b173ef35198934e354a784c7f0db169... [5] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_08:21:51-rados-wip-var... [6] https://github.com/varshar16/ceph/commit/e899bcdbf1f0c037b1008c7f912f9e8d7df... Thanks, Varsha
On Mon, Jul 13, 2020 at 12:27 PM Varsha Rao <varao@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.
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-var... [2] https://github.com/varshar16/ceph/commit/2d2846da31ffbd7c42f880117dbacc53e70... [3] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_06:40:30-rados-wip-var... [4] https://github.com/varshar16/ceph/commit/ad36b173ef35198934e354a784c7f0db169... [5] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_08:21:51-rados-wip-var... [6] https://github.com/varshar16/ceph/commit/e899bcdbf1f0c037b1008c7f912f9e8d7df...
Thanks, Ilya
On Mon, Jul 13, 2020 at 4:28 PM Ilya Dryomov <idryomov@gmail.com> wrote:
On Mon, Jul 13, 2020 at 12:27 PM Varsha Rao <varao@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.
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-var...
[2] https://github.com/varshar16/ceph/commit/2d2846da31ffbd7c42f880117dbacc53e70... [3] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_06:40:30-rados-wip-var... [4] https://github.com/varshar16/ceph/commit/ad36b173ef35198934e354a784c7f0db169... [5] http://qa-proxy.ceph.com/teuthology/varsha-2020-07-10_08:21:51-rados-wip-var... [6] https://github.com/varshar16/ceph/commit/e899bcdbf1f0c037b1008c7f912f9e8d7df...
Thanks,
Ilya
participants (2)
-
Ilya Dryomov
-
Varsha Rao