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

[ssh] Be more specific when logging ssh errors #2708

Merged
merged 1 commit into from
Jul 27, 2016

Conversation

masci
Copy link
Contributor

@masci masci commented Jul 26, 2016

Why

If the ssh check has trouble loading a private key file, we log a generic error message so that it's impossible to determine the cause.

What

Catch specific exceptions and log different warning messages.

@masci masci force-pushed the massi/better_ssh_check_log branch from 7c0cb7f to 64c1e6f Compare July 26, 2016 19:53
@degemer
Copy link
Member

degemer commented Jul 26, 2016

👍

@masci masci merged commit 7680e4b into master Jul 27, 2016
@masci masci deleted the massi/better_ssh_check_log branch July 27, 2016 07:05
degemer added a commit that referenced this pull request Jul 28, 2016
* master: (119 commits)
  [core] remove noisy logs (#2715)
  run multiple instances of pylint (#2716)
  [packaging] Release 5.8.5 (#2712)
  [changelog][5.8.5] Add notes on packaging changes (#2710)
  [changelog] Update 5.8.5 with python upgrade
  be more specific when logging ssh errors (#2708)
  [marathon] allow base_url with path (#2620)
  [changelog] Update 5.8.5
  add issue and pr templates
  [sdk] minor tweaks - sdk env detection, check location (#2694)
  [http_check] log exceptions 🔊
  use 0.0.0.0 as server address when non_local_traffic is passed (#2691)
  [elastic] tag stats metric with the node name 🏷 (#2696)
  [openstack] moving proxy logic to AgentCheck, for maintainability. Fixing typos.
  [changelog] 5.8.5 draft
  [tests] lower flakiness of test_no_parallelism (#2690)
  [core] don't use docker hostname if it's a EC2 one (#2661)
  [haproxy] Fix `KeyError` when an unknown status is found (#2681)
  [changelog] Fix md links
  [jenkins] Deprecate check (#2688)
  ...
@olivielpeau olivielpeau added this to the 5.9.0 milestone Jul 29, 2016
truthbk pushed a commit that referenced this pull request Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants