Translated message

A translation of this page exists in English.

Ceph の radosgw を使用する場合に Swift クライアントがコンテナーを作成しない

Solution In Progress - Updated -

Issue

  • Ceph の radosgw を使用する場合に swift クライアントがコンテナーを作成しません。
  • swift コマンドを --verbose および --debug オプションで表示すると 400 Bad Request が返ってきます。
# swift --verbose --debug --os-storage-url XXXX--os-auth-token XXXXXXX post XXXXX
---snip--
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>
---snip--
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><he
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1208, in _retry
    rv = func(self.url, self.token, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 736, in post_container
    http_response_content=body)
ClientException:Container POST failed:XXXXXX 400 Bad Request  [first 60 chars of response]

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Ceph Storage v1.2
  • python-swiftclient v2.1.0-2.el7ost

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content