Uploading a new object fails with Ceph as object storage backend using RadosGW
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Paul Karikh | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
Invalid
|
Medium
|
Corey Bryant | ||
Kilo |
Fix Released
|
Medium
|
Corey Bryant |
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.
[Wed Jul 23 09:04:46.842984 2014] [:error] [pid 30045:tid 140685813683968] WARNING:
[Wed Jul 23 09:04:46.843118 2014] [:error] [pid 30045:tid 140685813683968] REQ: curl -i http://
[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=
[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://
[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/
[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/
[Wed Jul 23 09:04:46.844594 2014] [:error] [pid 30045:tid 140685813683968] http_response_
[Wed Jul 23 09:04:46.844601 2014] [:error] [pid 30045:tid 140685813683968] ClientException: Object PUT failed: http://
[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://
[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.
[Wed Jul 23 09:04:46.855247 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.
[Wed Jul 23 09:04:46.888503 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.
[Wed Jul 23 09:04:46.892722 2014] [:error] [pid 30045:tid 140685813683968] INFO:urllib3.
[Wed Jul 23 09:04:46.894144 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.
[Wed Jul 23 09:04:46.910724 2014] [:error] [pid 30045:tid 140685813683968] DEBUG:urllib3.
Related branches
Changed in horizon: | |
assignee: | nobody → Paul Karikh (pkarikh) |
Changed in horizon: | |
importance: | Undecided → Low |
milestone: | none → liberty-2 |
Changed in horizon: | |
status: | In Progress → Fix Committed |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | liberty-2 → 8.0.0 |
The object can be added using CLI:
ashish@ firefly- master: ~/devstack$ swift upload new-cont openrc firefly- master: ~/devstack$ swift stat new-cont Bytes-Used- Actual: 4096 firefly- master: ~/devstack$ swift stat new-cont openrc 92c7996de725ecc 6b
openrc
ashish@
Account: v1
Container: new-cont
Objects: 1
Bytes: 3463
Read ACL:
Write ACL:
Sync To:
Sync Key:
Server: Apache/2.4.7 (Ubuntu)
X-Container-
Content-Type: text/plain; charset=utf-8
ashish@
Account: v1
Container: new-cont
Object: openrc
Content Length: 3463
Last Modified: Wed, 23 Jul 2014 09:44:31 GMT
ETag: 9204776814ca62c
Meta Mtime: 1406103867.326814
Accept-Ranges: bytes
Server: Apache/2.4.7 (Ubuntu)
The stats for the object misses "ContentType" and "X-Timestamp" header, which is not returned by RadosGW.