openstack-manuals/doc/install-guide/source/swift-verify.rst
Andreas Jaeger 25d1b7d617 Remove DocBook XML files for Install Guide
Remove DocBook XML files and rename directory from install-guide-rst to
install-guide.

Adjust everything so that publishing works.
Update README to remove DocBook XML Install Guide specific instructions.

Implements: blueprint installguide-liberty
Change-Id: If723c44c3c0383dc8ab8e53798d82e7f0ee2cc57
2015-08-19 16:35:31 +02:00

1.3 KiB

Verify operation

This section describes how to verify operation of the Object Storage service.

Note

The swift client requires the -V 3 parameter to use the Identity version 3 API.

Note

Perform these steps on the controller node.

  1. Source the demo credentials:

    $ source demo-openrc.sh
  2. Show the service status:

    $ swift -V 3 stat
    Account: AUTH_c75cafb58f5049b8a976506737210756
         Containers: 0
            Objects: 0
              Bytes: 0
    X-Put-Timestamp: 1429736713.92936
        X-Timestamp: 1429736713.92936
         X-Trans-Id: txdea07add01ca4dbdb49a2-0055380d09
       Content-Type: text/plain; charset=utf-8
  3. Upload a test file:

    $ swift -V 3 upload demo-container1 FILE
    FILE

    Replace FILE with the name of a local file to upload to the demo-container1 container.

  4. List containers:

    $ swift -V 3 list
    demo-container1
  5. Download a test file:

    $ swift -V 3 download demo-container1 FILE
    FILE [auth 0.295s, headers 0.339s, total 0.339s, 0.005 MB/s]

    Replace FILE with the name of the file uploaded to the demo-container1 container.