[openstack-dev] [CI] nodepool.DiskImageUpdater: Broken pipe error

Xie, Xianshan xiexs at cn.fujitsu.com
Sat Aug 8 10:00:31 UTC 2015


Hi, all,
This issue has already been resolved.
Thanks a lot.

Xiexs

From: Xie, Xianshan [mailto:xiexs at cn.fujitsu.com]
Sent: Friday, August 07, 2015 3:15 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [CI] nodepool.DiskImageUpdater: Broken pipe error

Hi, everyone,

  The Broken pipe errors were encountered as follows, when I ran nodepoold command:
--------------------------------
2015-08-08 12:31:27,360 INFO nodepool.DiskImageUpdater: Uploading dib image id: 6755 from /opt/nodepool_dib/dpc-1439004811 for dpc-1439008287.template.openstack.org in local_01
2015-08-08 13:06:17,598 ERROR nodepool.DiskImageUpdater: Exception updating image dpc in local_01:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line 987, in _run
    self.updateImage(session)
  File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line 1031, in updateImage
    self.image.meta)
  …
  File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 360, in update
    resp, body = self.client.put(url, headers=hdrs, data=image_data)
  File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 282, in put
    return self._request('PUT', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 218, in _request
    resp = self.session.request(method,
CommunicationError: Error finding address for http://10.124.196.222:9292/v1/images/909eddee-e8d4-43a8-b8cf-617156b7a1ba: [Errno 32] Broken pipe
--------------------------------

From the stack trace, it seems that the glanceclient can`t connect to the glanceserver.
And, in my case all connections are based on the proxy, so, I have made the following attempts to remove the error:

1.       Setup the http_proxy environment variable on the terminal.

2.       Individually, add session.proxies argument to the request method.
But none of them works.


And then, I tried to access the glanceserver with glance cli:

1.       export OS_AUTH_URL=http:// 10.124.196.222:35357/v2.0

2.       and glance image-update(which also accesses the glance server with “PUT” method).
It works fine.

So, do you have any tips for eliminating this error?
Thanks in advance.

Xiexs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150808/df4c8e26/attachment.html>


More information about the OpenStack-dev mailing list