Skip to content
Snippets Groups Projects
Commit 75d145a8 authored by Tone Zhang's avatar Tone Zhang Committed by Tone.Zhang
Browse files

Doc: update swift-guide in kolla-ansible


In kolla-ansible "quick start" document, the python-openstackclient
is recommended. It is better to validate Swift with "openstack"
commands instead of "swift" commands.

Change-Id: I6287b40f702de2f3c270109803fad8d93a903c01
Closes-Bug: #1732857
Signed-off-by: default avatarTone Zhang <tone.zhang@arm.com>
parent 23582ec5
No related branches found
No related tags found
No related merge requests found
...@@ -168,25 +168,36 @@ A very basic smoke test: ...@@ -168,25 +168,36 @@ A very basic smoke test:
:: ::
$ swift stat $ openstack container create mycontainer
Account: AUTH_4c19d363b9cf432a80e34f06b1fa5749 +---------------------------------------+--------------+------------------------------------+
Containers: 1 | account | container | x-trans-id |
Objects: 0 +---------------------------------------+--------------+------------------------------------+
Bytes: 0 | AUTH_7b938156dba44de7891f311c751f91d8 | mycontainer | txb7f05fa81f244117ac1b7-005a0e7803 |
Containers in policy "policy-0": 1 +---------------------------------------+--------------+------------------------------------+
Objects in policy "policy-0": 0
Bytes in policy "policy-0": 0 $ openstack object create mycontainer README.rst
X-Account-Project-Domain-Id: default +---------------+--------------+----------------------------------+
X-Timestamp: 1440168098.28319 | object | container | etag |
X-Trans-Id: txf5a62b7d7fc541f087703-0055d73be7 +---------------+--------------+----------------------------------+
Content-Type: text/plain; charset=utf-8 | README.rst | mycontainer | 2634ecee0b9a52ba403a503cc7d8e988 |
Accept-Ranges: bytes +---------------+--------------+----------------------------------+
$ swift upload mycontainer README.rst $ openstack container show mycontainer
README.md +--------------+---------------------------------------+
| Field | Value |
$ swift list +--------------+---------------------------------------+
mycontainer | account | AUTH_7b938156dba44de7891f311c751f91d8 |
| bytes_used | 6684 |
$ swift download mycontainer README.md | container | mycontainer |
README.md [auth 0.248s, headers 0.939s, total 0.939s, 0.006 MB/s] | object_count | 1 |
+--------------+---------------------------------------+
$ openstack object store account show
+------------+---------------------------------------+
| Field | Value |
+------------+---------------------------------------+
| Account | AUTH_7b938156dba44de7891f311c751f91d8 |
| Bytes | 6684 |
| Containers | 1 |
| Objects | 1 |
+------------+---------------------------------------+
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment