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

fix broken molecule login #3468

Merged
merged 4 commits into from
Mar 20, 2022
Merged

fix broken molecule login #3468

merged 4 commits into from
Mar 20, 2022

Conversation

amarao
Copy link
Contributor

@amarao amarao commented Mar 16, 2022

Fixes #3435

Use of ansible runtime prevents of use interactive stdin/stdout,
and lack of split causing traces like this:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/env /bin/podman exec -e COLUMNS=254 -e LINES=60 -e TERM=bash -e TERM=xterm -ti mariadb_104 bash'
(because molecule tries to run whole command line as binary name
without arguments).

Fixes ansible#3435

Use of ansible runtime prevents of use interactive stdin/stdout,
and lack of split causing traces like this:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/env /bin/podman exec -e COLUMNS=254 -e LINES=60 -e TERM=bash -e TERM=xterm -ti mariadb_104 bash'
(because molecule tries to run whole command line as binary name
without arguments).

Signed-off-by: George Shuklin <george.shuklin@gmail.com>
amarao and others added 3 commits March 16, 2022 12:32
 src/molecule/command/login.py:29: [F401] 'molecule.app.app' imported but unused

Signed-off-by: George Shuklin <george.shuklin@gmail.com>
@ssbarnea ssbarnea merged commit 4751291 into ansible:main Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3.6.0 login to podman fails '/usr/bin/env /bin/podman' No such file
2 participants