24395ba8d2
Implements: blueprint installguide-liberty Change-Id: I45743e259ae4318a68c8ae64d2757671954ad0b1
1.3 KiB
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.
Source the
demo
credentials:$ source demo-openrc.sh
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
Upload a test file:
$ swift -V 3 upload demo-container1 FILE FILE
Replace
FILE
with the name of a local file to upload to thedemo-container1
container.List containers:
$ swift -V 3 list demo-container1
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 thedemo-container1
container.