← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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


Follow ups

References