Since 0.16.1 client breaks nova when using https
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Critical
|
Stuart McLaren |
Bug Description
If (like nova) you use the no ssl compression option you get a stack trace:
$ ./tools/
venv develop-
venv runtests: PYTHONHASHSEED='0'
venv runtests: commands[0] | glance --debug --no-ssl-
curl -g -i -X HEAD -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-
Traceback (most recent call last):
File "/mnt/sam/
args.
File "/mnt/sam/
image_id = utils.find_
File "/mnt/sam/
return manager.
File "/mnt/sam/
% urlparse.
File "/mnt/sam/
return self._request(
File "/mnt/sam/
**kwargs)
File "/mnt/sam/
resp = self.send(prep, **send_kwargs)
File "/mnt/sam/
r = adapter.
File "/mnt/sam/
conn = self.get_
File "/mnt/sam/
return self._create_
File "/mnt/sam/
kw = self.poolmanage
AttributeError: 'PoolManager' object has no attribute 'connection_kw'
'PoolManager' object has no attribute 'connection_kw'
Looks like this was introduced with:
Change-Id: Ic77ce8a06d9d14
tags: | added: kilo-rc-potential |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
To confirm this breaks nova when using https I started devstack with ssl enabled (using USE_SSL=True in localrc):
$ keystone endpoint-list lib/python2. 7/dist- packages/ keystoneclient/ shell.py: 65: DeprecationWarning: The keystone CLI is deprecated in favor of python- openstackclient . For a Python library, continue using python- keystoneclient. keystoneclient. ', DeprecationWarning) ------- ------- ------- ------- -+----- ------+ ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- --+---- ------- ------- ------- ---- ------- ------- +------ ------- ------- ------- ------- + ------- ------- ------- ------- -+----- ------+ ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- --+---- ------- ------- ------- ---- ------- ------- +------ ------- ------- ------- ------- + cbdc16e6b55ec84 cb | RegionOne | https:/ /10.0.0. 47:8774/ v2/$(tenant_ id)s | https:/ /10.0.0. 47:8774/ v2/$(tenant_ id)s | https:/ /10.0.0. 47:8774/ v2/$(tenant_ id)s | 86912816c15c41e 8a95ad9640854e5 bc | e904b147c7a033b ac | RegionOne | https:/ /10.0.0. 47:8776/ v2/$(tenant_ id)s | https:/ /10.0.0. 47:8776/ v2/$(tenant_ id)s | https:/ /10.0.0. 47:8776/ v2/$(tenant_ id)s | 5d64fe58a4c3442 fb2a6d3c14f2086 a9 | 6a4495967ddbc52 74 | RegionOne | https:/ /10.0.0. 47:8774/ v2.1/$( tenant_ id)s | https:/ /10.0.0. 47:8774/ v2.1/$( tenant_ id)s | https:/ /10.0.0. 47:8774/ v2.1/$( tenant_ id)s | 808f4486bf2c449 f98565473536379 6a | ab4089fb0ecf691 f4 | RegionOne | https:/ /10.0.0. 47:8080/ v1/AUTH_ $(tenant_ id)s | https:/ /10.0.0. 47:8080/ v1/AUTH_ $(tenant_ id)s | https:/ /10.0.0. 47:8080 | d78100705b0c45d 58b42de51a632e8 2a | a95ac005fbb2703 d6 | RegionOne | https:/ /10.0.0. 47:8776/ v1/$(tenant_ id)s | https:/ /10.0.0. 47:8776/ v1/$(tenant_ id)s | https:/ /10.0.0. 47:8776/ v1/$(tenant_ id)s | 1ede664498e7419 ba406d6c46e9673 5c | 1a746caa08c30cc a1 | RegionOne | https:/ /10.0.0. 47:8773/ | https:/ /10.0.0. 47:8773/ | https:/ /10.0.0. 47:8773/ | beaddfc4ec5740f c8ea4fde1ca9be2 a5 | abc1c65cfdedbb4 65 | RegionOne | https:/ /10.0.0. 47:5000/ v2.0 | https:/ /10.0.0. 47:5000/ v2.0 | https:/ /10.0.0. 47:35357/ v2.0 | a64185bcae8341b c9493d0feef7771 3b | a992c8a58692bc7 c2 | RegionOne | https:/ /10.0.0. 47:9292 | https:/ /10.0.0. 47:9292 | https:/ /10.0.0. 47:9292 | 5d048c621520435 d82f61fbc055db8 87 | ------- ------- ------- ------- -+----- ------+ ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- --+---- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+
/usr/local/
'python-
+-----
| id | region | publicurl | internalurl | adminurl | service_id |
+-----
| 23c027b6f16f49b
| 6b1e415a479b4cd
| 6c7c345c3c7947e
| 71ebbc4e3d154bf
| 7bbab33e0faa42e
| a802cfd711a1462
| b5f0ca15cac04f1
| dd279bf07a054be
+-----
$ glance image-list ------- ------- ------- ------- -----+- ------- ------- ------- ------- ----+-- --...
+-----