← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1352256] Re: Uploading a new object fails with Ceph as object storage backend using RadosGW

 

I believe this bug is not related to 1297173. In Juno, Horizon fails to
upload an object with error message "Unable to upload object", but it
properly shows the detail pane of objects uploaded from cli. Looks like
a Horizon issue.

>From /var/log/apache2/error.log

[Wed Jan 28 00:41:27.879758 2015] [:error] [pid 1372:tid 140018748028672] Container HEAD failed: http://10.114.18.64:80/swift/v1/nebula 404 Not Found
[Wed Jan 28 00:41:27.879795 2015] [:error] [pid 1372:tid 140018748028672] Traceback (most recent call last):
[Wed Jan 28 00:41:27.879803 2015] [:error] [pid 1372:tid 140018748028672]   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1236, in _retry
[Wed Jan 28 00:41:27.879809 2015] [:error] [pid 1372:tid 140018748028672]     rv = func(self.url, self.token, *args, **kwargs)
[Wed Jan 28 00:41:27.879816 2015] [:error] [pid 1372:tid 140018748028672]   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 678, in head_container
[Wed Jan 28 00:41:27.879822 2015] [:error] [pid 1372:tid 140018748028672]     http_response_content=body)
[Wed Jan 28 00:41:27.879828 2015] [:error] [pid 1372:tid 140018748028672] ClientException: Container HEAD failed: http://10.114.18.64:80/swift/v1/nebula 404 Not Found
[Wed Jan 28 00:41:34.065103 2015] [:error] [pid 1374:tid 140018815170304] Object PUT failed: http://10.114.18.64:80/swift/v1/nebula/synergy.conf 411 Length Required  [$
[Wed Jan 28 00:41:34.065135 2015] [:error] [pid 1374:tid 140018815170304] <html><he
[Wed Jan 28 00:41:34.065142 2015] [:error] [pid 1374:tid 140018815170304] Traceback (most recent call last):
[Wed Jan 28 00:41:34.065148 2015] [:error] [pid 1374:tid 140018815170304]   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1236, in _retry
[Wed Jan 28 00:41:34.065155 2015] [:error] [pid 1374:tid 140018815170304]     rv = func(self.url, self.token, *args, **kwargs)
[Wed Jan 28 00:41:34.065178 2015] [:error] [pid 1374:tid 140018815170304]   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1009, in put_object
[Wed Jan 28 00:41:34.065185 2015] [:error] [pid 1374:tid 140018815170304]     http_response_content=body)
[Wed Jan 28 00:41:34.065191 2015] [:error] [pid 1374:tid 140018815170304] ClientException: Object PUT failed: http://10.114.18.64:80/swift/v1/nebula/synergy.conf 411 L$
[Wed Jan 28 00:41:34.065197 2015] [:error] [pid 1374:tid 140018815170304] <html><he
[Wed Jan 28 00:41:34.065464 2015] [:error] [pid 1374:tid 140018815170304] Recoverable error: Object PUT failed: http://10.114.18.64:80/swift/v1/nebula/synergy.conf 411$
[Wed Jan 28 00:41:34.065478 2015] [:error] [pid 1374:tid 140018815170304] <html><he

Yet as I said I can view the details of any object.


** This bug is no longer a duplicate of bug 1297173
   Cannot view object details with Ceph backend

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1352256

Title:
  Uploading a new object fails with Ceph as object storage backend using
  RadosGW

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  While uploading a new Object using Horizon, with Ceph as object
  storage backend, it fails with error mesage "Error: Unable to upload
  object"

  Ceph Release : Firefly

  Error in horizon_error.log:

  
  [Wed Jul 23 09:04:46.840751 2014] [:error] [pid 30045:tid 140685813683968] INFO:urllib3.connectionpool:Starting new HTTP connection (1): firefly-master.ashish.com
  [Wed Jul 23 09:04:46.842984 2014] [:error] [pid 30045:tid 140685813683968] WARNING:urllib3.connectionpool:HttpConnectionPool is full, discarding connection: firefly-master.ashish.com
  [Wed Jul 23 09:04:46.843118 2014] [:error] [pid 30045:tid 140685813683968] REQ: curl -i http://firefly-master.ashish.com/swift/v1/new-cont-dash/test -X PUT -H "X-Auth-Token: 91fc8466ce17e0d22af86de9b3343b2d"
  [Wed Jul 23 09:04:46.843227 2014] [:error] [pid 30045:tid 140685813683968] RESP STATUS: 411 Length Required
  [Wed Jul 23 09:04:46.843584 2014] [:error] [pid 30045:tid 140685813683968] RESP HEADERS: [('date', 'Wed, 23 Jul 2014 09:04:46 GMT'), ('content-length', '238'), ('content-type', 'text/html; charset=iso-8859-1'), ('connection', 'close'), ('server', 'Apache/2.4.7 (Ubuntu)')]
  [Wed Jul 23 09:04:46.843783 2014] [:error] [pid 30045:tid 140685813683968] RESP BODY: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  [Wed Jul 23 09:04:46.843907 2014] [:error] [pid 30045:tid 140685813683968] <html><head>
  [Wed Jul 23 09:04:46.843930 2014] [:error] [pid 30045:tid 140685813683968] <title>411 Length Required</title>
  [Wed Jul 23 09:04:46.843937 2014] [:error] [pid 30045:tid 140685813683968] </head><body>
  [Wed Jul 23 09:04:46.843944 2014] [:error] [pid 30045:tid 140685813683968] <h1>Length Required</h1>
  [Wed Jul 23 09:04:46.843951 2014] [:error] [pid 30045:tid 140685813683968] <p>A request of the requested method PUT requires a valid Content-length.<br />
  [Wed Jul 23 09:04:46.843957 2014] [:error] [pid 30045:tid 140685813683968] </p>
  [Wed Jul 23 09:04:46.843963 2014] [:error] [pid 30045:tid 140685813683968] </body></html>
  [Wed Jul 23 09:04:46.843969 2014] [:error] [pid 30045:tid 140685813683968]
  [Wed Jul 23 09:04:46.844530 2014] [:error] [pid 30045:tid 140685813683968] Object PUT failed: http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 411 Length Required  [first 60 chars of response] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  [Wed Jul 23 09:04:46.844555 2014] [:error] [pid 30045:tid 140685813683968] <html><he
  [Wed Jul 23 09:04:46.844567 2014] [:error] [pid 30045:tid 140685813683968] Traceback (most recent call last):
  [Wed Jul 23 09:04:46.844573 2014] [:error] [pid 30045:tid 140685813683968]   File "/opt/stack/python-swiftclient/swiftclient/client.py", line 1208, in _retry
  [Wed Jul 23 09:04:46.844582 2014] [:error] [pid 30045:tid 140685813683968]     rv = func(self.url, self.token, *args, **kwargs)
  [Wed Jul 23 09:04:46.844588 2014] [:error] [pid 30045:tid 140685813683968]   File "/opt/stack/python-swiftclient/swiftclient/client.py", line 981, in put_object
  [Wed Jul 23 09:04:46.844594 2014] [:error] [pid 30045:tid 140685813683968]     http_response_content=body)
  [Wed Jul 23 09:04:46.844601 2014] [:error] [pid 30045:tid 140685813683968] ClientException: Object PUT failed: http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 411 Length Required  [first 60 chars of response] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  [Wed Jul 23 09:04:46.844607 2014] [:error] [pid 30045:tid 140685813683968] <html><he
  [Wed Jul 23 09:04:46.844879 2014] [:error] [pid 30045:tid 140685813683968] Recoverable error: Object PUT failed: http://firefly-master.ashish.com/swift/v1/new-cont-dash/test 411 Length Required  [first 60 chars of response] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  [Wed Jul 23 09:04:46.844900 2014] [:error] [pid 30045:tid 140685813683968] <html><he
  [Wed Jul 23 09:04:46.854643 2014] [:error] [pid 30045:tid 140685813683968] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.0.1.60
  [Wed Jul 23 09:04:46.855247 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.connectionpool:Setting read timeout to None
  [Wed Jul 23 09:04:46.888503 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1358
  [Wed Jul 23 09:04:46.892722 2014] [:error] [pid 30045:tid 140685813683968] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.0.1.60
  [Wed Jul 23 09:04:46.894144 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.connectionpool:Setting read timeout to None
  [Wed Jul 23 09:04:46.910724 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 231

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1352256/+subscriptions


References