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(utils): capture step_cli attempt to open tty (#72) #77

Merged

Conversation

eengstrom
Copy link
Contributor

This fix captures a different or updated error message from
step-cli when it attempts to open /dev/tty:

open /dev/tty: no such device or address

Ideally, step-cli would provide a way to avoid this entirely; c.f:

/resolves #72

@eengstrom
Copy link
Contributor Author

I'll await your fixes to the CI checks, or assume you'll let me know if you need somthing else. Thanks.

@eengstrom
Copy link
Contributor Author

eengstrom commented Jul 12, 2021

Squashed and rebased off of your fix_ci branch, which makes the modules test pass, but now lint fails because some intervening commits have lines that are too long - I can't easily fix that, sorry.

@maxhoesel
Copy link
Collaborator

I just pushed the finished branch onto main, so all CI tests should once again pass (including linting). Could you rebase this PR against main please?

This workaround captures a different or updated error message
from `step-cli` when it attempts to open `/dev/tty`:

    open /dev/tty: no such device or address

Ideally, `step-cli` would provide a way to avoid this entirely; c.f:
  - smallstep/cli#502
@eengstrom
Copy link
Contributor Author

Rebased - fingers crossed that all tests pass - thanks for all your work.

@maxhoesel maxhoesel merged commit cc9f5a1 into maxhoesel-ansible:main Jul 13, 2021
@eengstrom eengstrom deleted the capture-step-cli-tty-error branch July 16, 2021 19:34
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

Successfully merging this pull request may close these issues.

Capture step_cli attempt to open tty and present better error result
2 participants