ConnectionError exception mapped incorrectly
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| keystonemiddleware |
Fix Released
|
Medium
|
Matthew Edmonds | ||
| python-keystoneclient |
Fix Released
|
Critical
|
Lin Hua Cheng | ||
Bug Description
The mapping for ConnectionError to ConnectionRefused have been
remove in a recent cleanup to move all exception to
keystoneclient.
related commit: 26534dadb1d0be0
This is a backward incompatible that caused the keystonemiddleware test to fail after KSC was released
2015-09-07 03:41:01.595 | =======
2015-09-07 03:41:01.595 | FAIL: keystonemiddlew
2015-09-07 03:41:01.595 | tags: worker-6
2015-09-07 03:41:01.595 | -------
2015-09-07 03:41:01.595 | Empty attachments:
2015-09-07 03:41:01.595 | stderr
2015-09-07 03:41:01.595 | stdout
2015-09-07 03:41:01.595 |
2015-09-07 03:41:01.595 | pythonlogging:'': {{{WARNING [keystonemiddle
2015-09-07 03:41:01.595 |
2015-09-07 03:41:01.596 | Traceback (most recent call last):
2015-09-07 03:41:01.596 | File "keystonemiddle
2015-09-07 03:41:01.596 | self.assertIsNo
2015-09-07 03:41:01.596 | File "keystonemiddle
2015-09-07 03:41:05.483 | return self.middleware
2015-09-07 03:41:05.483 | File "keystonemiddle
2015-09-07 03:41:05.484 | raise exc.InvalidToke
2015-09-07 03:41:05.484 | keystonemiddlew
Additional notes:
ConnectionError exception is not caught by requests.
[1] https:/
[2] http://
| Changed in python-keystoneclient: | |
| importance: | Undecided → Critical |
| description: | updated |
| summary: |
- Session._send_request(...) doesnt catch the exception properly + ConnectionError exception mapped incorrectly |
| Changed in keystonemiddleware: | |
| importance: | Undecided → Medium |
| Changed in python-keystoneclient: | |
| milestone: | none → 1.7.1 |
| status: | Fix Committed → Fix Released |
| Changed in keystonemiddleware: | |
| milestone: | none → 2.3.0 |
| status: | Fix Committed → Fix Released |

Fix proposed to branch: master /review. openstack. org/220736
Review: https:/