Show Table of Contents
4.5. Validate the Object Storage Service Installation
After installing and configuring the Object Storage service, you must validate it. The following procedure must be performed on the server hosting the proxy service, or on any machine onto which you have copied the
keystonerc_admin file and on which the python-swiftclient package is installed.
Procedure 4.7. Validating the Object Storage Service Installation
- On the proxy server node, turn on debug level logging:
#openstack-config --set /etc/swift/proxy-server.conf DEFAULT log_level debug - Restart the
rsyslogservice and theopenstack-swift-proxyservice:#systemctl restart rsyslog.service#systemctl restart openstack-swift-proxy.service - Set up the shell to access Keystone as the administrative user:
#source ~/keystonerc_admin - Ensure that you can connect to the proxy server:
[(keystone_admin)]#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 - Upload some files to your Object Storage service nodes:
[(keystone_admin)]#head -c 1024 /dev/urandom > data1.file ; swift upload c1 data1.file[(keystone_admin)]#head -c 1024 /dev/urandom > data2.file ; swift upload c1 data2.file[(keystone_admin)]#head -c 1024 /dev/urandom > data3.file ; swift upload c1 data3.file - List the objects stored in the Object Storage service cluster:
[(keystone_admin)]#swift list[(keystone_admin)]#swift list c1data1.file data2.file data3.file

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.