5eb78aad48
Update swift configuration for Liberty. Includes moving basic host configuration of object storage nodes to environment section. Also addresses some consistency issues, mostly from the RST conversion. Changes and testing specific to distribution packages primarily involve Ubuntu. Other distributions may require additional patches. Change-Id: I00c9f9fbc3700ebf0423a4c1ac92ff6863852df6 Implements: blueprint installguide-liberty
1.7 KiB
1.7 KiB
Verify operation
Verify operation of the Object Storage service.
Note
Perform these steps on the controller node.
In each client environment script, configure the Object Storage service client to use the Identity API version 3:
$ echo "export OS_AUTH_VERSION=3" \ | tee -a admin-openrc.sh demo-openrc.sh
Source the
demo
credentials:$ source demo-openrc.sh
Show the service status:
$ swift stat Account: AUTH_ed0b60bf607743088218b0a533d5943f Containers: 0 Objects: 0 Bytes: 0 Containers in policy "policy-0": 0 Objects in policy "policy-0": 0 Bytes in policy "policy-0": 0 X-Account-Project-Domain-Id: default X-Timestamp: 1444143887.71539 X-Trans-Id: tx1396aeaf17254e94beb34-0056143bde Content-Type: text/plain; charset=utf-8 Accept-Ranges: bytes
Upload a test file:
$ swift upload container1 FILE FILE
Replace
FILE
with the name of a local file to upload to thecontainer1
container.List containers:
$ swift list container1
Download a test file:
$ swift download 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 thecontainer1
container.