ansible-interactive-tutorial icon indicating copy to clipboard operation
ansible-interactive-tutorial copied to clipboard

after selecting menu no shell prompt

Open deknos opened this issue 6 years ago • 14 comments

Hi, i used your tutorial yesterday. It is really cool! :) Today i tried to reset it, first with git clean -fdx ; git reset --hard ; docker system prune -a ; ./tutorial.sh --remove and then i restarted it. now if i enter a menu point the shell prompt does not appear, only after tipping CTRL+C.

any idea?

deknos avatar Jan 30 '18 12:01 deknos

i did: git clean -fdx ; git reset --hard ; ./tutorial.sh --remove ; ./tutorial.sh und exit it with 0. then i ran ./tutorial.sh --test and it seems to stop at after executing ansible-playbook -i hosts -l host1.example.org. apache.yml. any idea? :)

deknos avatar Jan 30 '18 12:01 deknos

Could you find a solution?

./tutorial.sh --test may sporadically fail with no response, this is a known issue caused by nutsh.

turkenh avatar Jan 30 '18 23:01 turkenh

sadly no, because i am not sure how to debug it. it normally happens the first time at lection 3 or 4 and with CTRL+C and <Enter> it seems to work then.

deknos avatar Jan 31 '18 08:01 deknos

only pressing Enter does not seem to help. and hitting more times CTRL+C prints only the "enter exit to terminate the nutshell"

deknos avatar Jan 31 '18 08:01 deknos

On which system do you do this? i work on debian stable (9.x)

deknos avatar Jan 31 '18 08:01 deknos

I am running on mac.

Can you please try on http://play-with-docker.com ?

turkenh avatar Jan 31 '18 09:01 turkenh

I have the same behaviour there. start a new instance, clone it, start ./tutorial.sh and choose 6 the shell prompt does not return. it stays on "== Playbooks, pushing files on nodes =="

deknos avatar Feb 06 '18 08:02 deknos

with CTRL+C and Enter i see the next step again. how do i do strace in docker? :D

deknos avatar Feb 06 '18 08:02 deknos

This is really strange, because I cannot reproduce on play-with-docker as well. Selecting 6 and hitting enter simply goes into tutorial.

turkenh avatar Feb 06 '18 18:02 turkenh

which browser (and version) do you use? This is really annoying, because i am always anxious to skip a lesson :-D

deknos avatar Feb 07 '18 09:02 deknos

It was Chrome Version 63.0.3239.132 (Official Build) (64-bit) just tried on Safari and couldn't reproduce there as well :)

turkenh avatar Feb 07 '18 09:02 turkenh

Could you try it with Firefox or Chrome?

git clone ...
./tutorial.sh
exit
./tutorial.sh --remove
git clean -fdx
git reset --hard
./tutorial.sh
6

deknos avatar Feb 07 '18 12:02 deknos

Still could not reproduce, what am I missing ? :)

Here it is: https://asciinema.org/a/bCUIjUixczMI5qMuHXjNrVNNP

Recorded on play-with-docker with Chrome Version 63.0.3239.132 (Official Build) (64-bit)

turkenh avatar Feb 09 '18 22:02 turkenh

Ok, I could observe this several times sporadically. Is it happening always on your side?

turkenh avatar Feb 09 '18 22:02 turkenh