Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after selecting menu no shell prompt #12

Open
deknos opened this issue Jan 30, 2018 · 14 comments
Open

after selecting menu no shell prompt #12

deknos opened this issue Jan 30, 2018 · 14 comments

Comments

@deknos
Copy link

deknos commented Jan 30, 2018

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
Copy link
Author

deknos commented Jan 30, 2018

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? :)

@turkenh
Copy link
Owner

turkenh commented Jan 30, 2018

Could you find a solution?

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

@deknos
Copy link
Author

deknos commented Jan 31, 2018

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 it seems to work then.

@deknos
Copy link
Author

deknos commented Jan 31, 2018

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

@deknos
Copy link
Author

deknos commented Jan 31, 2018

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

@turkenh
Copy link
Owner

turkenh commented Jan 31, 2018

I am running on mac.

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

@deknos
Copy link
Author

deknos commented Feb 6, 2018

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
Copy link
Author

deknos commented Feb 6, 2018

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

@turkenh
Copy link
Owner

turkenh commented Feb 6, 2018

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

@deknos
Copy link
Author

deknos commented Feb 7, 2018

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

@turkenh
Copy link
Owner

turkenh commented Feb 7, 2018

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

@deknos
Copy link
Author

deknos commented Feb 7, 2018

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

@turkenh
Copy link
Owner

turkenh commented Feb 9, 2018

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
Copy link
Owner

turkenh commented Feb 9, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants