4.7. Validate the Object Storage Service Installation
After installing and configuring the Block Storage service, perform the following steps to validate it:
Procedure 4.6. Validating the Object Storage Service installation
- On your proxy server node, use the
openstack-configcommand to turn on debug level logging:#openstack-config --set /etc/swift/proxy-server.conf DEFAULT log_level debug - Set up the shell to access Keystone as the admin user:
$source ~/keystonerc_admin - Use the
swiftlist to make sure you can connect to your proxy server:$swift listMessage from syslogd@example-swift-01 at Jun 14 02:46:00 ... 135 proxy-server Server reports support for api versions: v3.0, v2.0 - Use the
swiftcommand to upload some files to your Object Storage Service nodes$head -c 1024 /dev/urandom > data1.file ; swift upload c1 data1.file$head -c 1024 /dev/urandom > data2.file ; swift upload c1 data2.file$head -c 1024 /dev/urandom > data3.file ; swift upload c1 data3.file - Use the
swiftcommand to take a listing of the objects held in your Object Storage Service cluster.$swift list$swift list c1data1.file data2.file data3.file
You have now uploaded 3 files into 1 container. If you check the other storage devices, you will find more
.data files, depending on your replica count.
$find /srv/node/ -type f -name "*data"