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

Add connection debug information #596

Merged
merged 2 commits into from
Jul 8, 2019
Merged

Add connection debug information #596

merged 2 commits into from
Jul 8, 2019

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Jul 8, 2019

I was having a really hard time getting this plugin to work on my
system. I thought I could run the plugin in debug, but that didn't
provide any connection information. I added debug statements to various
parts of the connection setup and I improved the error when the aws
profile is missing from your credentials file, which is what my error
actually was. This will result in secret keys being written to the
terminal, but there isn't really a way around that when someone runs a
cloud plugin in debug.

Signed-off-by: Tim Smith tsmith@chef.io

tas50 added 2 commits July 8, 2019 16:38
I was having a really hard time getting this plugin to work on my
system. I thought I could run the plugin in debug, but that didn't
provide any connection information. I added debug statements to various
parts of the connection setup and I improved the error when the aws
profile is missing from your credentials file, which is what my error
actually was. This will result in secret keys being written to the
terminal, but there isn't really a way around that when someone runs a
cloud plugin in debug.

Signed-off-by: Tim Smith <tsmith@chef.io>
I should have known this was going to break something

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 merged commit 7f48766 into master Jul 8, 2019
@chef-ci chef-ci deleted the debug branch July 8, 2019 23:40
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.

2 participants