[SRU] Requests to https server can yield WantReadError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Critical
|
Stuart McLaren | ||
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
python-glanceclient (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Raring |
Fix Released
|
Critical
|
Adam Gandelman |
Bug Description
If the glance client is instantiated when the socket module has been monkey patched (eg when inside nova/cinder) requests to the server can yield a WantReadError because the socket has been set to non-blocking but this is not being handled correctly.
--- Ubuntu SRU Justification ---
[Impact]
When the socket module has been monkey patched, glanceclient
will throw WantReadError exceptions when communicating with a HTTPS glance endpoint. This patching happens in the case of Nova (at least currently in Grizzly), and its attempt to use the glanceclient library for communicating with a SSL secured remote glance endpoint ends in error.
[Test Case]
Setup a glance server configured for serving via HTTPS and set its Keystone endpoint accordingly. Observe image-related API requests to Nova failing and WantReadError exceptions errors/traceabacks logged to the relevant nova API log.
[Regression Potential]
Should be minimal. The upstream fix has gone through code review and CI testing before merging.
Related branches
Changed in python-glanceclient (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in python-glanceclient (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
tags: | added: ops |
Changed in python-glanceclient: | |
importance: | Undecided → Critical |
Changed in python-glanceclient: | |
status: | Confirmed → In Progress |
Changed in cloud-archive: | |
status: | New → Confirmed |
summary: |
- Requests to https server can yield WantReadError + [SRU] Requests to https server can yield WantReadError |
description: | updated |
Changed in python-glanceclient (Ubuntu Raring): | |
assignee: | nobody → Adam Gandelman (gandelman-a) |
status: | Confirmed → In Progress |
Changed in cloud-archive: | |
status: | Confirmed → Fix Committed |
Changed in cloud-archive: | |
status: | Fix Committed → Fix Released |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/24916
Review: https:/