Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Glance + Swift backend

Hi guys. I need you help. I've tried to setup Glance to store images into Swift backend and config looking realy easy. I used this post like example http://www.unixarena.com/2015/10/openstack-re-configure-glance-to-use-swift-storage.html but after nessesary changes I faced with "Connection pool is full, discarding connection" issue. It's happend when I make new instance snapshot. As a result new snapshot haven't created, appears in DELETED status and disappears after refreshing the Horizon page.

Enviroment info: Solaris 11.3; Juno release; glance --version 0.15.0 nova --version 2.20.0 nova-manage --version 2014.2.2 swift --version swift 2.3.1

Also I have strange behavior: when I changed "glance-api.conf" "default_store = swift" and restart glance-api and glance-registry I anyway can use glance image-list and find my old images storied on filesystem.

Here is this more wider error log from nova-compute:

    2016-06-17 11:47:33.576 88910 INFO nova.virt.solariszones.driver [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 None] [instance: 8cd846d0-1016-4291-89b7-a131f6471421] Snapshot extracted, beginning image upload
    2016-06-17 11:47:44.040 88910 WARNING requests.packages.urllib3.connectionpool [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 ] Connection pool is full, discarding connection: ctl.MYHOST.net
    2016-06-17 11:47:44.321 88910 INFO nova.scheduler.client.report [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 None] Compute_service record updated for ('comp01.MYHOST.net', 'v-4-kp24-d6047-164.webazilla.com')
    2016-06-17 11:47:44.323 88910 ERROR oslo.messaging.rpc.dispatcher [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 ] Exception during message handling: <html>
     <head>
      <title>400 Bad Request</title>
     </head>
     <body>
      <h1>400 Bad Request</h1>
      Client disconnected before sending all data to backend<br /><br />

     </body>
    </html> (HTTP 400)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/exception.py", line 88, in wrapped
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     payload)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/exception.py", line 71, in wrapped
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 298, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     pass
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 284, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 326, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 314, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 374, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     instance=instance)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 364, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     *args, **kwargs)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 3024, in snapshot_instance
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     task_states.IMAGE_SNAPSHOT)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 3055, in _snapshot_instance
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     update_task_state)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/virt/solariszones/driver.py", line 1984, in snapshot
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     image_file)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/image/glance.py", line 405, in update
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     _reraise_translated_image_exception(image_id)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/image/glance.py", line 403, in update
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     image_id, **image_meta)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/image/glance.py", line 232, in call
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return getattr(client.images, method)(*args, **kwargs)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/glanceclient/v1/images.py", line 329, in update
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     resp, body = self.client.put(url, headers=hdrs, data=image_data)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/glanceclient/common/http.py", line 265, in put
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return self._request('PUT', url, **kwargs)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/glanceclient/common/http.py", line 227, in _request
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     raise exc.from_response(resp, resp.content)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher Invalid: <html>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  <head>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   <title>400 Bad Request</title>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  </head>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  <body>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   <h1>400 Bad Request</h1>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   Client disconnected before sending all data to backend<br /><br />
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  </body>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher </html> (HTTP 400)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher

And from Glance log:

2016-06-17 11:47:35.330 740601 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/vendor-packages/keystonemiddleware/auth_token.py:803
2016-06-17 11:47:35.331 740601 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles
None __call__ /usr/lib/python2.7/vendor-packages/keystonemiddleware/auth_token.py:821
2016-06-17 11:47:35.332 740601 DEBUG routes.middleware [-] Matched HEAD /images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 __call__ /usr/lib/python2.7/vendor-packages/routes/middleware.py:100
2016-06-17 11:47:35.332 740601 DEBUG routes.middleware [-] Route path: '/images/{id}', defaults: {'action': u'meta', 'controller': <glance.common.wsgi.Resource object at 0xef7a516c>} __ca
ll__ /usr/lib/python2.7/vendor-packages/routes/middleware.py:102
2016-06-17 11:47:35.332 740601 DEBUG routes.middleware [-] Match dict: {'action': u'meta', 'controller': <glance.common.wsgi.Resource object at 0xef7a516c>, 'id': u'ed75d0c7-bc28-4236-9a8
7-c10a9fd6ca39'} __call__ /usr/lib/python2.7/vendor-packages/routes/middleware.py:103
2016-06-17 11:47:35.333 740601 DEBUG glance.common.client [-] Constructed URL: http://0.0.0.0:9191/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 _construct_url /usr/lib/python2.7/vendor-pac
kages/glance/common/client.py:398
2016-06-17 11:47:35.360 740601 DEBUG glance.registry.client.v1.client [-] Registry request GET /images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 HTTP 200 request id req-459f6776-2fd4-4f4c-9256
-a4aeeafae8c0 do_request /usr/lib/python2.7/vendor-packages/glance/registry/client/v1/client.py:122
2016-06-17 11:47:35.362 740601 INFO glance.wsgi.server [-] 127.0.0.1 - - [17/Jun/2016 11:47:35] "HEAD /v1/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 HTTP/1.1" 200 1822 0.035105
2016-06-17 11:47:44.041 740601 INFO glance.wsgi.server [-] 88.85.70.164 - - [17/Jun/2016 11:47:44] "PUT /v1/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 HTTP/1.1" 400 396 10.349078
88.85.70.164 - - [17/Jun/2016 11:47:44] code 400, message Bad request syntax ('0')
88.85.70.164 - - [17/Jun/2016 11:47:44] "0" 400 -
Traceback (most recent call last):
  File "/usr/lib/python2.7/vendor-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl
    func(*args, **kwargs)
  File "/usr/lib/python2.7/vendor-packages/eventlet/wsgi.py", line 661, in process_request
    proto.__init__(sock, address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 342, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/vendor-packages/eventlet/wsgi.py", line 288, in handle_one_request
    if not self.parse_request():
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 286, in parse_request
    self.send_error(400, "Bad request syntax (%r)" % requestline)
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 373, in send_error
    self.wfile.write(content)
  File "/usr/lib/python2.7/socket.py", line 324, in write
    self.flush()
  File "/usr/lib/python2.7/socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
  File "/usr/lib/python2.7/vendor-packages/eventlet/greenio.py", line 359, in sendall
    tail = self.send(data, flags)
  File "/usr/lib/python2.7/vendor-packages/eventlet/greenio.py", line 342, in send
    total_sent += fd.send(data[total_sent:], flags)
error: [Errno 32] Broken pipe
2016-06-17 11:47:44.070 740601 DEBUG glance.api.middleware.version_negotiation [-] Determining version of request: DELETE /v1/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 Accept: */* proce
ss_request /usr/lib/python2.7/vendor-packages/glance/api/middleware/version_negotiation.py:44
2016-06-17 11:47:44.070 740601 DEBUG glance.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/vendor-packages/glance/api/middleware/version_ne
gotiation.py:57

Glance + Swift backend

Hi guys. I need you help. I've tried to setup Glance to store images into Swift backend and config looking realy easy. I used this post like example http://www.unixarena.com/2015/10/openstack-re-configure-glance-to-use-swift-storage.html but after nessesary nesessary changes I faced with "Connection pool is full, discarding connection" issue. It's happend when I make new instance snapshot. As a result new snapshot haven't created, appears in DELETED status and disappears after refreshing the Horizon page.

Enviroment info: Solaris 11.3; Juno release; glance --version 0.15.0 nova --version 2.20.0 nova-manage --version 2014.2.2 swift --version swift 2.3.1

Also I have strange behavior: when I changed "glance-api.conf" "default_store = swift" and restart glance-api and glance-registry I anyway can use glance image-list and find my old images storied on filesystem.

Here is this more wider error log from nova-compute:

    2016-06-17 11:47:33.576 88910 INFO nova.virt.solariszones.driver [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 None] [instance: 8cd846d0-1016-4291-89b7-a131f6471421] Snapshot extracted, beginning image upload
    2016-06-17 11:47:44.040 88910 WARNING requests.packages.urllib3.connectionpool [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 ] Connection pool is full, discarding connection: ctl.MYHOST.net
    2016-06-17 11:47:44.321 88910 INFO nova.scheduler.client.report [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 None] Compute_service record updated for ('comp01.MYHOST.net', 'v-4-kp24-d6047-164.webazilla.com')
    2016-06-17 11:47:44.323 88910 ERROR oslo.messaging.rpc.dispatcher [req-a7b2791c-187a-404e-9a10-e4569a8b9ee7 ] Exception during message handling: <html>
     <head>
      <title>400 Bad Request</title>
     </head>
     <body>
      <h1>400 Bad Request</h1>
      Client disconnected before sending all data to backend<br /><br />

     </body>
    </html> (HTTP 400)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/exception.py", line 88, in wrapped
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     payload)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/exception.py", line 71, in wrapped
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 298, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     pass
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 284, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 326, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 314, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 374, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     instance=instance)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/openstack/common/excutils.py", line 82, in __exit__
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 364, in decorated_function
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     *args, **kwargs)
    2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 3024, in snapshot_instance
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     task_states.IMAGE_SNAPSHOT)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/compute/manager.py", line 3055, in _snapshot_instance
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     update_task_state)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/virt/solariszones/driver.py", line 1984, in snapshot
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     image_file)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/image/glance.py", line 405, in update
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     _reraise_translated_image_exception(image_id)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/image/glance.py", line 403, in update
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     image_id, **image_meta)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/nova/image/glance.py", line 232, in call
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return getattr(client.images, method)(*args, **kwargs)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/glanceclient/v1/images.py", line 329, in update
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     resp, body = self.client.put(url, headers=hdrs, data=image_data)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/glanceclient/common/http.py", line 265, in put
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     return self._request('PUT', url, **kwargs)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/vendor-packages/glanceclient/common/http.py", line 227, in _request
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher     raise exc.from_response(resp, resp.content)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher Invalid: <html>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  <head>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   <title>400 Bad Request</title>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  </head>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  <body>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   <h1>400 Bad Request</h1>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher   Client disconnected before sending all data to backend<br /><br />
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher  </body>
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher </html> (HTTP 400)
2016-06-17 11:47:44.323 88910 TRACE oslo.messaging.rpc.dispatcher

And from Glance log:

2016-06-17 11:47:35.330 740601 DEBUG keystonemiddleware.auth_token [-] Authenticating service token __call__ /usr/lib/python2.7/vendor-packages/keystonemiddleware/auth_token.py:803
2016-06-17 11:47:35.331 740601 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id None, project_id None, roles None service: user_id None, project_id None, roles
None __call__ /usr/lib/python2.7/vendor-packages/keystonemiddleware/auth_token.py:821
2016-06-17 11:47:35.332 740601 DEBUG routes.middleware [-] Matched HEAD /images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 __call__ /usr/lib/python2.7/vendor-packages/routes/middleware.py:100
2016-06-17 11:47:35.332 740601 DEBUG routes.middleware [-] Route path: '/images/{id}', defaults: {'action': u'meta', 'controller': <glance.common.wsgi.Resource object at 0xef7a516c>} __ca
ll__ /usr/lib/python2.7/vendor-packages/routes/middleware.py:102
2016-06-17 11:47:35.332 740601 DEBUG routes.middleware [-] Match dict: {'action': u'meta', 'controller': <glance.common.wsgi.Resource object at 0xef7a516c>, 'id': u'ed75d0c7-bc28-4236-9a8
7-c10a9fd6ca39'} __call__ /usr/lib/python2.7/vendor-packages/routes/middleware.py:103
2016-06-17 11:47:35.333 740601 DEBUG glance.common.client [-] Constructed URL: http://0.0.0.0:9191/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 _construct_url /usr/lib/python2.7/vendor-pac
kages/glance/common/client.py:398
2016-06-17 11:47:35.360 740601 DEBUG glance.registry.client.v1.client [-] Registry request GET /images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 HTTP 200 request id req-459f6776-2fd4-4f4c-9256
-a4aeeafae8c0 do_request /usr/lib/python2.7/vendor-packages/glance/registry/client/v1/client.py:122
2016-06-17 11:47:35.362 740601 INFO glance.wsgi.server [-] 127.0.0.1 - - [17/Jun/2016 11:47:35] "HEAD /v1/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 HTTP/1.1" 200 1822 0.035105
2016-06-17 11:47:44.041 740601 INFO glance.wsgi.server [-] 88.85.70.164 - - [17/Jun/2016 11:47:44] "PUT /v1/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 HTTP/1.1" 400 396 10.349078
88.85.70.164 - - [17/Jun/2016 11:47:44] code 400, message Bad request syntax ('0')
88.85.70.164 - - [17/Jun/2016 11:47:44] "0" 400 -
Traceback (most recent call last):
  File "/usr/lib/python2.7/vendor-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl
    func(*args, **kwargs)
  File "/usr/lib/python2.7/vendor-packages/eventlet/wsgi.py", line 661, in process_request
    proto.__init__(sock, address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 342, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/vendor-packages/eventlet/wsgi.py", line 288, in handle_one_request
    if not self.parse_request():
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 286, in parse_request
    self.send_error(400, "Bad request syntax (%r)" % requestline)
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 373, in send_error
    self.wfile.write(content)
  File "/usr/lib/python2.7/socket.py", line 324, in write
    self.flush()
  File "/usr/lib/python2.7/socket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
  File "/usr/lib/python2.7/vendor-packages/eventlet/greenio.py", line 359, in sendall
    tail = self.send(data, flags)
  File "/usr/lib/python2.7/vendor-packages/eventlet/greenio.py", line 342, in send
    total_sent += fd.send(data[total_sent:], flags)
error: [Errno 32] Broken pipe
2016-06-17 11:47:44.070 740601 DEBUG glance.api.middleware.version_negotiation [-] Determining version of request: DELETE /v1/images/ed75d0c7-bc28-4236-9a87-c10a9fd6ca39 Accept: */* proce
ss_request /usr/lib/python2.7/vendor-packages/glance/api/middleware/version_negotiation.py:44
2016-06-17 11:47:44.070 740601 DEBUG glance.api.middleware.version_negotiation [-] Using url versioning process_request /usr/lib/python2.7/vendor-packages/glance/api/middleware/version_ne
gotiation.py:57