d49150f21f
* specify version 3.0 for authentication * use correct URLs for sample configuration files * update/add output of commands * add modules to improve functionality * update keystone middleware to use identity v3 api Partially implements bp installguide-kilo Co-Authored-By: Matt Kassawara <mkassawara@gmail.com> Change-Id: I185b3110260ca2fb1d42a3612ac6c074f63fd4cc
58 lines
2.3 KiB
XML
58 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="swift-verify">
|
|
<title>Verify operation</title>
|
|
<para>This section describes how to verify operation of the Object
|
|
Storage service.</para>
|
|
<procedure>
|
|
<note>
|
|
<para>The <literal>swift</literal> client requires the
|
|
<literal>-V 3</literal> parameter to use the Identity version 3
|
|
API.</para>
|
|
</note>
|
|
<note>
|
|
<para>Perform these steps on the controller node.</para>
|
|
</note>
|
|
<step>
|
|
<para>Source the <literal>demo</literal> credentials:</para>
|
|
<screen><prompt>$</prompt> <userinput>source demo-openrc.sh</userinput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Show the service status:</para>
|
|
<screen><prompt>$</prompt> <userinput>swift -V 3 stat</userinput>
|
|
<computeroutput>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</computeroutput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Upload a test file:</para>
|
|
<screen><prompt>$</prompt> <userinput>swift -V 3 upload demo-container1 <replaceable>FILE</replaceable></userinput>
|
|
<computeroutput><replaceable>FILE</replaceable></computeroutput></screen>
|
|
<para>Replace <replaceable>FILE</replaceable> with the name of a local
|
|
file to upload to the <literal>demo-container1</literal>
|
|
container.</para>
|
|
</step>
|
|
<step>
|
|
<para>List containers:</para>
|
|
<screen><prompt>$</prompt> <userinput>swift -V 3 list</userinput>
|
|
<computeroutput>demo-container1</computeroutput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Download a test file:</para>
|
|
<screen><prompt>$</prompt> <userinput>swift -V 3 download demo-container1 <replaceable>FILE</replaceable></userinput>
|
|
<computeroutput><replaceable>FILE</replaceable> [auth 0.295s, headers 0.339s, total 0.339s, 0.005 MB/s]</computeroutput></screen>
|
|
<para>Replace <replaceable>FILE</replaceable> with the name of the
|
|
file uploaded to the <literal>demo-container1</literal>
|
|
container.</para>
|
|
</step>
|
|
</procedure>
|
|
</section>
|