Closed Bug 988095 Opened 11 years ago Closed 11 years ago

Log more details about verifier-related errors

Categories

(Cloud Services Graveyard :: Server: Token, defect, P1)

x86_64
Windows 7
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rfkelly, Assigned: rfkelly)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

Currently the tokenserver will log ConnectionError's from the remove verifier like thisL { "severity": 6, "timestamp": "2014-03-26T00:13:51.161667Z", "metlog_hostname": "ip-10-153-139-114", "fields": { "rate": 1.0, "name": "token.assertion.connection_error" }, "metlog_pid": 2266, "logger": "", "type": "counter", "payload": "1", "env_version": "0.8" } This is really not that helpful, we should log a full traceback for any unexpected errors like this.
Whiteboard: [qa+]
QA Contact: jbonacci
Priority: -- → P1
No longer blocks: 956217
This patch adds a traceback log for an non-trust-related verifier errors. It also cleans up the verifier error-handling a bit, e.g. moving it out of a pointless helper function and checking classes rather than checking the string name of the error.
Attachment #8442636 - Flags: review?(telliott)
Comment on attachment 8442636 [details] [diff] [review] ts-log-traceback-for-verifier-errors.diff Actually, Tarek if you get a change to sanity-check this for me today, I can get a new tag done for further testing tomorrow.
Attachment #8442636 - Flags: review?(tarek)
Attachment #8442636 - Flags: review?(tarek) → review+
Attachment #8442636 - Flags: review?(telliott)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 1014496
It's out there: Stage Deploy: bug 1014496 Prod Deploy: bug 1027899
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: